Skip to content

Commit

Permalink
Update index.css
Browse files Browse the repository at this point in the history
Centered some buttons 🔥
  • Loading branch information
Squirrel authored Oct 23, 2024
1 parent 4e18cb7 commit baad1d8
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ body {
margin-top: 10px;
margin-right: 10px;
}

#weather-modal button#searchButton {
margin-left: 140px;
}
#weather-modal button:hover {
background-color: #0056b3;
}
Expand Down Expand Up @@ -343,6 +345,9 @@ marquee {
text-align: center;
line-height: 30px;
}
#weathercredit {
text-align: center;
}
@media (max-width: 600px) {


Expand Down Expand Up @@ -370,7 +375,33 @@ marquee {
#weather-modal .loading {
font-size: 14px;
}
#weather-modal button {
background-color: #007BFF;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 25px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
margin-top: 10px;
margin-right: 10px;
}
#weather-modal button#searchButton {
margin-left: 97px;
}
#weather-modal button:hover {
background-color: #0056b3;
}

#weather-modal button#geoButton {
background-color: #28a745;
margin-left: 63px;
}

#weather-modal button#geoButton:hover {
background-color: #1e7e34;
}
.search-box {
width: 90%;
}
Expand Down

0 comments on commit baad1d8

Please sign in to comment.