-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·176 lines (137 loc) · 3.25 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
/**
Theme Name: Het Groene Doel
Theme URI: https://github.com/ejoweb/hetgroenedoel/
Author: Erik Joling
Author URI: https://www.ejoweb.nl/
Description: WordPress blokkenthema voor Het Groene Doel Zwolle
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 8
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hgd
*/
/* -------------------------------- GENERAL -------------------------------- */
/*
* Smooth scroll when `to top`-link is clicked
*/
html {
scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
body {
}
/* Remove default padding from heading */
h1.has-background,
h2.has-background,
h3.has-background,
h4.has-background,
h5.has-background,
h6.has-background {
padding: 0;
}
/* Cover block */
.wp-block-cover {
overflow: hidden;
padding: var(--wp--style--root--padding-top)
var(--wp--style--root--padding-left);
}
.wp-block-cover h1 {
margin: 0;
}
/* -------------------------------- CONTEXT -------------------------------- */
/**
* Site container
*/
/**
* 1. Remove global padding from site container
*/
.wp-site-blocks {
max-width: var(--wp--custom--layout--full-size);
margin-left: auto;
margin-right: auto;
padding-top: 0;
padding-bottom: 0;
padding-right: var(--wp--style--root--padding-right);
padding-left: var(--wp--style--root--padding-left);
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
}
.wp-site-blocks > * + * {
margin-block-start: 0;
}
/**
* Site header
*/
header {
position: relative;
}
/* Logo */
header .wp-block-site-logo {
background-color: var(--wp--preset--color--base);
border-radius: 999px;
position: relative;
z-index: 99;
margin-bottom: -4rem;
margin-top: -5rem;
padding: 6rem 2rem 1rem 4rem;
width: 280px;
height: 280px;
}
header .wp-block-site-logo img {
border-radius: 0;
}
header .contact--header {
color: var(--wp--preset--color--contrast-2);
position: absolute;
/* right: 0;
bottom: 1rem; */
}
main .wp-block-cover:first-child + .wp-block-group {
padding: var(--wp--style--root--padding-top)
var(--wp--style--root--padding-left);
}
/**
* Site main
*/
main {}
/**
* Site footer
*/
footer {}
/* ------------------------------ BREAKPOINTS ------------------------------- */
/* Breakpoint for tiny screens */
@media screen and (max-width: 480px) {
body {
--wp--style--root--padding-top: 1.5rem;
--wp--style--root--padding-bottom: 1.5rem;
--wp--style--root--padding-left: 1.5rem;
--wp--style--root--padding-right: 1.5rem;
}
}
/* Breakpoint for */
@media screen and (min-width: 600px) {
/* Logo */
header .wp-block-site-logo {
margin-bottom: -5.5rem;
margin-top: -7rem;
padding: 10rem 1rem 1rem 7rem;
width: 450px;
height: 450px;
}
}
/* Breakpoint for */
@media screen and (min-width: 960px) {
header .contact--header {
right: 0;
bottom: 1rem;
}
}
/* ------------------------------- TEMPLATES -------------------------------- */