forked from st3v3nmw/obsidian-spaced-repetition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
94 lines (80 loc) · 1.46 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
.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-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%;
}
@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;
}
}