-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
134 lines (114 loc) · 1.93 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
129
130
131
132
133
134
.logo {
width: 160px;
height: 160px;
background: #e81633 url("assets/logo.png");
background-size: 160px 160px;
display: block;
border: 0;
}
.logo:hover {
padding: 0;
margin: 0;
background: #000 url("assets/logo.png");
background-size: 160px 160px;
filter: grayscale(100%) contrast(180%);
}
.date {
margin-bottom: 30px;
margin-top: -8px;
display: inline-block;
}
.updated {
display:inline-block;
font-style: italic;
}
.updated:before { content: " ("; }
.updated:after { content: ")"; }
.posts .post_title:before {
content: "- ";
}
html {
overflow-y:scroll;
}
body {
margin: 60px auto;
margin-bottom: 160px;
max-width:750px;
line-height:1.62;
font-family: 'Inconsolata', monospace;
background: #fff;
color:#000;
padding:0 30px;
}
hr {
border-top: 1px solid #000;
}
pre {
font-family: 'Inconsolata', monospace;
font-weight: bold;
padding: 2ch 2ch;
/*
border-left: 1px solid #000;
background: #000;
color: #fff;
padding: 24px;
*/
}
code {
font-family: 'Inconsolata', monospace;
font-weight: bold;
}
h1,h2,h3 {
line-height:1.2;
padding-top: 18px;
margin-bottom: 10px;
font-weight: normal;
}
a {
color: #000;
text-decoration: none;
border-bottom: 1px solid #000;
}
a:hover {
padding: 4px;
margin: -4px;
color: #fff;
background: #000;
text-decoration: none;
}
ul {
list-style: none;
margin: 0;
padding-left: 19px;
}
ul li:before {
content: "- ";
margin-left: -2ch;
width: 2ch;
display: inline-block;
}
img {
margin: 0 auto;
display: block;
max-width: 100%;
height: auto;
}
.sections {
counter-reset: ol-counter;
list-style: none;
margin: 0;
padding: 0;
}
.section_item:before {
counter-increment: ol-counter;
content: "0" counter(ol-counter) ". ";
}
body::-webkit-scrollbar {
width: 1em;
}
body::-webkit-scrollbar-thumb {
border-right: 8px solid #ccc;
}
body::-webkit-scrollbar-thumb:hover {
border-right: 8px solid #aaa;
}