-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
280 lines (252 loc) · 5.14 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
/*
Theme Name: Unit
Template: founder
Theme URI: https://www.competethemes.com/unit/
Author: Compete Themes
Author URI: https://www.competethemes.com
Version: 1.12
Description: Unit is a child theme for the Founder theme. It features a simple and clean blog layout designed to focus visitors on your content.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: gray, orange, silver, tan, white, light, fluid-layout, responsive-layout, one-column, accessibility-ready, custom-menu, featured-images, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: unit
Unit WordPress Theme, Copyright 2015 Compete Themes
Unit is distributed under the terms of the GNU GPL
Unit is a child theme of Founder
It's not recommended to add CSS to this file, as it will be lost if you ever update this child theme.
Instead, use the Custom CSS section in the Customizer.
*/
/*===== Variables =====*/
/* Theme Colors */
/* Media Query widths */
/* Social Media Brand Colors */
/*===== Mixins =====*/
/***** Silent Classes *****/
body {
background: #EDEDED;
}
.entry {
background: white;
border: solid 1px #e0e0e0;
margin: 2.25em 0;
}
.entry:first-child {
margin-top: 6em;
}
.entry:not(.has-post-thumbnail) {
padding-top: 0.75em;
}
.featured-image {
width: 100%;
left: 0;
padding-bottom: 50%;
}
.post-header {
padding: 1.5em 1.5em 0 1.5em;
margin: 0;
}
.post-content {
padding: 0 1.5em 1.5em 1.5em;
}
.post-after {
padding: 1.5em;
margin: 0;
}
.post-after:after {
display: none;
}
.further-reading {
margin-bottom: 0;
}
.further-reading:before, .further-reading:after {
right: -1.5em;
left: -1.5em;
background: #e0e0e0;
}
@media all and (min-width: 56.25em) {
.entry:first-child {
margin-top: 4.5em;
}
.post-content {
padding: 0 3em 3em 3em;
}
.post-after {
padding: 1.5em 3em;
}
.further-reading:before, .further-reading:after {
right: -3em;
left: -3em;
}
}
@media all and (min-width: 68.75em) {
.post-header {
margin: 0.75em 0 2.25em;
}
.post-content {
padding: 0 4.5em 3em 4.5em;
}
.post-after {
padding: 1.5em 4.5em;
}
.further-reading:before, .further-reading:after {
right: -4.5em;
left: -4.5em;
}
}
.site-header {
position: relative;
background: white;
border-color: #e0e0e0;
}
.site-header:before {
content: '';
position: absolute;
top: 0;
height: 100%;
left: -999px;
right: -999px;
background: white;
z-index: -1;
}
.site-header:after {
background: #e0e0e0;
}
.toggle-sidebar {
top: calc(100% - 1px);
border-color: #e0e0e0;
border-radius: 0 0 50% 50%;
}
.toggle-sidebar:hover, .toggle-sidebar:active, .toggle-sidebar:focus {
border-color: #e0e0e0;
}
.sidebar-primary {
background: white;
}
.sidebar-primary:before {
content: '';
position: absolute;
top: 0;
height: 100%;
left: -999px;
right: -999px;
background: white;
z-index: -1;
}
.sidebar-primary.open {
border-bottom: solid 1px #e0e0e0;
}
.sidebar-primary.open .toggle-sidebar {
border-color: #e0e0e0;
border-top: none;
top: 100%;
}
.sidebar-primary.open:after {
background: #e0e0e0;
}
.site-footer {
position: relative;
background: white;
border-color: #e0e0e0;
}
.site-footer:before {
content: '';
position: absolute;
top: 0;
right: -999px;
left: -999px;
height: 100%;
background: white;
z-index: -1;
}
.site-footer:after {
background: #e0e0e0;
}
.loop-pagination {
background: white;
border: solid 1px #e0e0e0;
}
.loop-pagination a,
.loop-pagination span {
display: inline-block;
padding: 0.75em 1.5em;
margin: 0 -4px 0 0;
}
.loop-pagination .prev,
.loop-pagination .next {
margin: 0 -4px 0 0;
}
.loop-pagination .prev {
float: left;
}
.loop-pagination .next {
float: right;
margin-right: 0px;
}
.loop-pagination a {
border-bottom: none;
border-right: solid 1px transparent;
border-left: solid 1px transparent;
transition: all 0.1s ease-in-out;
}
.loop-pagination a:hover, .loop-pagination a:active, .loop-pagination a:focus {
background: #F7F7F7;
border-color: #EDEDED;
}
.archive-header {
background: white;
border: solid 1px #e0e0e0;
padding: 1.5em;
margin-bottom: 0;
}
.archive-header h2 {
font-size: 1em;
line-height: 1.5;
font-weight: 600;
}
.archive-header span {
font-weight: 300;
}
.sticky.has-post-thumbnail {
position: relative;
}
.sticky.has-post-thumbnail .sticky-status {
position: absolute;
top: 0;
left: 0;
}
.sticky.has-post-thumbnail .sticky-status span {
display: inline-block;
background: #333333;
color: white;
padding: 12px 24px;
}
@media all and (min-width: 68.75em) {
.archive .post-content p:last-of-type,
.blog .post-content p:last-of-type,
.search .post-content p:last-of-type {
margin: 1.5em 0 0;
}
}
.comments {
padding: 1.5em;
}
.comments-number {
margin: 0 0 1.5em;
}
.comment-list {
margin: 0;
}
.comment-respond {
margin: 3em 0;
}
@media all and (min-width: 56.25em) {
.comments {
padding: 1.5em 3em;
}
}
@media all and (min-width: 68.75em) {
.comments {
padding: 1.5em 4.5em;
}
}
/*# sourceMappingURL=style.css.map */