-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtimple.css
More file actions
170 lines (146 loc) · 3.42 KB
/
timple.css
File metadata and controls
170 lines (146 loc) · 3.42 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
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
/*
Theme Name: Timple
Theme URI: https://github.com/sib9/Common-CSS
Author: Tanky Woo<me@tankywoo.com>
Author URI: http://www.wutianqi.com/
Description: A simple theme for code blog.
Version: 0.1
License: The MIT License (MIT)
Tags: simple, single-columns, code, codehighlight, white, markdown
*/
/* Global Configuration */
/* IE6 ignores this and uses default size of 16pt */
html>body { font-size: 14px; }
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
font-family: "Helvetica Neue", "Segoe UI", Arial, Sans-Serif;
line-height: 1.5em;
background-color: whitesmoke;
}
a { color: #0645ad; text-decoration: none; }
a:visited { color: #0b0080; }
a:hover { color: #06e; text-decoration: underline; }
a:active { color: #faa700; }
p { margin: 0 0 1.5em 0; text-align: justify; }
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
color: #111;
line-height: 1em;
}
h1 { font-size: 2.0em; }
h2 { font-size: 1.6em; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.8em; }
blockquote {
color: #666;
margin: 0;
padding-left: 3em;
border-left: 0.4em #eee solid;
}
hr {
border: 1px solid silver;
margin: 1em 0;
padding: 0;
}
b, strong { font-weight: bold; }
ul, ol {
margin: 1.5em 0;
padding-left: 1.5em;
line-height: 1.5em;
}
ul li { list-style-type: square; }
img {
border: 0;
vertical-align: middle;
margin: 0 auto;
box-shadow: 2px 2px 6px #ccc;
-webkit-box-shadow: 2px 2px 6px #ccc;
-moz-box-shadow: 2px 2px 6px #ccc;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td { vertical-align: top; }
/* Optimization for pre and code tag */
pre, code {
font-family: Consolas, "Courier New", monospace, serif;
font-size: 12px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
overflow: auto;
}
code {
color: #666;
background-color: #eee;
margin: 2px;
padding: 0 3px;
}
pre {
background-color: #f8f8f8;
border: 1px solid #eee;
padding: 8px 12px;
white-space: pre;
white-space: -moz-pre-wrap; /* Firefox */
white-space: -pre-wrap; /* ancient Opera */
white-space: -o-pre-wrap; /* newer Opera */
white-space: pre-wrap; /* Chrome; W3C standard */
word-wrap: break-word; /* IE */
}
pre code {
border: 0px !important;
padding: 0;
color: #000;
background-color: #f8f8f8;
}
/* Custom Configuration */
#container {
background: white;
width: 50em;
line-height: 1.5em;
margin: 1.5em auto 3em auto;
padding: 1.5em 2em;
border: 1px solid #ccc;
box-shadow: 2px 2px 8px #aaa;
-webkit-box-shadow: 2px 2px 8px #aaa;
-moz-box-shadow: 2px 2px 8px #aaa;
}
/* Hackers */
/* Hacker for codehilite */
table.codehilitetable {
border-collapse: separate;
border: 1px solid #eee;
margin: 14px 0;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.codehilitetable pre {
margin: 0;
border: 0 none;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
}
.codehilitetable td {
border: 0 none;
padding: 0;
margin: 0;
}
/* Clear the float problem */
.clearfix:after {
visibility: hidden;
clear: both;
font-size: 0;
content: ".";
display: block;
height: 0;
}