-
Notifications
You must be signed in to change notification settings - Fork 149
/
style.css
184 lines (146 loc) · 4.26 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
/*
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.5
Tested up to: 6.5.2
Requires PHP: 7.0
Version: 1.0.9
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: frost
*/
/* 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;
}
/* -- Navigation -- */
.wp-block-navigation__responsive-container.is-menu-open {
padding: var(--wp--custom--spacing--gap);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
padding-top: var(--wp--custom--spacing--gap);
}
.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;
}
/* Utility
---------------------------------------- */
/* -- Box Shadow -- */
.is-style-shadow-light {
box-shadow: var(--wp--preset--shadow--light);
}
.is-style-shadow-solid {
box-shadow: var(--wp--preset--shadow--solid);
}
/* Media Queries
---------------------------------------- */
@media only screen and (max-width: 600px) {
/* -- Utility -- */
.is-style-hidden-mobile {
display: none !important;
}
}
@media only screen and (max-width: 782px) {
/* -- Columns -- */
.is-style-columns-reverse {
flex-direction: column-reverse;
}
}