浏览代码

Merge branch 'master' of https://figureslibres.io/gogs/kevin/Popsu-coloque

ouidade 3 周之前
父节点
当前提交
de03321a65

+ 1 - 3
web/themes/custom/colloque2024/css-compiled/index.css

@@ -514,7 +514,6 @@ footer h2 {
 
 body #content-ontop {
   position: relative;
-  top: -1400px;
   padding-top: 5rem; }
   @media screen and (max-width: 300px) {
     body #content-ontop {
@@ -523,8 +522,7 @@ body #content-ontop {
 body #background-animated {
   width: 100VW;
   z-index: -1;
-  position: relative;
-  left: -400px; }
+  position: absolute; }
 
 article.publications, article.interviews {
   margin-top: 1rem; }

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

@@ -8,7 +8,6 @@
 
 body #content-ontop {
   position: relative;
-  top: -1400px;
   padding-top: 5rem; }
   @media screen and (max-width: 300px) {
     body #content-ontop {
@@ -17,8 +16,7 @@ body #content-ontop {
 body #background-animated {
   width: 100VW;
   z-index: -1;
-  position: relative;
-  left: -400px; }
+  position: absolute; }
 
 article.publications, article.interviews {
   margin-top: 1rem; }

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

@@ -11,7 +11,7 @@ main:not(.home) {
 body {
  #content-ontop{
  position: relative;
- top: -1400px;
+//  top: -1400px;
  padding-top: 5rem;
  @media screen and (max-width: 300px) {
   padding-top: 2rem;
@@ -20,8 +20,8 @@ body {
  #background-animated{
   width: 100VW;
   z-index: -1;
-  position: relative;
-  left: -400px;
+  position: absolute;
+  // left: -400px;
  }
 }
 

+ 3 - 3
web/themes/custom/colloque2024/template/page--front.html.twig

@@ -61,9 +61,7 @@
 
   <main role="main" id="mainHome" class="d-flex container home">
     <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
-
-    <div class="layout-content">
-      <div id="background-animated" >
+<div id="background-animated" >
         <svg
           width="1900"
           height="1500"
@@ -184,6 +182,8 @@
         </svg>
 
       </div>
+    <div class="layout-content">
+      
       <div id="content-ontop">
         <div>
         {{ page.content }}