Parcourir la source

position background

ouidade il y a 10 mois
Parent
commit
71c22e5bad

+ 10 - 8
web/themes/custom/colloque2024/css-compiled/index.css

@@ -504,13 +504,14 @@ footer h2 {
     transform: rotate(90deg);
     transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); }
 
-@media screen and (min-width: 768px) {
-  main:not(.home) {
-    padding: 1.5rem 0 !important; } }
-
-@media screen and (min-width: 992px) {
-  main:not(.home) {
-    padding: 4rem 0 !important; } }
+main:not(.home) {
+  padding-top: 1.5rem; }
+  @media screen and (min-width: 768px) {
+    main:not(.home) {
+      padding: 1.5rem 0 !important; } }
+  @media screen and (min-width: 992px) {
+    main:not(.home) {
+      padding: 4rem 0 !important; } }
 
 body #content-ontop {
   position: relative;
@@ -523,7 +524,8 @@ body #background-animated {
   width: 100VW;
   z-index: -1;
   position: absolute;
-  overflow: hidden; }
+  overflow: hidden;
+  left: 0; }
 
 article.publications, article.interviews {
   margin-top: 1rem; }

+ 10 - 8
web/themes/custom/colloque2024/css-compiled/pages/layout.css

@@ -1,10 +1,11 @@
-@media screen and (min-width: 768px) {
-  main:not(.home) {
-    padding: 1.5rem 0 !important; } }
-
-@media screen and (min-width: 992px) {
-  main:not(.home) {
-    padding: 4rem 0 !important; } }
+main:not(.home) {
+  padding-top: 1.5rem; }
+  @media screen and (min-width: 768px) {
+    main:not(.home) {
+      padding: 1.5rem 0 !important; } }
+  @media screen and (min-width: 992px) {
+    main:not(.home) {
+      padding: 4rem 0 !important; } }
 
 body #content-ontop {
   position: relative;
@@ -17,7 +18,8 @@ body #background-animated {
   width: 100VW;
   z-index: -1;
   position: absolute;
-  overflow: hidden; }
+  overflow: hidden;
+  left: 0; }
 
 article.publications, article.interviews {
   margin-top: 1rem; }

+ 0 - 3
web/themes/custom/colloque2024/css/pages/front.scss

@@ -127,9 +127,6 @@ header {
        font-size: 3.5rem;
        order: 3;
       }
-      @media  (min-width: 300px) {
-        
-      }
     }
     div:nth-of-type(2){
       grid-column: 1 / 4;

+ 3 - 1
web/themes/custom/colloque2024/css/pages/layout.scss

@@ -1,4 +1,5 @@
 main:not(.home) {
+  padding-top: 1.5rem;
   @media screen and (min-width: 768px) {
     padding: 1.5rem 0 !important;
   }
@@ -22,6 +23,7 @@ body {
   z-index: -1;
   position: absolute;
   overflow: hidden;
+  left: 0;
  }
 }
 
@@ -51,4 +53,4 @@ article {
   
 }
 
-////////////////////////////////
+////////////////////////////////

+ 1 - 0
web/themes/custom/colloque2024/css/pages/presentation.scss

@@ -1,4 +1,5 @@
 #presentation{
+
   margin-top: 0.5rem;
   .__title{
     h2{