-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
169 lines (137 loc) · 2.14 KB
/
styles.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
/**
* Publish Foundation theme
* Copyright (c) John Sundell 2019
* MIT license, see LICENSE file for details
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #fff;
color: #000;
font-family: Helvetica, Arial;
text-align: center;
}
.wrapper {
max-width: 900px;
margin-left: auto;
margin-right: auto;
padding: 40px;
text-align: left;
}
header {
background-color: #eee;
}
header .wrapper {
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
}
header a {
text-decoration: none;
}
header .site-name {
font-size: 1.5em;
color: #000;
font-weight: bold;
}
nav {
margin-top: 20px;
}
nav li {
display: inline-block;
margin: 0 7px;
line-height: 1.5em;
}
nav li a.selected {
text-decoration: underline;
}
h1 {
margin-bottom: 20px;
font-size: 2em;
}
h2 {
margin: 20px 0;
}
p {
margin-bottom: 10px;
}
a {
color: inherit;
}
.description {
margin-bottom: 40px;
}
.item-list > li {
display: block;
padding: 20px;
border-radius: 20px;
background-color: #eee;
margin-bottom: 20px;
}
.item-list > li:last-child {
margin-bottom: 0;
}
.item-list h1 {
margin-bottom: 15px;
font-size: 1.3em;
}
.item-list p {
margin-bottom: 0;
}
.tag-list {
margin-bottom: 15px;
}
.tag-list li,
.tag {
display: inline-block;
background-color: #000;
color: #ddd;
padding: 4px 6px;
border-radius: 5px;
margin-right: 5px;
}
.tag-list a,
.tag a {
text-decoration: none;
}
.item-page .tag-list {
display: inline-block;
}
.content {
margin-bottom: 40px;
}
.browse-all {
display: block;
margin-bottom: 30px;
}
.all-tags li {
font-size: 1.4em;
margin-right: 10px;
padding: 6px 10px;
}
footer {
color: #8a8a8a;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
body,
header .site-name {
color: #ddd;
}
.item-list > li {
background-color: #333;
}
header {
background-color: #000;
}
}
@media(max-width: 600px) {
.wrapper {
padding: 40px 20px;
}
}