forked from ronv/lines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
163 lines (133 loc) · 2.28 KB
/
styles.scss
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
*,:after,:before {
box-sizing:border-box;
/*margin:0;*/
padding:0;
}
body {
font: 1rem/1.5 -apple-system,BlinkMacSystemFont,"avenir next",avenir,helvetica,"helvetica neue",ubuntu,roboto,noto,"segoe ui",arial,sans-serif;
text-rendering: optimizeSpeed;
}
.posts hr {
margin-top: 0;
margin-bottom: 0;
margin-right: .5rem;
margin-left: .5rem;
height: 1px;
border: none;
border-bottom: 1px #353535;
flex: 1 0 1rem;
opacity: .25;
}
main {
max-width: 70ch;
padding: 2ch;
margin: auto;
}
a, body {
color: #353535;
}
::selection, a:focus, a:hover {
background-color: #353535;
color: #fff;
}
.meta {
margin: 0 0 1rem;
}
.tags::before {
content: "\2022";
margin-left: 1rem;
}
code,pre {
color: #353535;
font-family: San Francisco Mono,Monaco,"Consolas","Lucida Console","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
font-size: normal;
border: 1px solid #353535;
font-size: small;
}
code {
padding: .1rem;
border: none;
}
pre {
padding: .5rem;
overflow-x: auto;
}
pre code {
border: none;
}
img {
max-width:100%;
border: 1px solid #353535;
}
hr {
background: #353535;
height: 1px;
border: 0;
}
ul {
list-style-type: square;
}
ul, ol {
padding-left: 1.2rem;
}
header li, footer li {
display: inline;
text-transform: uppercase;
}
header a, footer a {
text-decoration: none;
}
header ul, footer ul {
justify-content: space-between;
display: flex;
}
[aria-current="page"] {
//font-weight: bold;
text-decoration: line-through;
}
header,section, footer {
padding:1rem 0;
}
blockquote {
border-left: 5px solid #353535;
padding-left: 1rem;
}
.posts ul,header ul, footer ul {
list-style:none;
}
.posts, header ul, footer ul {
padding: 0;
}
.posts li {
align-items:center;
display:flex;
justify-content:space-between;
margin-bottom: .7rem;
}
.posts li a, .posts li div {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-decoration: none;
}
.posts li time {
padding-left: 1rem;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.hash {
opacity: .25;
text-decoration: none;
}
table {
border-collapse: collapse;
text-align: left;
width: 100%;
}
table tr {
background: white;
border-bottom: 1px solid
}
table th, table td {
padding: 10px 20px;
}