-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
275 lines (228 loc) · 9 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
/*
Theme Name: Ensemble
Author: imath
Description: Ensemble utilise les gabarits de bloc pour afficher les contenus d'un site WordPress.
Version: 1.2.0-alpha
Requires at least: 6.1
Tested up to: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: /LICENSE
Text Domain: ensemble
Tags: blog, one-column, featured-images, full-site-editing, block-patterns, translation-ready, post-formats
*/
a {
text-underline-position: under;
}
.site-header {
background-color: var(--wp--preset--color--bleu-tres-fonce);
}
.site-header .wp-block-site-title a,
.site-header .wp-block-site-tagline {
color: var(--wp--preset--color--tertiaire);
}
.site-header .wp-block-site-title a {
text-decoration: none;
}
.site-header .wp-block-site-tagline,
body .is-layout-constrained .navigation-top {
margin-block-start: 0;
}
.site-header .search-form-container {
margin-left: auto;
background-color: var(--wp--preset--color--tertiaire);
}
.site-header .search-form-container .wp-block-search__input {
font-size: var(--wp--preset--font-size--petite);
}
.site-header .search-form-container .wp-block-search__button {
background-color: initial;
color: var(--wp--preset--color--bleu-tres-fonce);
border-width: 0;
padding: 0;
}
.navigation-top {
background: #fff;
border-bottom: 1px solid #eee;
border-top: 1px solid #eee;
position: relative;
}
.navigation-top nav ul > li > a,
.navigation-top [data-type="core/navigation-link"] a,
.navigation-top [data-type="core/navigation-submenu"] a {
text-decoration: none;
padding: 1em 1.25em;
}
.navigation-top nav ul a:hover {
color: var(--wp--preset--color--secondaire);
}
@media screen and (max-width: 37.5em) {
.site-header > .wp-block-group .is-content-justification-flex-start,
.navigation-top > .wp-block-group {
justify-content: center;
}
.site-header > .wp-block-group .is-content-justification-flex-start .search-form-container {
margin-left: 0;
}
.site-header .header-logo {
width: 100%;
}
.site-header .wp-block-site-logo {
margin: 0 auto;
width: fit-content;
}
.site-header .wp-block-site-title,
.site-header .wp-block-site-tagline {
text-align: center;
}
.navigation-top .wp-block-navigation__responsive-container-open {
padding: 0.5em 0;
}
}
@media screen and (min-width: 37.5em) {
.navigation-top ul.wp-block-navigation__container > li.current-menu-item > a,
.navigation-top ul.wp-block-navigation__container > li.current-menu-ancestor > a,
body.blog .navigation-top ul.wp-block-navigation__container > li.home-page > a,
body.single .navigation-top ul.wp-block-navigation__container > li.home-page > a,
body.archive .navigation-top ul.wp-block-navigation__container > li.home-page > a,
body.search .navigation-top ul.wp-block-navigation__container > li.home-page > a,
body.page-template-search-page .navigation-top ul.wp-block-navigation__container > li.home-page > a,
body.home .navigation-top ul.wp-block-navigation__container > li.home-page > a {
box-shadow: inset 0 -1px 0 var(--wp--preset--color--bleu-tres-fonce);
}
}
.has-modal-open .wp-block-navigation__container {
padding-left: 1em;
}
.has-modal-open .wp-block-navigation__container a {
text-decoration: underline;
text-underline-position: under;
}
body:not(.page-template-about-me) .wp-site-blocks > main {
padding-top: 0.5em;
}
body.page-template-about-me .wp-site-blocks > main {
margin-block-start: 0;
}
@media screen and (max-width: 37.5em) {
.wp-site-blocks > main .wp-block-post > :not(.alignfull),
.wp-site-blocks > main .entry-content.alignfull > :not(.alignfull),
body.archive .archive-header,
body.page .wp-block-post-title,
body.single .entry-header .wp-block-post-title,
body.single .entry-header > .wp-block-group,
body.single .wp-block-post-content > :not(.alignfull),
body.single .entry-footer,
body.single .entry-comments,
body.page-template-contact-page .wp-block-post-comments-form {
padding-left: 1em;
padding-right: 1em;
}
body.single .is-layout-constrained > ul:where(:not(.alignleft):not(.alignright):not(.alignfull)) li {
margin-left: 1em;
}
}
main .archive-header,
main .search-header {
border-bottom: solid 1px var(--wp--preset--color--bleu-tres-fonce);
}
.entry-header .is-layout-flex,
.entry-footer .is-layout-flex {
gap: 5px;
}
figure.wp-block-ensemble-image-a-la-une {
max-width: 800px;
margin-bottom: 24px;
}
.entry-header .wp-block-ensemble-image-a-la-une img,
body.page .wp-block-ensemble-image-a-la-une img {
max-width: 100%;
height: auto;
}
.entry-header .wp-block-ensemble-image-a-la-une .wp-element-caption,
body.page .wp-block-ensemble-image-a-la-une .wp-element-caption {
text-align: center;
font-size: var(--wp--preset--font-size--ultra-petite);
}
.entry-content .ensemble-more-link {
margin-block-end: var(--wp--style--block-gap);
}
.entry-content .wp-block-cover .has-tertiaire-color a {
color: var(--wp--preset--color--tertiaire);
}
.entry-content .wp-block-table {
border-collapse: collapse;
}
.signet-content .entry-content,
.breve-content .entry-content {
max-width: 95%;
}
.breve-content .entry-content p {
border-radius: 5px;
background-color: var(--wp--preset--color--gris-tres-leger);
color: var(--wp--preset--color--bleu-tres-fonce);
max-width: 560px;
margin-left: auto !important;
margin-right: auto !important;
padding: 20px;
font-size: 1.15rem;
font-style: italic;
}
.post_format-post-format-link .wp-block-post-date,
.post_format-post-format-status .wp-block-post-date,
.single-format-status .wp-block-post-date,
.single-format-link .wp-block-post-date {
font-weight: 700;
}
.wp-block-embed.aligncenter iframe {
margin-left: auto;
margin-right: auto;
display: block;
}
body:not(.wp-admin) .plugin-card {
margin: 1.5em auto;
}
.wp-block-gallery:not(.has-nested-images), .blocks-gallery-grid:not(.has-nested-images) {
padding-top: 1em;
}
.post-navigation-link-previous:not(:empty):before {
content: '← ';
}
.post-navigation-link-next:not(:empty):after {
content: ' →';
}
.wp-block-comment-author-name a {
color: var(--wp--preset--color--black);
font-weight: 700;
}
.wp-block-comment-content blockquote {
border-left: solid 3px var(--wp--preset--color--bleu-tres-fonce);
margin: 0;
padding: 0 1.5em;
}
.site-footer {
margin-top: 2.5em;
padding-bottom: 1.5em;
border-top: solid 1px #eee;
}
/*
* As the `block_core_social_link_services()` do not provide a filter to extend
* social services, I use the following workaround to replace the default link by
* a paypal one.
*/
.site-footer .wp-block-social-links .paypal-imath {
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' focusable='false'%3E%3Cpath d='M 14.635 1.951 C 13.765 0.958 12.196 0.534 10.186 0.534 L 4.355 0.534 C 3.943 0.534 3.593 0.832 3.527 1.238 L 1.101 16.639 C 1.052 16.944 1.288 17.218 1.596 17.218 L 5.197 17.218 L 6.101 11.484 L 6.071 11.662 C 6.136 11.256 6.484 10.957 6.894 10.957 L 8.605 10.957 C 11.967 10.957 14.597 9.593 15.367 5.643 C 15.389 5.526 15.41 5.412 15.428 5.302 C 15.33 5.25 15.33 5.25 15.428 5.302 C 15.654 3.841 15.423 2.847 14.635 1.951' fill='%2327346A'%3E%3C/path%3E%3Cpath d='M 7.478 4.775 C 7.577 4.728 7.683 4.705 7.792 4.705 L 12.366 4.705 C 12.906 4.705 13.41 4.739 13.875 4.813 C 14.003 4.836 14.131 4.859 14.258 4.889 C 14.44 4.928 14.618 4.976 14.794 5.035 C 15.02 5.11 15.232 5.2 15.428 5.302 C 15.654 3.841 15.423 2.847 14.635 1.951 C 13.765 0.958 12.196 0.534 10.186 0.534 L 4.355 0.534 C 3.943 0.534 3.593 0.834 3.527 1.238 L 1.101 16.639 C 1.052 16.944 1.288 17.218 1.596 17.218 L 5.197 17.218 L 7.072 5.321 C 7.109 5.084 7.26 4.879 7.478 4.775 Z' fill='%2327346A'%3E%3C/path%3E%3Cpath d='M 15.367 5.643 C 14.597 9.593 11.967 10.957 8.605 10.957 L 6.894 10.957 C 6.483 10.957 6.136 11.256 6.071 11.662 L 4.947 18.794 C 4.906 19.059 5.111 19.3 5.38 19.3 L 8.414 19.3 C 8.773 19.3 9.08 19.039 9.135 18.684 L 9.165 18.529 L 9.738 14.905 L 9.775 14.704 C 9.829 14.35 10.136 14.087 10.494 14.087 L 10.949 14.087 C 13.89 14.087 16.191 12.893 16.864 9.438 C 17.146 7.995 17.001 6.789 16.257 5.943 C 16.032 5.687 15.751 5.475 15.428 5.302 C 15.41 5.412 15.389 5.526 15.367 5.643 Z' fill='%232790C3'%3E%3C/path%3E%3Cpath d='M 14.622 4.98 C 14.501 4.945 14.38 4.915 14.258 4.889 C 14.131 4.861 14.004 4.837 13.875 4.816 C 13.41 4.739 12.906 4.705 12.366 4.705 L 7.794 4.705 C 7.683 4.705 7.577 4.728 7.478 4.777 C 7.26 4.879 7.109 5.085 7.073 5.323 L 6.101 11.484 L 6.071 11.662 C 6.136 11.256 6.484 10.957 6.894 10.957 L 8.605 10.957 C 11.967 10.957 14.597 9.593 15.367 5.643 C 15.389 5.526 15.41 5.412 15.428 5.302 C 15.232 5.201 15.021 5.11 14.796 5.035 C 14.736 5.017 14.679 4.999 14.622 4.98' fill='%231F264F'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
}
.site-footer .wp-block-social-links .paypal-imath svg {
visibility: hidden;
}
@media screen and (max-width: 37.5em) {
.site-footer > .wp-block-group .is-content-justification-space-between {
justify-content: center;
}
.site-footer > .wp-block-group .is-content-justification-space-between .has-text-align-right {
text-align: center;
}
}