-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
207 lines (178 loc) · 3.55 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
/**
* Theme Name: Scouting TC4 - Verbeterd
* Description: Verbeteringen voor het Scouting TC4 thema.
* Author: Melvin Snijders
* Author URI: https://github.com/ScoutingScherpenzeel/ScoutingTC4-WordpressImprovements
* Version: 1.6.0
* Template: hansrochat-scouting-2020-7696afcbde3b
*/
/* Fixes banner text width on mobile devices */
#banner h1 {
max-width: 100% !important;
word-break: break-word !important;
}
@media only screen and (max-width: 650px) {
#banner h1 {
font-size: 2rem !important;
}
}
@media only screen and (max-width: 1024px) {
#banner h1 {
font-size: 2.5rem !important;
}
}
/* Fixes form inputs not being styled properly */
.wpcf7 form input[type="number"],
.wpcf7 form input[type="date"],
.wpcf7 form input[type="time"] {
border: 1px solid #eee;
padding: 0.5rem;
width: 100%;
}
.wpcf7 form select {
border: 1px solid #eee;
padding: 0.8rem 0.5rem;
width: 100%;
background-color: white;
}
/* Makes the sidebar sticky and scroll with the page */
#sidebar {
position: sticky;
top: 100px;
}
/* Fixes the width of the 404 page */
.niet-gevonden > h1 {
margin-left: auto;
margin-right: auto;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
@media (min-width: 576px) {
.niet-gevonden > h1 {
max-width: 540px;
padding: 0;
}
}
@media (min-width: 768px) {
.niet-gevonden > h1 {
max-width: 720px;
padding: 0;
}
}
@media (min-width: 992px) {
.niet-gevonden > h1 {
max-width: 960px;
padding: 0;
}
}
@media (min-width: 1200px) {
.niet-gevonden > h1 {
max-width: 1140px;
padding: 0;
}
}
@media only screen and (max-width: 1024px) {
.niet-gevonden > h1 {
padding: 0 1rem;
}
}
/* Fix image center alignment */
.wp-block-image.aligncenter {
display: block !important;
}
/* New gutenberg buttons */
.gb-btn,
.wp-block-file__button {
align-items: center;
border-radius: 50px;
color: white !important;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
cursor: pointer;
font-weight: 600;
line-height: 1.2em;
margin: 0;
padding: 12px 30px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition: all 0.2s ease-in-out;
font-size: 1rem;
user-select: none;
display: inline-flex;
border: 1px solid transparent;
}
.gb-btn:hover,
.wp-block-file__button:hover {
text-decoration: none !important;
}
.gb-btn::after,
.wp-block-file__button::after {
border-style: solid;
border-width: 2px 2px 0 0;
content: "";
display: inline-block;
height: 0.8em;
margin-left: 20px;
position: relative;
transform: rotate(45deg);
transition: all 0.3s ease;
vertical-align: top;
width: 0.8em;
}
.gb-btn:hover::after,
.wp-block-file__button:hover::after {
color: white !important;
margin-left: 30px;
margin-right: -10px;
}
.gb-btn-blauw,
.wp-block-file__button {
background: #0066b2;
}
.gb-btn-zwart {
background: #000000;
}
.gb-btn-groen {
background: #00a551;
}
/* Fix button arrow alignment */
.btn {
display: inline-flex !important;
}
.meer-nieuws {
display: inline-flex !important;
}
/* Hide reCAPTCHA badge */
.grecaptcha-badge {
visibility: hidden;
}
/* Animations! */
.news-item,
.gb-callout,
.item-archive,
.featured-item {
opacity: 0;
transition: all 1.5s;
transform: translateY(20px);
}
.appear {
opacity: 1;
transform: translateY(0);
}
/* Better breadcrumbs */
#breadcrumbs {
color: #696966;
margin: 0 0 3rem !important;
}
#breadcrumbs a {
color: #696966 !important;
}
.breadcrumb_last,
#breadcrumbs a {
font-size: 0.875rem !important;
}
#breadcrumbs > span {
display: flex;
gap: 10px;
}