forked from OllieWP/ollie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
164 lines (138 loc) · 4.11 KB
/
style.css
File metadata and controls
164 lines (138 loc) · 4.11 KB
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
/*
Theme Name: Ollie
Theme URI: olliewp.com
Author: Mike McAlister
Author URI: mikemcalister.com
Description: Ollie is a brand new block-based WordPress theme built for the WordPress Site Editor. Now you can easily create beautiful, fully-customizable websites with WordPress's built-in page builder — no additional plugins or coding skills required! Ollie ships with over 50 beautifully-designed patterns, page templates, and style variations so you can design stunning pages quickly with drag and drop instead of code. Ollie is blazing fast, fully customizable via the WordPress UI, fully responsive out of the box, and scores 100% across the board on performance. Start launching blazing-fast websites today with the power of Ollie and the WordPress Site Editor!
Tags: blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, accessibility-ready, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks
Tested up to: 6.2
Requires PHP: 7.3
Version: 0.1.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ollie
Ollie WordPress Theme, (C) 2023 Mike McAlister.
Ollie is distributed under the terms of the GNU GPL.
*/
/* CSS Reset
---------------------------------------------------------------------------- */
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
a,
a:focus,
a:hover {
text-decoration: underline;
}
b,
strong {
font-weight: var(--wp--custom--font-weight--semi-bold);
}
blockquote {
margin: 0;
}
ol,
ul {
margin: 0;
padding: 0;
}
ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
padding-inline-start: var(--wp--preset--spacing--medium);
}
div[class*="wp-block-"] figcaption {
color: var(--wp--preset--color--secondary);
font-size: var(--wp--preset--font-size--x-small);
margin-bottom: 0;
margin-top: 20px;
text-align: center;
}
img,
video {
border-radius: 5px;
}
/* Standardize form styling
--------------------------------------------- */
input,
button,
textarea,
select {
font: inherit;
}
input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
-webkit-appearance: none;
}
input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
color: var(--wp--preset--color--main);
border-radius: 5px;
border: solid 1px var(--wp--preset--color--main-accent);
padding: .5em 1em;
font-size: var(--wp--preset--font-size--small);
width: 100%;
}
input:focus-visible,
textarea:focus-visible {
outline-color: var(--wp--preset--color--primary);
}
input[type="checkbox"],
input[type="image"],
input[type="radio"] {
width: auto;
}
label {
width: 100%;
display: block;
}
::placeholder {
color: var(--wp--preset--color--secondary);
font-size: var(--wp--preset--font-size--small);
opacity: 0.75;
}
/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */
a.more-link {
display: block;
}
/* Inline code */
*:not(.wp-block-code) > code {
background-color: var(--wp--preset--color--tertiary);
font-weight: var(--wp--custom--font-weight--medium);;
padding: 3px 5px;
position: relative;
border-radius: 3px;
}
/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
margin-bottom: -8px !important;
}
/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
margin-bottom: 0;
}
/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
display: none;
}
/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
display: none;
}