-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathstyle.css
128 lines (109 loc) · 1.67 KB
/
style.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
/*
* Common styles for flow-view documentation and demos.
*/
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
box-sizing: border-box;
min-height: 100vh;
margin: 0;
padding: 0;
color: #1c1c1c;
background: #eee;
font-family: Verdana, sans-serif;
font-size: 18px;
display: flex;
flex-direction: column;
}
@media (prefers-color-scheme: dark) {
body {
background: #40464a;
color: #cbd0c7;
}
}
main {
padding: 1em;
flex-grow: 1;
max-width: 80ch;
}
main,
footer {
padding-left: min(max(0.17em, 7vw), 10em);
}
h1 {
font-size: 3em;
font-family: Georgia, serif;
}
blockquote {
font-size: 1.2em;
margin: 2rem;
font-family: Georgia, serif;
}
blockquote::before {
content: open-quote;
font-size: 1.7em;
}
ul {
padding-left: 2em;
padding-right: 1em;
margin-top: 2em;
margin-bottom: 2em;
list-style-type: circle;
line-height: 1.4em;
word-break: break-word;
}
section {
margin-top: 2em;
}
footer {
margin-top: 2em;
margin-bottom: 1em;
}
a:visited,
a:active,
a:link,
a:hover,
a:focus {
color: #d66c37;
text-decoration: none;
}
button {
padding: 0.5em 0.7em;
text-transform: uppercase;
border-radius: 0.4em;
border-color: #ccc;
background-color: transparent;
color: inherit;
}
.container {
max-width: 800px;
height: 500px;
}
.container--small {
max-width: 400px;
height: 250px;
}
.controls {
margin-top: 1em;
}
code {
padding: 2px 4px;
border-radius: $border-radius;
font-family: monospace;
word-break: break-all;
}
code::selection {
background-color: rgba(0, 240, 0, 0.2);
color: lightgreen;
}
pre {
background: #222;
padding: 0.5em;
overflow-x: auto;
}
pre code {
color: #ddd;
}