-
Notifications
You must be signed in to change notification settings - Fork 40
/
style.css
executable file
·557 lines (449 loc) · 10.9 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
/*
Theme Name: WP-Flex
Theme URI: https://github.com/grayghostvisuals/WP-Flex
Description: A blank, responsive, WordPress theme boilerplate adhering to best practices and requirements set forth by the official WordPress Codex and theme review guidelines. Also makes a great starter theme for any of your WordPress theming needs.
Author: Dennis Gaebel : Gray Ghost Visuals
Author URI: http://wpflex.grayghostvisuals.com
Version: 1.0.9
Tags: full-width-template, fluid-layout, responsive-layout, custom-background, microformats, editor-style, custom-menu, sticky-post, theme-options, front-page-post-form, featured-images, sticky-post, rtl-language-support, threaded-comments, post-formats, white, light
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
WP-Flex Copyright ©2014 @gryghostvisuals
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license entitled "GNU Free Documentation License" can be
found at http://www.gnu.org/licenses/fdl-1.3-standalone.html
*/
/*
* The Wordpress CSS Codex
* http://codex.wordpress.org/CSS_Coding_Standards
* http://make.wordpress.org/core/handbook/coding-standards/css/
*
* REMINDERS
* -Use lowercase and separate words with hyphens when naming selectors. Avoid camelcase and underscores
* -Prefixed vendor-specific properties pairs should appear directly before the generic property they refer to
*
*/
/* =============================================================================
Responsive Embedded Media
========================================================================== */
img,
object,
video {
max-width: 100%;
height: auto;
}
/* =============================================================================
Required WordPress Styles
* @since 1.0.6
* Generated Core Classes
* Each Theme should have these or similar styles in its style.css file
* in order to display images and captions properly.
* http://codex.wordpress.org/CSS#WordPress_Generated_Classes
========================================================================== */
.sticky {}
.alignnone {
margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
display:block;
margin: 5px auto 5px auto;
}
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
.alignleft {
float:left;
margin: 5px 20px 20px 0;
}
.aligncenter {
clear: both;
display: block;
margin: 5px auto 5px auto;
}
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
.alignnone {
clear: both;
margin: 5px 20px 20px 0;
}
.alignleft {
float:left;
margin: 5px 20px 20px 0;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
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;
}
.gallery-caption {}
/*
* stops multiple categories from breaking the layout
*/
.entry-tags-list li,
.entry-categories-list li {
display: inline-block;
}
/* by post author styling */
.bypostauthor {}
/* =============================================================================
WordPress Generated - Extra Styling Classes for Authors
========================================================================== */
/* Fluid Images For Wordpress */
img[class*="align"],
img[class*="wp-image-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.wp-caption,
.wp-caption img {
max-width: 100%;
}
img.size-full {
max-width: 100%;
width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
/* WP Breadcrumb Styles */
.cat-item {}
.cat-item.current-cat {}
.cat-item a:hover {}
.cat-item.current-cat a:hover {}
.cat-item a {}
.cat-item.current-cat a {}
/* WP Smiley */
.entry-content img.wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
/* WP widget styling */
.widget {}
/* WP Footer Search Widget Input */
#s {
width: 100%;
}
/* WP Post Thumbnails */
.wp-post-image {}
.attachment-thumbnail {}
.attachment-medium {}
.attachment-large {}
.attachment-full {}
/* WP 404 Errors */
.error404 {}
/* WP Page Content */
.more-link {}
.posttitle {}
/* =============================================================================
WordPress Comments
========================================================================== */
/*
* WP COMMENTS FORM
* comment form container
* keep this consistent for comment form
* everytime a user clicks reply to a thread
* the comment form that appears contains these very
* styles defined below
*/
#respond {}
/* comments list reset */
.commentlist,
.commentlist ul,
.commentlist .children {
list-style-type: none;
margin: 0;
padding: 0;
}
/* comment form title */
#reply-title {}
/* comment form ID generated by WP */
#commentform {}
/* moderation response text class provided via comments.php line#48 */
/* no user comments styling class provided via comments.php line#69 */
.moderating,
.nocomments {
font-weight: lighter;
}
/* comment form labels */
label[for="author"] {}
label[for="email"] {}
label[for="commment"] {}
/* comment form inputs */
#commentform input,
#commentform textarea {
display: block;
}
#commentform textarea {
width: 100%;
}
/* comment form allow tags */
.form-allowed-tags {}
/* comments pagination */
.comment-pagination {}
.prev-comments-link {}
.nxt-comments-link {}
/* avatars */
.avatar {
display: block
}
/* User Comments */
.comment-list {}
.comment-meta {}
.comment-meta.says {}
.comment-vcard {}
.comment-edit-link {}
.comment-body {}
.comment-text {}
.reply {}
.comment-reply-link {}
/* Comment Respond Form */
.comment-respond {}
/* =============================================================================
WP-Flex Custom Styles
========================================================================== */
/**
* WP-Flex Styling Modules
*
* Use these custom Classes as helpers for your styling needs and based on
* the classes written by this theme. These are not provided by WordPress
*/
/* WP-Flex BLOG NAME Module */
.blogname {}
/* WP-Flex TAGLINE Module */
.tagline {}
/* WP-Flex NAVIGATION Module */
.menu {}
/* WP-Flex PAGE TITLE Module */
.page-title{}
/* WP-Flex ENTRY TITLE Module */
.entry-title {}
/* WP-Flex ENTRY TITLE META Module */
.meta {}
/* WP-Flex ENTRY FOOTER META Module */
.entry-footer {}
.comments-count {}
.comments-count-number {}
.entry-taxonomies {}
.entry-tags-list {}
.entry-tags {}
.entry-categories-list {}
.entry-categories {}
/* WP-Flex ENTRY PAGINATION Module */
.pagination {}
/* WP-Flex SINGLE ENTRY PAGINATION Module */
.pagination.single {}
/* WP-Flex SIDEBAR Module */
#sidebar {}
/* =============================================================================
Demo Layout Styles * DO NOT USE *
========================================================================== */
body {
background: #00b5f8;
margin: 0 auto;
padding: 1em;
max-width: 36em;
}
a {
color: #ffffff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
dl dt {
font-size: 16px;
font-weight: bold;
line-height: 1.2;
}
dl dd {
margin: 0 0 10px 0;
font-size: 14px;
line-height: 1.4;
color: #666;
}
.nav-list {
margin: 0;
padding: 0;
}
.post {
border-bottom: 2px solid rgba(0, 117, 160, 0.50);
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.35);
margin: 1.5em 0;
padding: 5%;
}
/* ==========================================================================
Helper classes
========================================================================== */
/*
* Image replacement
*/
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
/* IE 6/7 fallback */
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
display: none !important;
visibility: hidden;
}
/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.clearfix {
*zoom: 1;
}
/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links for images, or javascript/internal links
*/
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group; /* h5bp.com/t */
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}