-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMathCloze.css
More file actions
115 lines (98 loc) · 1.73 KB
/
Copy pathMathCloze.css
File metadata and controls
115 lines (98 loc) · 1.73 KB
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
body {
font-family: serif;
line-height: 1.5;
margin: 2em;
background: #fafafa;
}
.note {
border: 1px solid #ddd;
border-radius: 10px;
padding: 1em 1.5em;
background: white;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
max-width: 600px;
margin-left:auto;
margin-right:auto;
}
.uuid {
font-family: monospace;
color: gray;
font-size: 0.9em;
margin-bottom: 0.5em;
}
.field {
margin-top: 1em;
}
/* Field 0 (Title) */
.field.title {
font-weight: bold;
font-size: 1.2em;
margin-top: 1.5em;
}
/* Field 1 (Prompt) */
.field.prompt {
font-weight: normal;
}
/* Field 2 (Background info) */
.field.background::before {
content: "Background info: ";
font-style: italic;
}
.field.background{margin-bottom:1em;}
/* Field 3 (Chapter name) */
.field.chapter {
color: gray;
display:inline;
text-align: right;
}
/* Field 4 (Def/Satz/Bsp) */
.field.def::before {
color: gray;
display:inline;
content: " – ";
}
.field.def {
color: gray;
display:inline;
}
/* Field 5 (Number) */
.field.number {
display:inline;
color: gray;
margin-left:0.5ex;
}
.cloze1 {color:blue;}
.cloze2 {color:green;}
.cloze3 {color:orange;}
.cloze4 {color:purple;}
.cloze5 {color:red;}
.hint {color:gray;}
.syntax {color:gray;font-size:smaller;}
/* from Anki template 'MathCloze': */
div.centered {
display:flex;
flex-direction:column;
flex-wrap:wrap;
align-items:center;
justify-content:space-around;
min-width:100%;
margin:0 auto
}
.tabular {
border-collapse:collapse;
width:auto
}
.tabular td, .tabular th {
vertical-align:baseline;
text-align:left;
padding:.3em .6em;
empty-cells:show
}
td p:first-child, th p:first-child {
margin-top:0;
margin-bottom:0
}
td p,th p {
margin-top:1em;
margin-bottom:0
}