forked from wpengine/frost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
219 lines (174 loc) · 5.21 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
/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: With its clean, minimal design and powerful feature set, Frost enables agencies to build stylish and sophisticated WordPress websites. Frost is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Frost is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frost
Frost WordPress Theme, (C) 2022-2023 WP Engine.
Frost is distributed under the terms of the GNU GPL.
*/
/* Defaults
---------------------------------------------------------------------------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
transition: all 0.2s ease-in-out;
}
a,
a:focus,
a:hover,
a:not(.wp-element-button) {
text-decoration-thickness: 1px;
}
b,
strong,
th {
font-weight: var(--wp--custom--font-weight--medium);
}
mark {
background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
background-position: 0 85%;
background-repeat: repeat-x;
background-size: 100% 15%;
}
/* Forms
--------------------------------------------- */
input,
select,
textarea {
background-color: var(--wp--preset--color--base);
border: 1px solid var(--wp--preset--color--contrast);
border-radius: 0;
color: var(--wp--preset--color--contrast);
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--medium);
font-weight: var(--wp--custom--font-weight--light);
line-height: var(--wp--custom--line-height--body);
padding: 10px 20px;
width: 100%;
}
input:focus,
textarea:focus {
background-color: var(--wp--preset--color--neutral);
outline: none;
}
input[type="checkbox"],
input[type="image"],
input[type="radio"] {
width: auto;
}
input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
-webkit-appearance: none;
}
::placeholder {
color: var(--wp--preset--color--contrast);
font-size: var(--wp--preset--font-size--small);
opacity: 0.5;
}
/* Blocks
---------------------------------------------------------------------------- */
/* Code
--------------------------------------------- */
*:not(.wp-block-code) > code {
background-color: var(--wp--preset--color--neutral);
font-size: var(--wp--preset--font-size--small);
padding: 5px 8px;
}
/* Group
--------------------------------------------- */
.wp-block-group.is-style-shadow-light {
box-shadow: var(--wp--preset--shadow--light);
}
.wp-block-group.is-style-shadow-solid {
box-shadow: var(--wp--preset--shadow--shadow);
}
/* Image
--------------------------------------------- */
.wp-block-image.is-style-shadow-light img {
box-shadow: var(--wp--preset--shadow--light);
}
.wp-block-image.is-style-shadow-solid img {
box-shadow: var(--wp--preset--shadow--solid);
}
/* List
--------------------------------------------- */
.is-style-no-disc {
list-style-type: none;
padding-left: 0;
}
/* Navigation
--------------------------------------------- */
.wp-block-navigation__responsive-container.is-menu-open {
padding-bottom: 30px;
padding-top: 30px
}
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
border: 1px solid currentColor;
padding: 2px;
}
.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
color: var(--wp--preset--color--base);
}
/* Navigation Submenu
--------------------------------------------- */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
background-color: var(--wp--preset--color--contrast);
border: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--base);
padding: 10px;
}
.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
padding: 2px 10px;
}
/* Quote
--------------------------------------------- */
.wp-block-quote.is-style-shadow-light {
box-shadow: var(--wp--preset--shadow--light);
}
.wp-block-quote.is-style-shadow-solid {
box-shadow: var(--wp--preset--shadow--solid);
}
/* Media Queries
---------------------------------------------------------------------------- */
@media only screen and (min-width: 600px) {
/* Navigation Link
--------------------------------------------- */
.wp-block-navigation-item.is-style-outline a {
border: 1px solid currentColor;
padding: 8px 15px;
}
}
@media only screen and (max-width: 782px) {
/* Columns
--------------------------------------------- */
.is-style-columns-reverse {
flex-direction: column-reverse;
}
}