forked from st3v3nmw/obsidian-spaced-repetition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
103 lines (88 loc) · 1.66 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.sr-link {
color: var(--text-accent);
text-decoration: underline;
cursor: pointer;
margin-bottom: 16px;
display: inline-block;
}
.sr-response {
display: inline-grid;
width: 100%;
grid-template-columns: auto auto auto;
position: absolute;
bottom: 0;
}
.sr-ignorestats-response {
grid-template-columns: auto auto !important;
}
.sr-centered {
display: flex;
justify-content: center;
align-items: center;
}
.sr-deck-counts {
color: #ffffff;
margin-left: 4px;
}
#sr-show-answer {
height: 48px;
line-height: 48px;
width: 100%;
text-align: center;
position: absolute;
bottom: 0;
cursor: pointer;
background-color: #2196f3;
color: #ffffff;
border-radius: 4px;
}
#sr-hr-card-divide {
backdrop-filter: invert(40%);
border: none;
height: 2px;
}
#sr-hard-btn,
#sr-good-btn,
#sr-easy-btn {
height: 48px;
margin: auto;
color: #ffffff;
}
#sr-hard-btn {
background-color: #f44336;
}
#sr-good-btn {
background-color: #2196f3;
}
#sr-easy-btn {
background-color: #4caf50;
}
#sr-context {
font-style: italic;
font-weight: bold;
margin-top: 16px;
}
#sr-flashcard-view {
overflow-y: auto;
height: 80%;
}
.sr-ignorestats-btn {
/* Bit of a hack, but it works. */
margin: 0px !important;
margin-right: 12px !important;
}
@media only screen and (max-width: 600px) {
.sr-modal-content::-webkit-scrollbar,
#sr-flashcard-view::-webkit-scrollbar {
display: none;
}
.sr-response,
#sr-show-answer {
width: 95% !important;
}
#sr-hard-btn,
#sr-good-btn,
#sr-easy-btn {
width: 100px;
}
}