-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
234 lines (227 loc) · 6.12 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
/*!
Theme Name: Trebuchet
Theme URI: https://andreasjr.com/work/trebuchet
Author: Andreas Reif
Author URI: https://andreasjr.com
Description:
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0.0
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trebuchet
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.wp-block-group:where(.has-background) {
padding: 0px;
}
.is-style-padding {
padding-left: var(--wp--custom--page--spacing--outer);
padding-left: var(--wp--custom--page--spacing--outer);
}
.is-style-content-padding {
padding-left: var(--wp--custom--page--spacing--outer);
padding-right: var(--wp--custom--page--spacing--outer);
}
.is-style-content-padding .alignfull {
padding-left: var(--wp--custom--page--spacing--outer);
padding-right: var(--wp--custom--page--spacing--outer);
margin-left: calc(-1 * var(--wp--custom--page--spacing--outer)) !important;
margin-right: calc(-1 * var(--wp--custom--page--spacing--outer)) !important;
width: auto !important;
}
@media screen and (min-width: 900px) {
.wp-site-blocks {
margin-left: var(--wp--custom--heading--layout--width);
}
}
/**
* Header
*/
header {
position: fixed !important;
top: 0px;
left: 0px;
z-index: 10;
margin: 0px;
}
@media screen and (max-width: 899px) {
header {
position: -webkit-sticky !important;
position: sticky !important;
width: 100%;
}
}
@media screen and (min-width: 900px) {
header {
width: var(--wp--custom--heading--layout--width);
height: 100vh;
flex-shrink: 0;
}
}
header > .wp-block-group {
height: 100%;
}
header .header--link-row--container {
height: 100%;
width: 100%;
}
@media screen and (max-width: 899px) {
header .header--link-row--container {
justify-content: space-between;
}
}
@media screen and (min-width: 900px) {
header .header--link-row--container {
flex-direction: column;
align-items: center;
justify-content: center;
}
}
@media screen and (max-width: 899px) {
header .wp-block-site-logo {
display: none;
}
header .wp-block-site-logo img {
max-height: 100px;
width: auto !important;
}
}
main {
width: auto;
min-height: 100vh;
margin-top: 0px !important;
position: relative;
}
.wp-block-navigation > button {
padding: 1em;
border: solid 1px white;
border-radius: 10px;
}
@media (min-width: 600px) {
.wp-block-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
display: flex;
}
}
@media screen and (min-width: 900px) {
.wp-block-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
display: none;
}
}
@media (min-width: 600px) {
.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: none;
}
}
@media screen and (min-width: 900px) {
.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: block !important;
}
}
@media screen and (max-width: 899px) {
.wp-block-navigation .wp-block-navigation__responsive-container {
position: fixed;
top: -100%;
left: 0;
display: block;
transform: scale(1.1);
transition: var(--wp--custom--utility--transition--default);
transition-property: opacity, transform;
opacity: 0;
right: unset;
left: unset;
bottom: unset;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
padding: 1.5em 1em;
top: 0;
left: 0;
opacity: 1;
transform: scale(1);
right: 0;
left: 0;
bottom: 0;
}
}
.trebuchet--query--blogroll a {
text-decoration: none;
cursor: default;
}
.trebuchet--query--blogroll a:hover {
text-decoration: underline;
}
@media screen and (max-width: 999px) {
.trebuchet--query--blogroll > li > div {
flex-direction: column;
}
}
.trebuchet--query--blogroll .wp-block-post-title {
display: block;
}
@media screen and (min-width: 1000px) {
.trebuchet--query--blogroll .wp-block-post-title a {
display: block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
.trebuchet--query--blogroll .wp-block-post-excerpt {
display: block;
opacity: 0.5;
transition: var(--wp--custom--utility--transition--default);
transition-property: opacity;
/* p {
margin: 0px;
@include bp-min($br-bp) {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
} */
}
.trebuchet--query--blogroll .wp-block-post-excerpt:hover {
opacity: 1;
}
.trebuchet--query--blogroll .wp-block-post-excerpt p {
margin: 0px;
}
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta {
margin-top: 0px;
}
@media screen and (max-width: 999px) {
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta {
justify-content: center;
}
}
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta > * {
transition: var(--wp--custom--utility--transition--default);
cursor: default;
opacity: 0.25;
}
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta > *:hover {
opacity: 1;
}
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta .wp-block-post-terms {
padding: 5px 10px;
border-radius: 10px;
display: block;
order: 1;
text-align: center;
border: solid 1px var(--wp--preset--color--black);
}
@media screen and (max-width: 999px) {
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta .wp-block-post-terms {
order: 2;
}
}
.trebuchet--query--blogroll .trebuchet--query--blogroll--item--meta .wp-block-post-terms::before {
content: "\f02b";
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-right: calc(0.5 * var(--wp--style--block-gap));
display: inline-block;
}/*# sourceMappingURL=style.css.map */