From 4ddb7273098bee179bb77e0937e560fc0100960c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 4 Aug 2022 09:50:48 +0300 Subject: Add anki addons --- .../addons21/anki_reworked/files/Overview.css | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .local/share/Anki2/addons21/anki_reworked/files/Overview.css (limited to '.local/share/Anki2/addons21/anki_reworked/files/Overview.css') diff --git a/.local/share/Anki2/addons21/anki_reworked/files/Overview.css b/.local/share/Anki2/addons21/anki_reworked/files/Overview.css new file mode 100644 index 0000000..7c7571a --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/Overview.css @@ -0,0 +1,59 @@ +body .descmid { + text-align: center; +} +center > table tr:first-of-type { + display: flex; + flex-direction: column; +} +td table { + width: 50%; +} +td table tr:first-of-type { + display: table-row; + flex-direction: unset; +} +td table tr td:last-of-type { + text-align: right; +} +button#study.but, +button#main.but { + padding: 10px 27px; + box-sizing: border-box; + width: 100%; + margin-bottom: 20px; + + color: var(--text-fg, var(--legacy-text-fg)); + border: none; + border-radius: 15px; + margin: 0 5px; + cursor: pointer; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + min-width: 64px; + background: initial; + background-color: var(--frame-bg, var(--legacy-frame-bg)); + transition: background 0.2s linear, color 0.3s ease-out; + box-shadow: rgb(0 0 0 / 20%) 0px 3px 7px -2px, + rgb(0 0 0 / 5%) 0px 5px 10px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px; +} +body.nightMode button#study.but:hover, +body.nightMode button#main.but:hover { + background-color: rgba(255, 255, 255, 0.1); +} +button#study.but:focus, +button#main.but:focus { + background-color: var(--primary-color) !important; + color: var(--frame-bg, var(--legacy-frame-bg)); + outline: none; +} +body.nightMode button#study.but:focus, +body.nightMode button#main.but:focus { + color: var(--text-fg); +} +button#study.but:hover, +button#main.but:hover { + background-color: rgba(0, 0, 0, 0.05); +} -- cgit v1.2.3