forked from banago/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·180 lines (136 loc) · 7.65 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
/*
Theme Name: Base
Theme URI: http://wplancer.com/theme/base/
Description: A basic HTML5 responsive WordPress theme built by <a href="http://www.wplancer.com/">WPlancer.Com</a>.
Author: Banago
Author URI: http://wplancer.com/
Version: 0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: base
*/
/* ------------- [ NORMALIZE ] -------------- */
* { margin: 0; padding: 0; background-repeat: no-repeat; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img, figure { border: 0; -ms-interpolation-mode: bicubic; }
table { border-collapse: collapse; border-spacing: 0; }
/* ------------- [ BODY ] -------------- */
body { background: #e2e2e2; }
body, input, textarea { color: #373737; font: 300 15px/1.625 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.wrap { margin: 2em auto; width: 940px; padding: 30px; border-top: 2px solid #bbb; background: #fff; }
/* ------------- [ FLOATS ] -------------- */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; }
.alignright { float: right; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 4px 0 0 12px; }
img.alignleft { margin-right: 4px 12px 0 0; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.sticky { }
.gallery-caption { }
.bypostauthor { }
/* Table Style - very handy for WP Calendar */
table { border: 1px solid #e5e5e5; width: 100% }
table a { font-weight: bold; font-size: 15px; }
table caption { font-variant: small-caps; font-size: 15px; }
tbody .pad { background: #eee; }
thead > tr > th { width: 20px; line-height: 28px; text-align: center; background: #eee; border: 1px solid #e5e5e5; }
tbody > tr > td { height: 20px; padding: 6px 7px; text-align: center; border: 1px dotted #e5e5e5; }
tfoot > tr > td#prev { width: 58px; height: 20px; text-align: left; background: #fff; padding-left: 5px; }
tfoot > tr > td#next { width: 58px; height: 20px; text-align: right; background: #fff; padding-right: 5px; }
/* Hide label text */
.assist { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); }
/* ------------- [ LINKS ] -------------- */
a { color: #1bafe0; text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: underline; outline: 0 none; }
a img { border:0; }
/* ------------- [ FORMS ] -------------- */
button, input, select, textarea { font-size: 12px; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
input[type=text], input[type=password], textarea { padding: 3px; background: #fafafa; border: 1px solid #ddd; color: #888; box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); }
input[type=text]:focus, textarea:focus { color: #373737; }
textarea { overflow: auto; vertical-align: top; padding: 0 0 3px; width: 80%; }
/* Search Form */
input#s { font-size: 14px; height: 22px; line-height: 1.2em; padding-left: 28px; background: url('img/search.png') no-repeat 5px 6px; }
input#searchsubmit { display: none; }
/* ------------- [ HEADER ] -------------- */
.header { overflow: hidden; }
.header h1 a { font-size: 30px; line-height: 36px; text-decoration: none; color: #111; }
.header h1 a:hover { color: #1bafe0; }
.header h2 { font-size: 14px; font-weight: normal; color: #7a7a7a; }
.header hgroup { float: left; }
.header #searchform { float: right; }
/* ------------- [ MENU ] -------------- */
.nav { overflow: hidden; clear: both; padding: 20px 0; }
.nav ul { list-style: none; }
.nav li { float: left; }
.nav li a { display: block; padding: 5px 12px; }
.nav li a:hover, .nav li.current-menu-item a { text-decoration: none; background: #ddd; }
.nav li:hover{ /* IE7 Fix */ position: static; background: #ddd; }
.nav li ul { position: absolute; background: #ddd; left: -999px; z-index: 999; }
.nav li ul li { float: none; }
.nav li ul li a { font-size: 13px; }
.nav li ul li a:hover { background: #ccc; }
.nav li ul ul { /* third level */ margin: -18px 0 0 139px; }
.nav li:hover ul ul, .nav li:hover ul ul ul { left: -999em; }
.nav li:hover ul, .nav li li:hover ul, .nav li li li:hover ul { left: auto; }
/* ------------- [ CONTENT ] -------------- */
.content { overflow: hidden; }
.posts { float: left; width: 600px; }
.post { overflow: hidden; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ddd; }
.post p { margin-bottom: 12px; }
.post ul, .post ol { margin: 0 0 12px 25px; }
.post blockquote { margin-bottom: 12px; padding: 10px; color: #505050; font-style: italic; }
.post h1, .post h2, .post h1 a, .post h2 a { color: #222; }
.post h1 a:hover, .post h2 a:hover { color: #1bafe0; text-decoration: none; }
.post .wp-post-image { float: left; margin: 4px 12px 0 0; }
.post .meta { clear: both; margin: 4px 0 12px; color: #666; font-size: 12px; line-height: 18px; }
/* Pagination */
.pagination { overflow: hidden; margin-bottom: 20px; text-align: center; }
.pagination a, .pagination span { display: inline-block; width: 22px; height: 22px; margin-right: 5px; line-height: 23px; text-align: center; border: 1px solid #c6c6c6; }
.pagination a:hover, .pagination .current { color: #444; border-color: #999; text-decoration: none; }
.pagination .next, .pagination .prev { width: auto; padding: 0 8px; }
/* ------------- [ SIDEBARS ] -------------- */
.sidebar { float: right; width: 300px; }
.widget { margin-bottom: 20px; }
.widget h3 { margin-bottom: 12px; }
.widget ul, .widget ol { margin-left: 17px; }
/* ------------- [ FOOTER ] -------------- */
.footer { overflow: hidden; color: #555; font-size: 12px; padding-top: 10px; text-align: center; border-top: 1px solid #e0e0e0; }
/* ----------------------- [ Responsive ] ----------------------- */
@media (max-width: 800px) {
.wrap { width: auto; margin-left: 8px; margin-right: 4px; }
/* single */
.posts { width: 62% }
.sidebar { width: 32%; }
/* Make sure embeds fit their containers */
iframe, embed, object { width: 100%; height: auto; }
}
@media (max-width: 650px) {
.wrap { width: auto; margin: 0 10px; }
.posts { width: auto; }
.sidebar { width: auto; }
/* Reduce font-sizes for better readability on smaller devices */
.post p { font-size: 13px; line-height: 18px; margin-bottom: 10px; }
/* Floated content doesn't work well at this size */
.alignleft, .alignright { float: none; margin-left: 0; margin-right: 0; }
}
@media (max-width: 450px) {
/* Mobile Portrait general style only */
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
/* Few styles for iPhone only that have not address in the general view */
}