summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/anki_reworked/files/Overview.css
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2022-08-04 09:50:48 +0300
committerThanos Apollo <[email protected]>2022-08-04 09:50:48 +0300
commit4ddb7273098bee179bb77e0937e560fc0100960c (patch)
treecebc2f9412e45910408a7885ca78d7dedb77de78 /.local/share/Anki2/addons21/anki_reworked/files/Overview.css
parente83759ae9d0513024e390810ddcb18ffdd84675e (diff)
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);
+}