h1 center

This commit is contained in:
Lanta 2023-11-06 09:24:51 +01:00
parent 3c4e8f3513
commit 6bb27ec34f

View file

@ -70,14 +70,24 @@ header, main, footer {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} }
header h1, section h2 { header h1 {
border-bottom: 1px solid white; border-bottom: 1px solid white;
margin-bottom: 10px; margin-bottom: 10px;
padding-bottom: 5px; padding-bottom: 5px;
font-family: 'Bungee Spice' font-family: 'Bungee Spice';
text-align: center; /* Centers the text horizontally */
margin-left: auto;
margin-right: auto;
} }
section h2 {
border-bottom: 1px solid white;
margin-bottom: 10px;
padding-bottom: 5px;
font-family: 'Bungee Spice';
}
footer { footer {
text-align: center; text-align: center;
} }