-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (105 loc) · 4.17 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
/*
Theme Name: CoderDojo Twenty-Two
Text Domain: coderdojo
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Author: Anthony Nolan
Author URI: https://wordpress.org/
Theme URI: https://wordpress.org/themes/twentytwenty/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
html {
font-size: clamp(1em, 3vmin, 1.25em)
}
body {
-webkit-font-smoothing: antialiased;
text-size-adjust: 100%;
}
header > .has-purple-20-white-background-color {
background: linear-gradient(90deg, #FFFFFF 50%, #71458C 50%) !important;
}
header > .has-global-padding > .wp-block-group {
gap: 0;
}
header .wp-block-navigation {
margin-top: -1px;
flex-grow: 1;
background-color: #71458C;
background-image: url(assets/images/coderdojo-nav-light-bg.svg);
background-repeat: no-repeat;
}
#hero {
background-image: url(assets/images/stars-and-lightning.svg), url(assets/images/stars-and-lightning-reversed.svg);
background-position: left center, right center;
background-repeat: no-repeat, no-repeat;
padding-block: 1.875rem;
}
.wp-block-media-text.alignwide.is-stacked-on-mobile > .wp-block-media-text__media > img {
border-radius: 10px;
}
.wp-block-video > video {
border-radius: 10px;
}
@media (max-width: 600px) {
.wp-block-media-text.alignwide.is-stacked-on-mobile > .wp-block-media-text__media {
padding-left: min(5vw, 3.75rem);
padding-right: min(5vw, 3.75rem);
}
}
@media (min-width: 600px) {
.wp-block-media-text.alignwide.has-media-on-the-right.is-stacked-on-mobile > .wp-block-media-text__content {
padding-left: 0;
padding-right: calc(8rem * 0.625);
}
.wp-block-media-text.alignwide.is-stacked-on-mobile > .wp-block-media-text__content {
padding-left: calc(8rem * 0.625);
padding-right: 0;
}
.wp-block-cards > .wp-block-column > :not(figure),
.wp-block-cards > .wp-block-post > :not(figure) {
padding-left: 20px;
padding-right: 20px;
}
}
.wp-block-cards {
gap: 2em;
}
.wp-block-cards > .wp-block-column,
.wp-block-cards > .wp-block-post,
.wp-block-card {
background-color: #FFFFFF;
border-radius: 10px;
box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.15);
}
.wp-block-cards > .wp-block-post > figure {
padding: 0;
}
.wp-block-cards > .wp-block-column > figure > img,
.wp-block-cards > .wp-block-post > figure img {
border-radius: 10px 10px 0 0;
}
@media (max-width: 600px) {
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
grid-column: 1;
grid-row: 1;
}
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
grid-column: 1;
grid-row: 2;
}
}
.wp-block-button__link {
border-color: var(--wp--preset--color--coderdojo-purple);
}
.wp-block-button__link.has-white-background-color {
border-color: var(--wp--preset--color--white);
}