From 71c22e5bad9dcdd7b097fd06b63d77bea8ce4667 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 24 May 2024 15:06:29 +0200 Subject: [PATCH] position background --- .../custom/colloque2024/css-compiled/index.css | 18 ++++++++++-------- .../colloque2024/css-compiled/pages/layout.css | 18 ++++++++++-------- .../custom/colloque2024/css/pages/front.scss | 3 --- .../custom/colloque2024/css/pages/layout.scss | 4 +++- .../colloque2024/css/pages/presentation.scss | 1 + 5 files changed, 24 insertions(+), 20 deletions(-) diff --git a/web/themes/custom/colloque2024/css-compiled/index.css b/web/themes/custom/colloque2024/css-compiled/index.css index 6bc406b6..b319d50a 100644 --- a/web/themes/custom/colloque2024/css-compiled/index.css +++ b/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; } diff --git a/web/themes/custom/colloque2024/css-compiled/pages/layout.css b/web/themes/custom/colloque2024/css-compiled/pages/layout.css index 248a3f05..019f08d0 100644 --- a/web/themes/custom/colloque2024/css-compiled/pages/layout.css +++ b/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; } diff --git a/web/themes/custom/colloque2024/css/pages/front.scss b/web/themes/custom/colloque2024/css/pages/front.scss index 51f52172..d3117ff1 100644 --- a/web/themes/custom/colloque2024/css/pages/front.scss +++ b/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; diff --git a/web/themes/custom/colloque2024/css/pages/layout.scss b/web/themes/custom/colloque2024/css/pages/layout.scss index c707b1a2..4939b69f 100644 --- a/web/themes/custom/colloque2024/css/pages/layout.scss +++ b/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 { } -//////////////////////////////// \ No newline at end of file +//////////////////////////////// diff --git a/web/themes/custom/colloque2024/css/pages/presentation.scss b/web/themes/custom/colloque2024/css/pages/presentation.scss index 82aff371..b6a1b264 100644 --- a/web/themes/custom/colloque2024/css/pages/presentation.scss +++ b/web/themes/custom/colloque2024/css/pages/presentation.scss @@ -1,4 +1,5 @@ #presentation{ + margin-top: 0.5rem; .__title{ h2{