Skip to content

Commit

Permalink
Create index.css
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 authored Sep 26, 2024
1 parent c5b3dac commit 943f0b3
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/* Set body background and typography */
body {
font-family: 'Helvetica', sans-serif;
background-color: #181818;
color: #f0f0f0;
margin: 0;
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}

/* Bold title */
b {
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: none;
padding: 0;
margin: 20px 0;
}

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

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

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 {
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 943f0b3

Please sign in to comment.