/
style.css
176 lines (145 loc) · 2.6 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
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
170
171
172
173
174
175
176
article, aside, figure, footer, header, hgroup, menu, nav, section {
/* Fix HTML5 elements in older browsers */
display:block;
}
html, body {
margin: 0;
padding: 0;
}
body {
background: #fff;
color: #111;
/* 18px/27px with the default of 16px */
font: 1.125em/1.5 Palatino, Georgia, serif;
}
header, h2, header p, footer p {
text-align: center;
}
h1 {
background: {% set bg_h1 = '#123A40' %}{{ bg_h1 }};
color: #fff;
margin: 0;
padding: .2em;
text-shadow: #000 2px 2px 5px;
font-weight: normal;
letter-spacing: .05em;
}
/* `h1 a:hover` to override `a:hover` */
h1 a, h1 a:hover, h1 a:focus, h1 a:active, nav a {
color: #fff;
background: none;
text-decoration: none;
}
nav {
background: {% set bg_nav = '#195159' %}{{ bg_nav }};
color: #fff;
padding: 1em;
text-shadow: #000 1px 1px 3px;
}
nav ul {
margin: 0;
list-style: none;
}
nav li {
display: inline;
margin: 0 .3em;
}
nav a {
padding: .2em .5em;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
nav a:hover, nav a:focus, nav a:active {
background: {{ bg_h1 }};
}
nav img {
vertical-align: middle;
margin: 0 0 3px .3em;
}
#content, footer {
max-width: 740px;
margin: 0 auto;
padding: 0 25px;
}
* html #content, * html footer {
/* IE6 does not support max-width */
width: 740px;
}
footer {
font-size: .8em;
padding: 0 15px;
margin: 2em auto 1em;
}
footer p:first-child {
border-top: 1px dotted;
}
footer p {
margin: 0;
padding: .5em 0 0;
}
header p, time {
font-style: italic;
}
img {
border: none;
}
a {
color: #006;
}
a:hover, a:focus, a:active {
background: #f2f2f2;
}
code {
background: #eee;
}
hr {
border: none;
margin: 0;
height: auto;
}
hr:before {
display: block;
text-align: center;
font: 2em/1 serif;
color: black;
content: '\21AC';
}
.single_image {
text-align: center;
}
.single_image img {
-moz-box-shadow: 5px 5px 5px #555;
-webkit-box-shadow: 5px 5px 5px #000;
box-shadow: 5px 5px 5px #888;
}
.article_list h3 {
margin-bottom: 0;
}
.article_list p {
margin: .5em 0;
}
#tag_list {
list-style: none;
margin: 1em 0;
padding: 0;
text-align: center;
}
#tag_list li {
display: inline;
padding: 0;
margin: 0 .5em;
}
{{ pygments_css }}
.codehilite, blockquote {
background-color: #eee;
margin: 0 -20px;
padding: 5px 20px 5px 15px;
border-left: 5px solid #888;
}
.codehilite {
line-height: normal;
}
.codehilite pre {
white-space: pre-wrap;
}