css pour page-node-type-static

This commit is contained in:
armansansd 2021-06-29 17:16:41 +02:00
parent 952d6d627e
commit 057fec6174
5 changed files with 41 additions and 20 deletions

View File

@ -4,7 +4,7 @@
# 'example.settings.local.php' file, which sits next to this file. # 'example.settings.local.php' file, which sits next to this file.
parameters: parameters:
http.response.debug_cacheability_headers: true http.response.debug_cacheability_headers: true
twig.config: twig.config:
# Twig debugging: # Twig debugging:
# #
# When debugging is enabled: # When debugging is enabled:

View File

@ -1446,7 +1446,7 @@ footer {
.path-centre-de-ressources .js-pager__items { .path-centre-de-ressources .js-pager__items {
text-align: center; } text-align: center; }
article h2, article h3, article h4, article h5, article h6 { article h2, article h3, article h4, article h5, article h6, .paragraph h2, .paragraph h3, .paragraph h4, .paragraph h5, .paragraph h6 {
font-family: "trueno"; font-family: "trueno";
font-weight: 600; font-weight: 600;
font-size: 0.8rem; font-size: 0.8rem;
@ -1454,9 +1454,24 @@ article h2, article h3, article h4, article h5, article h6 {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: .3rem; } margin-bottom: .3rem; }
article p { article p, .paragraph p {
margin-bottom: .5rem; } margin-bottom: .5rem; }
.block-region-third h2 {
font-size: 1rem;
background-color: black;
color: white;
padding: .3rem .5rem; }
.block-region-first {
background-color: black;
color: white; }
.block-region-first #node\:title {
text-transform: uppercase;
font-family: 'duke';
font-size: 1rem;
padding: .3rem .5rem; }
.page-node-type-programme .layout-content { .page-node-type-programme .layout-content {
position: relative; } position: relative; }
@ -1466,8 +1481,6 @@ article p {
.page-node-type-programme .block-region-first { .page-node-type-programme .block-region-first {
position: absolute; position: absolute;
background-color: black;
color: white;
top: 0; top: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
@ -1493,11 +1506,6 @@ article p {
margin-top: -7rem; margin-top: -7rem;
z-index: 20; z-index: 20;
position: relative; } position: relative; }
.page-node-type-programme .block-region-third h2 {
font-size: 1rem;
background-color: black;
color: white;
padding: .3rem .5rem; }
.page-node-type-programme .block-region-third #evenements-block_1 { .page-node-type-programme .block-region-third #evenements-block_1 {
background-color: brown; background-color: brown;
margin-bottom: 3rem; } margin-bottom: 3rem; }

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
article{ article, .paragraph{
h2,h3,h4,h5,h6{ h2,h3,h4,h5,h6{
font-family: "trueno"; font-family: "trueno";
@ -11,4 +11,23 @@ article{
p{ p{
margin-bottom: .5rem; margin-bottom: .5rem;
} }
}
.block-region-third{
h2{
font-size: $font-big;
background-color: black;
color: white;
padding: .3rem .5rem;
}
}
.block-region-first{
background-color: black;
color: white;
#node\:title{
text-transform: uppercase;
font-family: 'duke';
font-size: $font-big;
padding: .3rem .5rem;
}
} }

View File

@ -8,8 +8,7 @@
} }
.block-region-first{ .block-region-first{
position: absolute; position: absolute;
background-color: black;
color: white;
top: 0; top: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
@ -46,12 +45,7 @@
margin-top: -7rem; margin-top: -7rem;
z-index: 20; z-index: 20;
position: relative; position: relative;
h2{
font-size: $font-big;
background-color: black;
color: white;
padding: .3rem .5rem;
}
#evenements-block_1{ #evenements-block_1{
background-color: brown; background-color: brown;
margin-bottom: 3rem; margin-bottom: 3rem;