Update and rename style.css to styles.css

This commit is contained in:
Ray 2024-08-22 14:25:25 +10:00 committed by GitHub
parent 83747e8fc2
commit eecf7b47ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 24 deletions

View File

@ -1,24 +0,0 @@
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
/* Change the link color to #111 (black) on hover */
li a:hover {
background-color: #111;
}

19
styles.css Normal file
View File

@ -0,0 +1,19 @@
body {
margin: 0;
padding: 0;
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
.centered-content {
text-align: center;
}
h1 {
font-size: 4em;
color: #333;
}