forked from milohuang/reverie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·127 lines (105 loc) · 5.13 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
/*
Theme Name: Reverie
Theme URI: http://themefortress.com/reverie/
Description: Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
Version: 3.1.0
Author: Zhen Huang
Author URI: http://themefortress.com/
License: MIT License
License URI: http://www.opensource.org/licenses/mit-license.php
*/
/* --------------------------------------------------
Table of Contents
-----------------------------------------------------
:: Customized Adjustments of Foundation for WordPress
:: Styling Basic WordPress Outputs
:: Customize Foundation Style Pagination for WP-Pagenavi
:: Customize for BuddyPress
:: Your Customized Style
*/
/* ---------------------------------------------------
Customized Adjustments of Foundation for WordPress
--------------------------------------------------- */
/* Foundation-specific presentation CSS by ZURB */
div.reverie-header { margin: 0 0 20px 0; padding: 20px 0 0 0; border-bottom: solid 1px #ccc; }
div.reverie-header h1 { font-weight: 500; margin-bottom: 0; padding: 0; }
div.reverie-header h1 a { color: #181818; }
div.reverie-header h1 a:hover { color: #181818; }
@media handheld, only screen and (max-width: 767px) {
header { position: relative; }
header .subheader { margin-bottom: 0; }
header .menu-action { float: left; position: relative; top: 1px; margin-top: -12px; }
header .menu-action .button.small { padding: 8px; }
header .menu-action .button.small svg { opacity: 0.5; }
header h1 { font-size: 27px; font-size: 2.7rem; margin-bottom: 18px; }
header h4 { font-size: 17px; font-size: 1.7rem; }
}
/* -----------------------------------------
Styling Basic WordPress Outputs
----------------------------------------- */
/* Global */
h1, h2, h3, h4, h5 { font-family: 'Open Sans', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; font-weight: 300; }
/* Add Divider for Listed Posts */
.divider { background:url(images/divider.png) no-repeat center top; height:36px; margin:20px 0 27px; }
/* Add Class for Images */
img.alignright { float: right; margin: 0 0 18px 18px; }
img.alignleft { float: left; margin: 0 18px 18px 0; }
img.aligncenter { display: block; margin: 18px auto; }
/* Add HTML5 Class for Images */
figure {
margin-bottom: 17px;
}
figure img {
height: auto;
border: 1px solid #DDD;
margin: 0 auto;
display: block;
box-shadow: 0px 2px 10px #ddd;
-moz-box-shadow: 0px 2px 10px #ddd;
-webkit-box-shadow: 0px 2px 10px #ddd;
border-image: initial;
}
/* Add HTML5 Caption Class for Images */
figure.figure { margin: 0 auto; -webkit-border-radius: 3px; -moz-border-radius: 3px; display: inline-block; }
figure.figure figcaption { padding: 8px 10px; font-size: 13px; font-size: 1.3rem; line-height: 18px; color: #555; }
figure.alignright.figure { float: right; margin: 0 0 18px 18px; }
figure.alignleft.figure { float: left; margin: 0 18px 18px 0; }
/* Sidebar Adjustment */
.sidebar-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
/* Footer Nav */
.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
.footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; }
/* Overwrite Off-Canvas Style */
footer { background: #fff; color: inherit; padding: 10px 0; }
.js [role="main"] { background: inherit; }
.top-header { overflow: visible; }
#content { padding-left: 0; }
#sidebar { padding-right: 0; }
/* Breadcrumb Adjustment */
ul.breadcrumbs li span { padding-left: 3px; }
ul.breadcrumbs li a { padding-left: 0; }
/* Comment Textarea Adjustment */
#respond textarea { height: 100px; }
/* -------------------------------------------------------
Adjust Foundation 3 Pagination Style for WordPress
---------------------------------------------------- */
ul.page-numbers { display: block; height: 24px; margin-left: -5px; }
ul.page-numbers li {float: left; display: block; height: 24px; color: #999; font-size: 14px; margin-left: 5px; }
ul.page-numbers li a { display: block; padding: 1px 7px 1px; color: #555; }
ul.page-numbers li:hover a, ul.page-numbers li a:focus { background: #e6e6e6; }
ul.page-numbers li.unavailable a { cursor: default; color: #999; }
ul.page-numbers li.unavailable:hover a,ul.page-numbers li.unavailable a:focus { background: transparent; }
ul.page-numbers li span.current { background: #2ba6cb; color: #fff; font-weight: bold; cursor: default; display: block; padding: 1px 7px 1px; }
/* ---------------------------
:: Customize for BuddyPress
--------------------------- */
.padder label + textarea { margin-top: 0; }
.padder #item-body #message-threads .thread-avatar img { max-width: 50px; }
ul.item-list.activity-list li.new_blog_post { padding-bottom: 15px; }
.padder select { display: inline-block; }
.padder div.item-list-tabs { margin: 25px 0; }
.padder form#whats-new-form textarea { height: 30px; }
.padder .button { display: inline; }
/* --------------------------
Your Customized Style
----------------------- */