summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.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/Background_and_gear/web/css/reviewer.css
parente83759ae9d0513024e390810ddcb18ffdd84675e (diff)
Add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.css')
-rw-r--r--.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.css106
1 files changed, 106 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.css b/.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.css
new file mode 100644
index 0000000..b165d06
--- /dev/null
+++ b/.local/share/Anki2/addons21/Background_and_gear/web/css/reviewer.css
@@ -0,0 +1,106 @@
+/* Copyright: Ankitects Pty Ltd and contributors
+ * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
+hr {
+ background-color: #ccc;
+}
+
+body {
+ margin: 20px;
+ overflow-wrap: break-word;
+}
+
+body.nightMode {
+ background-color: var(--window-bg);
+ color: var(--text-fg);
+}
+
+img {
+ max-width: 95%;
+ max-height: 95vh;
+}
+
+#_flag {
+ position: fixed;
+ right: 10px;
+ top: 0;
+ font-size: 30px;
+ -webkit-text-stroke-width: 1px;
+ -webkit-text-stroke-color: black;
+}
+
+#_mark {
+ position: fixed;
+ left: 10px;
+ top: 0;
+ font-size: 30px;
+ color:#ff0;
+ -webkit-text-stroke-width: 1px;
+ -webkit-text-stroke-color: black;
+}
+
+#typeans {
+ width: 100%;
+ box-sizing: border-box;
+}
+
+.typeGood {
+ background: #0f0;
+}
+
+.typeBad {
+ background: #f00;
+}
+
+.typeMissed {
+ background: #ccc;
+}
+
+.replay-button {
+ text-decoration: none;
+ display: inline-flex;
+ vertical-align: middle;
+ margin: 3px;
+}
+.replay-button svg {
+ width: 40px;
+ height: 40px;
+}
+.replay-button svg circle {
+ fill: #fff;
+ stroke: #414141;
+}
+.replay-button svg path {
+ fill: #414141;
+}
+
+.nightMode .latex {
+ filter: invert(100%);
+}
+
+.drawing {
+ zoom: 50%;
+}
+
+.nightMode img.drawing {
+ filter: invert(1) hue-rotate(180deg);
+}
+body::before {
+
+ background-image: url("/_addons/Background_and_gear/user_files/background/1721729412.jpg");
+ background-size: cover;
+ background-attachment: fixed!important;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-color: !important;
+ opacity: 0.36;
+ content: "";
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ position: fixed;
+ z-index: -99;
+ will-change: transform;
+ transform: scale(1);
+
+} \ No newline at end of file