forked from penge/my-notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.css
173 lines (136 loc) · 2.75 KB
/
options.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
body {
padding: 2em;
font-family: Helvetica, Calibri, Arial, sans-serif;
font-size: 150%;
}
/* Generic styles */
h2 { padding-top: 50px; }
h3 { padding-top: 20px; }
label, li { padding: 0 8px; line-height: 1.5em; }
input, select {
font-family: inherit;
font-size: inherit;
}
.separator { padding: 0 12px; }
.bold { font-weight: bold; }
.space-left { margin-left: 1em; }
/* Radio or Checkbox selection */
.selection { padding: 10px 0; }
.comment {
font-size: 90%;
font-weight: normal;
}
/* Font type */
#current-font-name {
padding: 0 8px;
font-weight: bold;
}
.font-category { cursor: pointer; }
.font-category.active { text-decoration: underline; }
#submit { opacity: .3; }
#submit.active { opacity: 1; cursor: pointer; }
.font-area .selection {
font-size: 80%;
}
#google-fonts-area {
display: flex;
flex-direction: column;
}
#google-fonts-area ol { margin-top: 0; }
#google-fonts-area ol li { line-height: 2em; }
#google-fonts-area input {
max-width: 500px;
box-sizing: content-box;
outline: none;
border: 1px solid silver;
padding: 12px;
}
/* Font size */
.slidecontainer {
width: 100%;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 3px;
border-radius: 3px;
outline: none;
background: var(--slider-background-color);
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
border-radius: 50%;
cursor: pointer;
background: var(--slider-thumb-background-color);
width: var(--slider-thumb-size);
height: var(--slider-thumb-size);
}
/* With comment */
.selection.with-comment {
display: flex;
align-items: baseline;
}
.selection.with-comment .comment {
margin: 15px 35px 30px 35px;
padding: 20px;
border-radius: 6px;
line-height: 1.5em;
background: var(--comment-background-color);
color: var(--comment-text-color);
}
/* Theme labels */
.theme-label {
display: inline-block;
margin: 5px 0;
padding: 10px 8px;
border-radius: 3px;
}
#light-theme-label {
border: 1px solid white;
background: white;
color: #121212;
}
#dark-theme-label {
border: 1px solid #121212;
background: #121212;
color: white;
}
#custom-theme-label {
border: 1px solid #FF9800;
background: #FF9800;
color: white;
font-style: italic;
}
/* Hotkeys */
#hotkeys,
#hotkeys .hotkey {
display: none;
}
#hotkeys td {
vertical-align: baseline;
}
#hotkeys .description {
font-weight: bold;
padding-right: 2em;
}
body.os-mac #hotkeys,
body.os-other #hotkeys {
display: block;
}
body.os-mac #hotkeys .hotkey.os-mac,
body.os-other #hotkeys .hotkey.os-other {
display: inline-block;
}
/* Sync */
#sync-folder-location {
word-break: break-all;
}
/* Media Queries */
@media only screen and (max-width: 600px) {
.font-category {
display: block;
}
.separator {
display: none;
}
}