Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Nova-lotus authored Sep 30, 2023
1 parent 0ecc34b commit a6f909a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,40 @@ body {
text-align: center;
}

/* Regular styles for screens wider than 768px (desktop) */
body {
background-color: #f0f0f0;
font-size: 16px;
}

.header {
background-color: #333;
color: #fff;
padding: 20px;
}

.container {
width: 80%;
margin: 0 auto;
}

/* Media query for screens up to 768px wide (mobile) */
@media (max-width: 768px) {
body {
background-color: #e0e0e0;
font-size: 14px;
}

.header {
background-color: #666;
padding: 10px;
}

.container {
width: 90%;
}
}

/* Style the header */
h1 {
background-color: #4CAF50;
Expand Down

0 comments on commit a6f909a

Please sign in to comment.