Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 authored Sep 26, 2024
1 parent 638d087 commit b6ca68a
Showing 1 changed file with 38 additions and 14 deletions.
52 changes: 38 additions & 14 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,78 @@
/* Apply a simple font and background */
/* Set body background and typography */
body {
font-family: 'Arial', sans-serif;
font-family: 'Helvetica', sans-serif;
background-color: #181818;
color: #e0e0e0;
color: #f0f0f0;
margin: 0;
padding: 0;
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}

/* Bold title */
b {
font-size: 24px;
margin-top: 20px;
font-size: 28px;
margin-bottom: 15px;
display: block;
}

/* Styling for links */
a {
color: #ff91a4;
text-decoration: none;
font-size: 18px;
}

a:hover {
text-decoration: underline;
}

/* Remove default list styling */
ul {
list-style-type: none;
list-style: none;
padding: 0;
margin: 20px 0;
}

ul a {
display: block;
padding: 10px;
/* Style the list items */
ul li {
background-color: #282828;
border-radius: 5px;
margin: 5px;
padding: 10px;
margin: 10px 0;
transition: background-color 0.3s ease;
}

ul a:hover {
/* Change background color on hover */
ul li:hover {
background-color: #ff91a4;
color: #181818;
}

/* Center content vertically and horizontally */
ul li a {
color: inherit; /* Match the text color of the li */
}

ul li a:hover {
text-decoration: none;
}

/* Ensure everything stacks vertically */
html, body {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
margin: 0;
padding: 0;
}

br {
margin-bottom: 10px;
}

0 comments on commit b6ca68a

Please sign in to comment.