Browse Source

css pour page-node-type-static

armansansd 3 years ago
parent
commit
057fec6174

+ 1 - 1
web/sites/development.services.yml

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

+ 17 - 9
web/themes/custom/popsu/css/styles.css

@@ -1446,7 +1446,7 @@ footer {
   .path-centre-de-ressources .js-pager__items {
     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-weight: 600;
   font-size: 0.8rem;
@@ -1454,9 +1454,24 @@ article h2, article h3, article h4, article h5, article h6 {
   margin-top: 1rem;
   margin-bottom: .3rem; }
 
-article p {
+article p, .paragraph p {
   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 {
   position: relative; }
 
@@ -1466,8 +1481,6 @@ article p {
 
 .page-node-type-programme .block-region-first {
   position: absolute;
-  background-color: black;
-  color: white;
   top: 0;
   left: 0;
   z-index: 10;
@@ -1493,11 +1506,6 @@ article p {
   margin-top: -7rem;
   z-index: 20;
   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 {
     background-color: brown;
     margin-bottom: 3rem; }

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/css/styles.css.map


+ 20 - 1
web/themes/custom/popsu/sass/pages/_default.scss

@@ -1,4 +1,4 @@
-article{
+article, .paragraph{
 
     h2,h3,h4,h5,h6{
         font-family: "trueno";
@@ -11,4 +11,23 @@ article{
     p{
         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;
+    }
 }

+ 2 - 8
web/themes/custom/popsu/sass/pages/_page--node.scss

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

Some files were not shown because too many files changed in this diff