-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathlight.css
More file actions
204 lines (172 loc) · 4.88 KB
/
light.css
File metadata and controls
204 lines (172 loc) · 4.88 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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* Copyright (C) 2025 Bryan A. Jones.
This file is part of the CodeChat Editor.
The CodeChat Editor is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
The CodeChat Editor is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
the CodeChat Editor. If not, see
[http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
`light.css` -- Styles for the light theme
=============================================================================
Use
[CSS nesting](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting)
to make everything in this style sheet apply only to the light theme. */
body.CodeChat-theme-light {
/* Style code blocks so that they are clearly separated from doc blocks. Per
the
[docs](https://codemirror.net/examples/styling/#things-you-can-style),
use transparency to avoid hiding things behind the text (such as the
selection). */
.cm-line {
background-color: #eee7;
}
.cm-activeLine {
background-color: #ccc7;
}
/* The settings below are copied from the Sphinx Alabaster theme. */
color: #000;
/* The default of transparent makes VS Code's black show up and confuse
everything. For now, make it white. */
background-color: #fff;
/* Styles for doc blocks. */
div.CodeChat-doc-contents {
/* CodeMirror draws its own caret, hiding the actual caret. Disable this
inside embedded TinyMCE blocks, which use the native caret. */
caret-color: black;
font-family: Georgia, serif;
font-size: 15px;
color: #3e4349;
hr {
border: 1px solid #b1b4b6;
}
img {
max-width: 100%;
}
a {
color: #004b6b;
text-decoration: underline;
}
a:hover {
color: #6d4100;
text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Georgia, serif;
font-weight: normal;
margin: 30px 0px 10px 0px;
padding: 0;
}
h1 {
margin-top: 0;
padding-top: 0;
font-size: 240%;
}
h2 {
font-size: 180%;
}
h3 {
font-size: 150%;
}
h4 {
font-size: 130%;
}
h5 {
font-size: 100%;
}
h6 {
font-size: 100%;
}
pre,
tt,
code {
font-family:
"Consolas", "Menlo", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", monospace;
font-size: 0.9em;
}
ul,
ol {
/* Matches the 30px from the narrow-screen "li > ul" selector below */
margin: 10px 0 10px 30px;
padding: 0;
}
pre {
background: #eee;
padding: 7px 30px;
margin: 15px 0px;
line-height: 1.3em;
}
tt,
code {
background-color: #ecf0f3;
color: #222;
/* padding: 1px 2px; */
}
}
/* Styles for the table of contents. */
div.CodeChat-TOC {
font-family: Georgia, serif;
font-size: 15px;
color: #3e4349;
/* Make lists more compact. */
ol {
/* Provide approximately enough space for two digits. */
padding-inline-start: 1.5rem;
}
a {
color: #444;
text-decoration: none;
border-bottom: 1px dotted #999;
}
a:hover {
border-bottom: 1px solid #999;
}
h3,
h4 {
font-family: Georgia, serif;
color: #444;
font-size: 24px;
font-weight: normal;
margin: 0 0 5px 0;
padding: 0;
}
h4 {
font-size: 20px;
}
h3 a {
color: #444;
}
h3 a,
a:hover {
border: none;
}
p {
color: #555;
margin: 10px 0;
}
ul {
margin: 10px 0;
padding-inline-start: 1rem;
color: #000;
}
hr {
border: none;
height: 1px;
color: #aaa;
background: #aaa;
text-align: left;
margin-left: 0;
width: 50%;
}
}
}