-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (119 loc) · 1.69 KB
/
Copy pathstyles.css
File metadata and controls
133 lines (119 loc) · 1.69 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
@media print {
body {
font-size: 12pt;
}
li,
.element-intro {
page-break-inside: avoid;
}
hr,
h2 {
page-break-after: avoid;
}
.no-print {
display: none;
}
hr {
border: 0.5px solid lightgrey;
}
h2 {
color: lightgray;
}
}
@media screen {
body {
font-size: 10pt;
}
.sheet {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 80%;
max-width: 600px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: rgb(34, 34, 34);
color: lightgray;
}
.sheet {
background-color: rgb(48, 48, 48);
}
hr {
border: 0.5px solid gray;
}
h2 {
color: gray;
}
img {
filter: brightness(0.8);
}
}
@media (prefers-color-scheme: light) {
body {
background-color: rgb(226, 226, 226);
color: rgb(34, 34, 34);
}
.sheet {
background-color: white;
}
hr {
border: 0.5px solid lightgray;
}
h2 {
color: gray;
}
}
}
body {
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
font-family: Georgia, serif;
padding-top: 20px;
padding-bottom: 20px;
}
.sheet {
padding: 20px;
padding-bottom: 50px;
}
img {
float: right;
width: max(15%, 100px);
margin-top: 0;
}
h1 {
margin-top: 0;
font-size: 1.4em;
}
h2 {
font-size: 1.2em;
margin-top: 30px;
margin-bottom: 5px;
}
h3 {
font-size: 1em;
margin-bottom: 0;
margin-top: 20px;
}
p {
margin: 0;
}
ul {
margin-top: 0.5rem;
}
li {
margin-bottom: 0.5rem;
}
a {
text-decoration: none;
color: inherit;
}
hr {
margin: 0;
margin-bottom: 10px;
}
.period {
font-style: italic;
margin-bottom: 0.5rem;
}