-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
257 lines (206 loc) · 6.08 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
/**
* Theme Name: Yarn
* Theme URI: http://themehybrid.com/themes/yarn
* Description: Like its parent theme, <a href="http://www.themehybrid.com/saga/">Saga</a>, Yarn is specifically tailored to writers, focusing on the display of the written word, using big, bold images to draw your reader in. Its pink and brown palette can be easily changed to meet your preferences. Customize the background and header colors and images to personalize the theme for your site.
* Version: 1.0.1
* Author: Kris Hocker
* Author URI: http://krishockerdesign.com
* Tags: one-column, responsive-layout, custom-background, custom-colors, custom-header, editor-style, featured-image-header, post-formats, featured-images, rtl-language-support, threaded-comments, translation-ready, pink, brown
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Template: saga
* Text Domain: yarn
*/
/*
* 1.2 - Layout
*
* Defining the layout of structural elements as they differ from the parent theme.
*/
.singular .entry > .wrap {
padding-top: 3rem;
}
.plural .entry > .wrap {
padding-top: 2rem;
padding-bottom: 1rem;
}
.plural .entry.format-quote > .wrap {
background: none;
}
/*
* 1.3 Defaults
*
* Defining the default style rules HTML elements and other WordPress-specific classes
* as they differ from the parent theme.
*/
/* Blockquote */
blockquote {
font-style: normal;
}
.format-quote blockquote {
text-align: center;
}
@media only screen and ( min-width: 850px ) {
.format-quote blockquote {
font-size: 1.875rem;
}
}
.post-format-standard blockquote::before,
.post-format-standard blockquote::after,
hr {
content: "";
display: block;
height: 2px;
width: 50%;
margin: 1.5rem auto;
}
.post-format-standard blockquote::before,
.post-format-standard blockquote::after {
width: 50%;
}
hr {
width: 75%;
border-bottom: none;
border-top: none;
}
/**
* 1.6 Main and Content
*
* Defining CSS for the main content area. Overriding or adding to parent theme
* definition.
*/
/* Drop-cap */
.format-standard .entry-content > p:first-of-type:first-letter,
.singular-page .entry-content > p:first-of-type:first-letter {
float: left;
margin: 0.8rem 0.5rem 0.5rem 0.5rem;
font: normal normal 700 78px/54px 'Playfair Display', Georgia, serif;
}
/* === more link === */
.more-link {
padding: 0.75rem 1rem;
}
.more-link-wrap {
margin-top: 2rem;
}
/*
* 2.2 Color Definitions
*
* Defines base colors as they differ from the parent theme.
*/
/* Text-shadow none */
.menu-toggle button,
.loop-pagination .page-numbers,
#menu-primary li a {
text-shadow: none;
}
/* Border-color rgba( 119, 119, 119, 0.1 ) */
pre,
.form-allowed-tags code,
code,
thead,
tfoot
tr,
td { border-color: rgba( 119, 119, 119, 0.1 );
}
/* Background rgb( 119, 119, 119 ) */
.post-format-standard blockquote::before,
.post-format-standard blockquote::after,
hr {
background: rgba( 119, 119, 119, 0.1 );
}
/* Color #faf7ed (cream) */
.plural .format-link a,
.plural .format-link .entry-footer,
.more-link {
color: #faf7ed;
}
/* Color rgba( 250, 247, 237 ) (cream) */
.format-gallery .gallery-count,
.featured-media .wp-caption-text {
color: rgba( 250, 247, 237, 0.95 );
}
.plural .format-link .entry-footer,
a:hover.more-link,
a:focus.more-link {
color: rgba( 250, 247, 237, 0.5);
}
/* Background #faf7ed (cream) */
.entry > .wrap,
.plural .entry,
.singular .main,
.error-404 .main {
background-color: #faf7ed;
}
/* Background rgba( 250, 247, 237 ) */
@media only screen and ( min-width: 850px ) {
.plural .entry > .wrap {
background: rgba( 250, 247, 237, 0.9 );
}
}
/* Background rgba( 255, 255, 255 ) */
code {
background: rgba( 255, 255, 255, 0.5 );
}
/* Chat speaker colors */
.format-chat .chat-speaker-1 .chat-author,
.format-chat .chat-speaker-11 .chat-author { color: #8fceec; }
.format-chat .chat-speaker-2 .chat-author,
.format-chat .chat-speaker-12 .chat-author { color: #ecad8f; }
.format-chat .chat-speaker-3 .chat-author,
.format-chat .chat-speaker-13 .chat-author { color: #ec8f8f; }
.format-chat .chat-speaker-4 .chat-author,
.format-chat .chat-speaker-14 .chat-author { color: #98d7c0; }
.format-chat .chat-speaker-5 .chat-author,
.format-chat .chat-speaker-15 .chat-author { color: #beafdb; }
.format-chat .chat-speaker-6 .chat-author,
.format-chat .chat-speaker-16 .chat-author { color: #eb9fc5; }
.format-chat .chat-speaker-7 .chat-author,
.format-chat .chat-speaker-17 .chat-author { color: #b5d89e; }
.format-chat .chat-speaker-8 .chat-author,
.format-chat .chat-speaker-18 .chat-author { color: #8ba8d5; }
.format-chat .chat-speaker-9 .chat-author,
.format-chat .chat-speaker-19 .chat-author { color: #d69bcc; }
.format-chat .chat-speaker-10 .chat-author,
.format-chat .chat-speaker-20 .chat-author { color: #ed7474; }
/*
* Color Danger Zone
*
* Defines base colors as they differ from the parent theme. Using pale cream instead of
* white.
*/
/* Color #faf7ed (cream) */
::selection {
color: #faf7ed; /* Don't combine with other elements. Breaks Firefox. */
}
.mejs-button,
.mejs-button button,
.menu-toggle button,
.page-links a,
.page-links a:hover,
.page-links a:focus,
.loop-pagination .page-numbers,
#menu-primary li a,
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.comment-reply-link,
.comment-reply-link:hover,
.comment-reply-link:focus,
.wp-playlist-dark .wp-playlist-tracks .wp-playlist-playing a,
.wp-playlist-dark .wp-playlist-tracks a:hover,
.wp-playlist-dark .wp-playlist-tracks a:focus,
.mejs-time .mejs-currenttime,
.mejs-time .mejs-duration,
.mejs-volume-button .mejs-volume-slider .mejs-volume-current,
.mejs-volume-button .mejs-volume-slider .mejs-volume-handle,
.mejs-time-rail .mejs-time-float,
.wp-playlist-dark .wp-playlist-playing,
.wp-playlist-dark .wp-playlist-caption:hover,
.wp-playlist-dark .wp-playlist-caption:focus,
.wp-playlist-dark .wp-playlist-item:hover
.wp-playlist-dark .wp-playlist-item:focus {
color: #faf7ed;
}
.plural .format-link a:hover .entry-subtitle,
.plural .format-link a:focus .entry-subtitle { color: rgba( 250, 247, 237, 0.5); }