-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
428 lines (372 loc) · 10.4 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
/*
Theme Name: Pinkstone 2013
Theme URI: http://pinkstone.co.uk
Description: Child Theme based on TwentyFifteen
Author: Jay Versluis
Author URI: http://www.wpguru.co.uk
Template: twentythirteen
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* == CHANGELOG ==
v1.5 - September 2018
* added Apple Podcasts Badge to podcast articles
* added Stitcher Badge to podcast articles
* source maintenance
* added YouTube Badge to podcast categories
v1.4 - September 2018
* split p margins between top and bottom to better display Google Auto Ads
* added new Word Count functions
* amended List of All Articles template with word counts
v1.3 - April 2016
* slightly larger Gravatar on Author Bio Box, avoiding orphaned wpguru.co.uk URL
v1.2 - 24/11/2015
* removed hyphenations except for links
* added clickable links from URLs (like in P2)
v1.1 - 20/11/2015
* added JetPack pageviews to content.php (currently inactive)
v1.0 - 04/11/2015 at 15:00 EST
* brand new theme, based on TwentyThirteen
* changed themes because P2 made my servers crash!
* and because P2 wasn't mobile freindly!
* removed author bio box (TwentyThirteen privdes its own)
* changed fonts throughout to San Francisco / Helvetica Neue / Sans Serif
--------------------------------------------*/
/**********************/
/* GENERAL 2013 TWEAKS
/**********************/
/* change fonts */
body, .site-title, .site-description, .entry-title, .widget-title, h1, h2, h3, h4, h5, h6 {
font-family: -apple-system, "Helvetica Neue", "Lucida Grande", sans-serif;
}
/* make h1 headlines fatter */
.entry-title {
font-weight:600;
}
/* stop hypenating words */
.entry-content, .entry-summary, .page-content, .comment-content {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
word-wrap: normal;
}
/* do hyphenate links though */
.entry-content a, .entry-summary a, .page-content a, .comment-content a {
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
}
/* remove Category from Meta */
.categories-links {
display: none;
}
/* remove author link */
.author-link {
display: none;
}
/* code blocks could look better */
.wp-code-highlight {
background: #eee;
font-size: 1.1em !important;
padding: 10px !important;
padding-top: 20px !important;
padding-bottom: 20px !important;
margin-bottom: 20px !important;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}
/* width of code blocks needs to be narrower */
pre.prettyprint {
width: 98% !important;
}
/* slightly larger text perhaps ? */
p, .postcontent ul li, .postcontent ol li, .commentcontent ul li, .commentcontent ol li {
/* font-size: 1.1em !important; */
}
/* remove name from Author Bio Box */
#author-bio-box h3 {
display: none;
}
/* border around JetPack images */
.jetpack-image-container img {
border: double;
border-color:#ccc;
}
/* no borders on right-aligned thumbnails */
img.alignright {
border:none !important;
}
/* the search button touches the search box */
#searchsubmit {
margin-left:5px !important;
}
/* split p margins from top only to top and bottom */
p {
margin-top: 12;
margin-bottom: 12;
}
/* bring back the author byline */
.single-author .entry-meta .author, .sticky.format-standard .entry-meta .date, .sticky.format-audio .entry-meta .date, .sticky.format-chat .entry-meta .date, .sticky.format-image .entry-meta .date, .sticky.format-gallery .entry-meta .date {
display: initial;
}
/* make blockquotes look handsome */
.entry-content blockquote {
font-size: 1em;
}
/********************************
* eMember Tweaks *
********************************/
/* eMember: append graphic to Content Protection message */
.wp-emember-warning-msgbox-text a b:after{
text-indent: 0;
line-height: initial;
/* content:url(Member-Beta-Button.png); */
content:'Part of this article has been hidden. Sign up here for full access.';
display:block;
}
/* eMember: Content Protection message needs styling */
span.wp-emember-warning-msgbox {
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-width: 0px;
padding-bottom: 15px;
background-color:#fec;
}
/* eMember: move text in box slightly further up */
.wp-emember-warning-msgbox-image {
margin-top: 10px;
padding-right: 10px;
}
/* eMember: remove Free Membership from registration form (4th field) and border */
#wp_emember_regoForm table tr:nth-child(4) {
/* temporary removal due to reCAPTCHA not working otherwise
display:none; */
}
/* style registration Form: no borders, slightly narrower */
#wp_emember_regoForm table, #wp_emember_regoForm table td {
border: none;
}
#wp_emember_regoForm table.forms {
width: 80% !important;
padding-left: 50px;
}
/* eMember Login Widget looks shocking */
.eMember_logged_widget a {
font-size: 1.2em;
}
.eMember_logged_user_info_section {
word-wrap:none;
display:block;
font-size: 1.2em;
}
.eMember_highlight {
display:block;
margin-top: 5px;
}
#wp_emember_loginForm a {
font-size: 1.2em;
}
/* eMember Login Widget looks ultra terrible */
#wp_emember_loginForm td, #wp_emember_loginForm table {
border: none;
}
/********************************
* eStore Tweaks *
********************************/
/* eStore: Thank You page styling */
.eStore_thank_you_your_order, .eStore_thank_you_download_links, .eStore_thank_you_total_cost, .eStore_thank_you_txn_id, .eStore_thank_you_email {
font-size: 1.1em;
}
/* eStore: price label could be larger than 0.000000000000001 points */
.eStore_price_label, .eStore_price_value {
font-size: 1.4em;
font-weight: bold;
}
/* turn "Price" into "Introductory Price" */
.eStore_price_label:before {
content:'Sale ';
}
/* and give that line a bit more space at the top */
.eStore_price {
padding-top: 15px;
}
/* sale price styling */
.eStore_oldprice {
padding-top: 10px;
font-size:1.3em;
font-weight: bold;
color: #999;
}
/* turn "Old Price" into "Reguilar Price" */
.eStore_oldprice:before {
content:'Regular ';
}
/* shift buy now button to the right */
.eStore_buy_now_button, .eStore_add_to_cart_button {
float:right;
padding-right: 20px;
padding-bottom: 10px;
margin-top: -30px !important;
border: none;
}
/* eStore Shoping Cart */
.shopping_cart {
}
.shopping_cart table, .shopping_cart table td, .shopping_cart table th {
font-size: 1.2em !important;
border: none;
padding-left: 10px;
padding-right: 10px;
}
.shopping_cart table th {
background-color:inherit;
border-bottom: solid;
border-bottom-width:medium;
padding-top: 10px;
padding-bottom: 10px;
}
.shopping_cart table {
border:thin;
border-style:solid;
border-width:thin;
}
/* make that Buy Now box look stunning (border and background)*/
.eStore-product.eStore-fancy-wrapper, .shopping_cart table {
/* courtesy of http://border-radius.com */
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-width: 0px;
/* courtesy of http://www.colorzilla.com/gradient-editor/ */
background: -moz-linear-gradient(top, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.16)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.16) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0,0,0,0.16) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0,0,0,0.16) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(0,0,0,0.16) 0%,rgba(0,0,0,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#29000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
/* style the description to "readable" */
.eStore-product-description {
padding-top: 20px;
padding-left: 10px;
font-size: 1.0em;
}
/* PayPal Checkout button */
input[type=image].eStore_paypal_checkout_button {
float:right;
border:none !important;
padding-right: 20px;
width: 143px;
height:auto;
}
/* add and remove buttons - enough with the borders already */
input.eStore_remove_item_button, input.eStore_empty_cart_button {
border: none;
}
/* add left padding to items and errors in the shopping cart */
.eStore_error_message, .shopping_cart a {
padding-left: 10px;
}
/********************************
* Jetpack Tweaks *
********************************/
/* Jetpack Contact Form looks terrible */
.email {
height:25px !important;
font-size:1.1em !important;
}
.grunion-field-label.name {
margin-top: 20px;;
margin-bottom: 10px;
}
.grunion-field-label.email {
margin-top: 20px;;
margin-bottom: 10px;
font-size: 1em !important;
}
.grunion-field-label.url {
margin-top: 20px;;
margin-bottom: 10px;
}
.grunion-field-label.textarea {
margin-top: 20px;;
margin-bottom: 10px;
}
/* login-widget: adios, dashboard link */
li.dashboard-link {
display: none;
}
/* add padding to H3 tags in posts */
.entry-content h3 {
padding-top: 30px;
}
/* style the line "Add your voice" above comments */
h3#reply-title.comment-reply-title {
padding-top: 10px;
padding-bottom: 20px;
padding-left: 20px;
}
/* add borders around large images */
#main p img.aligncenter.size-full, #main p img.aligncenter.size-large, #main p img.aligncenter.size-medium {
border: solid;
border-width: 2px;
border-color: #999;
background: #eee;
/*
padding: 25px;
max-width: 110%;
margin-top: 30px;
margin-bottom: 30px;
border-radius: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
*/
}
/* remove borders from imgaes that are aligned right */
p img.alignright {
border: none;
padding-right: 10px;
border-radius: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
}
/* slightly larger Gravatar image */
img#grav-6d24aab95e30d0e827a22fd7b4f515fa-0.avatar.avatar-74.photo.grav-hashed.grav-hijack, img.avatar.avatar-74.photo {
width: 115px;
height: 115px;
}
/* style Apple Podcasts Badge */
#apple-badge {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 12px;
width: 260px;
height: auto;
}
/* style Stitcher Badge */
#stitcher-badge {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: -10px;
width: 200px;
height: auto;
}
/* style YouTube Badge */
#youtube-badge {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 12px;
width: 260px;
height: auto;
}