summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/anki_reworked/files/Overview.css
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-09-01 07:46:56 +0300
committerThanosApollo <[email protected]>2022-09-01 07:46:56 +0300
commit95853bb603efacc9890f2b86bd28b0377e448ee5 (patch)
treeb787556e8f94151d67cce064af5614978eec3888 /.local/share/Anki2/addons21/anki_reworked/files/Overview.css
parent0c89df9be987008e55c1b336489c41290653434b (diff)
Re-add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/anki_reworked/files/Overview.css')
-rw-r--r--.local/share/Anki2/addons21/anki_reworked/files/Overview.css59
1 files changed, 59 insertions, 0 deletions
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);
+}