Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added styling to the drink water extension #366

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 55 additions & 4 deletions Drink Water Extension/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,62 @@
body{
body {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
margin: 20px;
text-align: center;
}
input{

input[type="number"] {
margin-top: 10px;
margin-bottom: 20px;
padding: 10px;
border: 2px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
button{

button {
margin-bottom: 10px;
}
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}

button:hover {
background-color: #45a049;
}

.container {
width: 50%;
margin: 0 auto;
padding: 20px;
margin-top: 50px;
}

h1 {
color: #333;
text-align: center;
}

.notification-icon {
width: 32px;
height: 32px;
border-radius: 50%;
background-color: #4CAF50;
display: inline-block;
vertical-align: middle;
margin-right: 10px;
animation: pulse 1s infinite alternate;
}

@keyframes pulse {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
Loading