This commit is contained in:
2024-05-02 11:13:57 +02:00
4 changed files with 8 additions and 12 deletions
@@ -514,7 +514,6 @@ footer h2 {
body #content-ontop { body #content-ontop {
position: relative; position: relative;
top: -1400px;
padding-top: 5rem; } padding-top: 5rem; }
@media screen and (max-width: 300px) { @media screen and (max-width: 300px) {
body #content-ontop { body #content-ontop {
@@ -523,8 +522,7 @@ body #content-ontop {
body #background-animated { body #background-animated {
width: 100VW; width: 100VW;
z-index: -1; z-index: -1;
position: relative; position: absolute; }
left: -400px; }
article.publications, article.interviews { article.publications, article.interviews {
margin-top: 1rem; } margin-top: 1rem; }
@@ -8,7 +8,6 @@
body #content-ontop { body #content-ontop {
position: relative; position: relative;
top: -1400px;
padding-top: 5rem; } padding-top: 5rem; }
@media screen and (max-width: 300px) { @media screen and (max-width: 300px) {
body #content-ontop { body #content-ontop {
@@ -17,8 +16,7 @@ body #content-ontop {
body #background-animated { body #background-animated {
width: 100VW; width: 100VW;
z-index: -1; z-index: -1;
position: relative; position: absolute; }
left: -400px; }
article.publications, article.interviews { article.publications, article.interviews {
margin-top: 1rem; } margin-top: 1rem; }
@@ -11,7 +11,7 @@ main:not(.home) {
body { body {
#content-ontop{ #content-ontop{
position: relative; position: relative;
top: -1400px; // top: -1400px;
padding-top: 5rem; padding-top: 5rem;
@media screen and (max-width: 300px) { @media screen and (max-width: 300px) {
padding-top: 2rem; padding-top: 2rem;
@@ -20,8 +20,8 @@ body {
#background-animated{ #background-animated{
width: 100VW; width: 100VW;
z-index: -1; z-index: -1;
position: relative; position: absolute;
left: -400px; // left: -400px;
} }
} }
@@ -61,9 +61,7 @@
<main role="main" id="mainHome" class="d-flex container home"> <main role="main" id="mainHome" class="d-flex container home">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<div id="background-animated" >
<div class="layout-content">
<div id="background-animated" >
<svg <svg
width="1900" width="1900"
height="1500" height="1500"
@@ -184,6 +182,8 @@
</svg> </svg>
</div> </div>
<div class="layout-content">
<div id="content-ontop"> <div id="content-ontop">
<div> <div>
{{ page.content }} {{ page.content }}