background to html

This commit is contained in:
Lanta 2023-10-04 09:07:39 +02:00
parent a2bb9f8898
commit 4423268efe

View file

@ -8,13 +8,17 @@ body, h1, h2, p, ul, li, a {
text-decoration: none; text-decoration: none;
} }
html {
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
height: 100%;
overflow-x: auto;
}
body { body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
color: white; color: white;
min-height: 100vh; /* 100% of the viewport's height */ min-height: 100%;
display: flex; margin: 0; /* Ensure there's no default margin */
flex-direction: column;
} }