Skip to content

Commit

Permalink
Color of text and background color changed for better accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanzigzan committed Apr 8, 2024
1 parent cb18b25 commit 0fae8dd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body, h1, h2, h3, p, ul, li, dl, dt, dd {
}

h4, h1 {
color: #E50914;
color: #FF4747;
}

body {
Expand Down Expand Up @@ -38,7 +38,7 @@ body {
/* Header */
header {
display: block;
background: #E50914;
background: #FF4747;
color: #fff;
padding: 10px;
text-align: center;
Expand Down Expand Up @@ -81,7 +81,7 @@ nav ul li {
}

nav ul li a {
color: #E50914;
color: #FF4747;
text-decoration: none;
font-weight: bold;
padding: 10px 20px;
Expand All @@ -93,7 +93,7 @@ nav ul li a {

nav ul li a:hover {
color: #fff;
background-color: #E50914;
background-color: #FF4747;
transform: translateY(-5px);
}

Expand All @@ -113,19 +113,19 @@ nav ul li a:hover {
width: 200px;
height: 350px;
border-radius: 15px;
border: 2px solid #E50914;
border: 2px solid #FF4747;
}

main {
flex: 2;
padding: 20px;
border: 1px solid #E50914;
border: 1px solid #FF4747;
background-color: #333333;
border-radius: 15px;
}

main a {
color: #E50914;
color: #FF4747;
text-decoration: underline;
font-weight: bold;
}
Expand All @@ -139,7 +139,7 @@ main a:hover {
/* Main Content Details */
dt {
font-weight: bold;
color: #E50914;
color: #FF4747;
margin-bottom: 5px;
}

Expand Down

0 comments on commit 0fae8dd

Please sign in to comment.