css fices

This commit is contained in:
tavo-wasd 2024-01-19 16:25:23 -06:00
parent 946c8da44d
commit 6f37f37b8e

View file

@ -18,7 +18,7 @@ body {
box-shadow: 0 15vh 30vh black inset; box-shadow: 0 15vh 30vh black inset;
background-position: 50%; background-position: 50%;
background-size: cover; background-size: cover;
margin-bottom: 4vh; margin-bottom: 2vh;
} }
div.desc { div.desc {
@ -30,7 +30,7 @@ div.desc {
div.banner h1 { div.banner h1 {
color: white; color: white;
line-height: 1vh; margin-bottom: 0.1em;
} }
div.banner p { div.banner p {
@ -63,11 +63,15 @@ input {
div.cardscontainer { div.cardscontainer {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
display: grid; display: grid;
line-height: 1.1em; line-height: 0.2em;
margin: 0 auto; margin: 0 auto;
width: 90%; width: 90%;
} }
div.cardscontainer p {
line-height: 1.2em;
}
div.card { div.card {
color: black; color: black;
border-radius: 10px; border-radius: 10px;
@ -98,6 +102,15 @@ div.card:hover {
line-height: 1.4em; line-height: 1.4em;
} }
.content img {
margin: 0 auto;
width: 100%;
}
.content p {
text-align: justify;
}
/* FOOTER */ /* FOOTER */
footer { footer {