diff options
Diffstat (limited to '.local/share')
-rw-r--r-- | .local/share/Anki2/addons21/308574457/user_files/Editor.css | 20 | ||||
-rwxr-xr-x | .local/share/mode/switch.d/anki | 5 |
2 files changed, 19 insertions, 6 deletions
diff --git a/.local/share/Anki2/addons21/308574457/user_files/Editor.css b/.local/share/Anki2/addons21/308574457/user_files/Editor.css index 6e5af0b..c826858 100644 --- a/.local/share/Anki2/addons21/308574457/user_files/Editor.css +++ b/.local/share/Anki2/addons21/308574457/user_files/Editor.css @@ -1,2 +1,20 @@ -body { background-color: var(--canvas); } +body +{ background-color: var(--canvas); } + +.rich-text-input, +.tag-editor +{ padding: 0.5ex !important; } + +body +{ font-size: 10pt !important; } + +anki-editable { background-color: #ff00ff; } + +.editor-field +{ border-color: var(--canvas-inset) !important; } + +.tag-editor { + border: none !important; + margin: 0 !important; +} diff --git a/.local/share/mode/switch.d/anki b/.local/share/mode/switch.d/anki index 2cc1926..f1a20a4 100755 --- a/.local/share/mode/switch.d/anki +++ b/.local/share/mode/switch.d/anki @@ -8,11 +8,6 @@ ANKI_REDESIGN="$XDG_DATA_HOME/Anki2/addons21/308574457" # ensure folders exist mkdir -p "$ANKI_REDESIGN/user_files/themes" -# disable layout themeing -( cd "$ANKI_REDESIGN/user_files" - touch BottomBar.css CardLayout.css DeckBrowser.css Editor.css Overview.css \ - Reviewer.css ReviewerBottomBar.css TopToolbar.css global.css legacy.css ) - # ensure theme is set to mode CONFIG="$ANKI_REDESIGN/config.json" [ -e "$CONFIG" ] && jq '.theme = "mode"' "$CONFIG" | sponge "$CONFIG" |