-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·192 lines (166 loc) · 3.62 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
/**
Theme Name: Naked
Theme URI: http://code.google.com/p/wordpress-naked/
Version: 1.2
Author: Siftware
Author URI: http://www.siftware.co.uk
Tags: simple, clean, fixed width, widget-ready, widgets, right sidebar, two columns, valid XHTML, valid CSS, blank-slate
Licence: LGPL
Description: A theme created with developers in mind which should enable rapid WP reskinning. The CSS is minimal but consistent cross-browser, there are a couple of SEO tweaks and the page navigation works sensibly but can modified easily.
The CSS that follows is the bare minimum of styling for a two column, fixed width and centred layout that should be
consistent in 'modern browsers'
*/
html {
overflow-y: scroll;
}
body { }
#canvas {
width: 768px;
margin: 0 auto;
}
#header {
margin: 0 0 10px 0;
}
/** the heading and tagline are h1 on homepage and h4 on internal */
#header h1,
#header h4 {
font-size: 30px;
margin: 0;
padding: 10px 0 10px 0;
}
/** the tagline is a span within the h1 or h4 */
#header h1 span,
#header h4 span { }
/**
Nav and Subnav
Split these out if you want the two levels to look different
*/
#nav,
#subNav {
list-style: none;
padding: 0;
margin: 0;
}
#subNav {
margin-top: 10px;
}
#nav li,
#subNav li {
display: inline;
padding: 0 10px 0 0;
}
/* Currently selected page nav item (and parent) if applicable */
.current_page_item a,
.current_page_parent a {
text-decoration: none;
}
.current_page_item a:hover,
.current_page_parent a:hover {
text-decoration: underline;
}
/** main content */
#primaryContent {
width: 540px;
float: left;
padding: 0 20px 0 0;
margin: 0;
}
#primaryContent h1 {
padding: 0;
margin: 10px 0 0 0;
}
#primaryContent h2 {
padding: 0;
margin: 10px 0 0 0;
}
/* titles are h2 on homepage and h1 for internal */
#primaryContent h1.postTitle,
#primaryContent h2.postTitle {
font-size: 22px;
}
#primaryContent h3 {
padding: 0;
margin: 10px 0 0 0;
}
ol#posts {
list-style: none;
margin: 0;
padding: 0;
}
li.postWrapper,
div.postWrapper { }
.postWrapper img { }
div.post { }
p.postMeta { }
#pagination {
list-style: none;
margin: 0px;
padding: 0px;
}
#pagination li {
display: inlne;
}
#pagination .previous {
text-align: left;
float: left;
}
#pagination .future {
text-align: right;
float: right;
}
/** sidebar */
#secondaryContent {
width: 200px;
float: left;
}
#secondaryContent h3 {
padding: 0;
margin: 10px 0 0 0;
}
/**
Remove bullets from the first level sidebar UL and give each item some bottom margin.
IE 6 doesn't like the selectors, I can live with that but if you can't then
you'll need to extend this further.
*/
#secondaryContent > ul {
list-style: none;
margin: 0;
padding: 0;
}
#secondaryContent > ul > li {
margin: 0 0 10px 0;
}
/** the HTML is a bit dodgy for the tag cloud, need to add some padding
between the title and the first href */
.widget_tag_cloud a {
padding-left: 5px;
}
#comment {
width: 500px;
}
#footer {
clear: both;
font-size: 80%;
}
/** normally hidden but will appear when css disabled */
.skip,
.noCss {
position: absolute;
left: -9999px;
}
/**
theme requirements as per
http://codex.wordpress.org/CSS
*/
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}