forked from uptownstudios/allonsy
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
executable file
·198 lines (185 loc) · 5.99 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
/*
Theme Name: Allons-y
Theme URI: https://brentstromberg.com/allons-y
Github Theme URI: https://github.com/uptownstudios/allonsy
Description: Allons-y is a WordPress theme based on Foundation 6 by Zurb
Version: 1.6
Author: Brent Stromberg
Author URI: https://brentstromberg.com
License: MIT License
License URI: http://www.opensource.org/licenses/mit-license.php
*/
/* ----------------------------------------------------------------------------
Unfortunately WordPress will require a style.css file
located in the theme's root folder for stuff to work.
However, we will not be using vanilla CSS. We're using Sass.
Sass is a superset of CSS that adds in amazing features
such as variables, nested selectors and loops. It's also
the easiest way to customize Foundation.
All Sass files are located in the /assets/scss folder.
Please note that none of your scss files will be compiled to /stylesheets/foundation.css before you run
'npm run watch' or 'npm run build'.
Please read the README.md file before getting started. More info on how
to use Sass with Foundation can be found here:
http://foundation.zurb.com/docs/sass.html
If you for some reason would like to write plain css instead of using Sass,
you could just enqueue this file (style.css) to the header and add your styles in this file
---------------------------------------------------------------------------- */
/* Single Posts */
body:not(.home).single .entry-content a,
body:not(.home).single .entry-content li,
body:not(.home).single .entry-content p,
body:not(.home).single .entry-content span {
font-size: 1.125rem!important;
}
.post-template-single-full-width-image .photo-header-background {
display: flex;
/* justify-content: center; */
align-items: flex-end;
padding: 3rem;
min-height: 675px;
height: max-content;
margin-left: calc(50% - 50vw) !important;
max-width: 100vw;
width: 100vw;
background-repeat: no-repeat;
background-size: cover;
margin-top: 0!important;
position: relative;
}
.post-template-single-full-width-image .photo-header-background h1.entry-title {
color: #fff;
font-size: 2rem;
max-width: 80%;
}
.post-template-single-full-width-image .photo-header-background h2.subtitle {
color: #fff;
max-width: 80%;
position: relative;
font-size: 1.75rem!important;
}
.post-template-single-full-width-image .photo-header-background .featured-image-container-content .featured-image-container-mobile-image {
margin-bottom: 30px;
}
.post-template-single-full-width-image .bottom-header-content figcaption {
margin-bottom: 2rem;
}
.post-template-single-full-width-image #single-post {
margin-top: 1rem;
}
@media (max-width: 768px) {
.post-template-single-full-width-image .photo-header-background {
display: block;
background-image: none!important;
min-height: auto;
padding: 0;
}
.post-template-single-full-width-image .photo-header-background h1.entry-title,
.post-template-single-full-width-image .photo-header-background h2.subtitle {
color: #000;
padding: 0 1rem;
max-width: inherit;
}
.post-template-single-full-width-image .bottom-header-content figcaption {
display: none;
}
.post-template-single-full-width-image .photo-header-background figcaption {
padding: 0 1rem;
max-width: inherit;
margin-bottom: 2rem;
}
}
@media (min-width: 768px) {
.post-template-single-full-width-image .photo-header-background .featured-image-bg-layer {
background-color: rgba(0, 0, 0, 0.45);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.post-template-single-full-width-image .featured-image-container-content .featured-image-container-mobile-image {
display: none;
}
.post-template-single-full-width-image .photo-header-background.no-photo {
background-color: rgba(0, 0, 0, 0.62);
}
.post-template-single-full-width-image .photo-header-background figcaption {
display: none;
}
.post-template-single-full-width-image .no-sidebar .bottom-header-content figcaption {
margin-left: calc(50% - 48vw) !important;
max-width: 98vw;
width: 50vw;
margin-bottom: 3rem;
}
}
/* https://github.com/INN/theme-calhealthreport/issues/25 */
#single-post.no-sidebar .main-content {
max-width: 40rem;
}
/* https://github.com/INN/theme-calhealthreport/issues/13 */
.wp-caption,
.wp-caption > figcaption.wp-caption-text,
figcaption {
font-style: italic;
}
/*
* footer widget area styles
*
* This copies a lot of styles from .bs-related-widgets
*/
body:not(.home) .pre-footer-widgets {
background: #eee;
}
.pre-footer-inner {
background: transparent;
}
.pre-footer-widgets .widget + .widget {
margin-top: 1.875rem;
}
.pre-footer-widgets .widget > h6 {
font-size: 1.875rem !important; /* ugh */
}
.pre-footer-widgets .related_posts_by_taxonomy div.gallery,
.pre-footer-widgets .related_posts_by_taxonomy ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
align-content: flex-start;
margin: 0;
padding: 0;
}
.pre-footer-widgets .related_posts_by_taxonomy figure.gallery-item img {
max-width: 15rem;
}
.pre-footer-widgets .related_posts_by_taxonomy figure.gallery-item,
.pre-footer-widgets .related_posts_by_taxonomy li {
flex: 1 0 15rem;
display: block;
margin: 0 0 1em 0;
padding: 0;
}
@media ( max-width: 60rem ) and ( min-width: 30rem ) {
.pre-footer-widgets .related_posts_by_taxonomy figure.gallery-item,
.pre-footer-widgets .related_posts_by_taxonomy li {
flex: 1 0 50%;
}
}
@media ( max-width: calc( 30rem - 1px ) ) {
.pre-footer-widgets .related_posts_by_taxonomy figure.gallery-item img {
max-width: 25%;
float: left;
margin-right: 1em;
}
}
.pre-footer-widgets .related_posts_by_taxonomy figcaption a,
.pre-footer-widgets .related_posts_by_taxonomy li a {
font-size: 1.25rem;
color: #000;
font-family: acumin-pro-condensed,"Arial Narrow",Arial,Helvetica,sans-serif !important;
font-weight: 700;
line-height: 1.1;
}