-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
40 lines (36 loc) · 668 Bytes
/
style.css
File metadata and controls
40 lines (36 loc) · 668 Bytes
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
/* replicate the look of the GitHub web interface */
.markdown-body
{
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px)
{
.markdown-body
{
padding: 15px;
}
}
/* set the body background color to the same background color as .markdown-body,
as specified by github-markdown.css */
@media (prefers-color-scheme: light)
{
body
{
--color-canvas-default: #ffffff;
}
}
@media (prefers-color-scheme: dark)
{
body
{
--color-canvas-default: #0d1117;
}
}
body
{
background-color: var(--color-canvas-default, #ffffff);
}