-
Notifications
You must be signed in to change notification settings - Fork 0
/
temp.css
130 lines (92 loc) · 2.58 KB
/
temp.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
front:
<div class = "related" id = "header" style = "padding-bottom: 0px;"> </div>
<div class = "answer" style = "padding-top: 0px;" > {{Front}} {{tts en_US speed=1.5:Front}} </div>
<span id="s1">{{Tags}}</span>
<hr id=answer>
<script>
var content = document.getElementById("s1").innerHTML;
var res = content.replace(/::/g, " - ")
document.getElementById("header").innerHTML = res;
</script>
back:
<span id="s1">{{Tags}}</span>
<script>
var content = document.getElementById("s1").innerHTML;
var res = content.replace(/::/g, " - ")
document.getElementById("header").innerHTML = res;
</script>
<div class = "related" id = "header"> </div>
<div class = "answer"> {{Front}} </div>
<hr id=answer>
<div class = "back"> {{Back}} {{tts en_US speed=1.5:Back}} </div>
<div class = "extras" id = 'extra'> {{Extras}} </div>
style:
#s1{
display: none;
}
.card {
width: 50%;
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;
font-size: 20px;
padding-top: 200px;
text-align: left;
margin: auto;
}
.mobile .card{
padding-top: 50px;
}
.related{
font-size: 18px;
font-weight: bold;
padding-bottom: 4px;
text-transform: uppercase;
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;
}
.night_mode #header {
color: #B1BEC2;
}
#header{
color: #888484;
}
.card .mobile.night_mode {
color: #B1BEC2;
}
.extras {
font-size: 13px;
padding-top: 10px;
line-height: 2;
font-family :ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;
}
.mac #extra {
color: #FBE6CF;
}
.win #extra {
color: #FBE6CF;
font-size: 18px;
}
.answer{
font-size: 50px;
text-transform: capitalize;
color: lightblue;
padding-top: 5px;
font-weight: bold;
}
.back {
text-transform: capitalize;
padding-top: 3px;
font-size: 25px;
font-weight: bold;
color: #403c3c;
}
.night_mode .back{
color: white;
}
.mobile .answer {
font-size: 25px;
}
.mobile .back {
font-size: 15px;
}
/*Start of style added by resize image add-on. Don't edit directly or the edition will be lost. Edit via the add-on configuration */
.mobile .card img {height:unset !important; width:unset !important;}
/*End of style added by resize image add-on*/d