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

Made Age Calculator responsive #1256

Merged
merged 17 commits into from
Jun 11, 2024
40 changes: 39 additions & 1 deletion Calculators/Age-Calculator/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,42 @@

#close-alert:hover {
background-color: #f8d7da;
}
}

@media (max-width: 768px) {
#heading h1 {
font-size: 1.5em;
}

#onetwo button {
margin: 0 0 4px;
padding: 5px;
font-size: 0.9em;
}

#ip1,
#ip2 {
font-size: 1em;
height: 2.2vmax;
padding-left: 1.2vmax;
padding-right: 1.2vmax;
}
}

@media (max-width: 576px) {
#main {
padding: 20px;
}

#heading h1 {
font-size: 1.2em;
}

#twotwo h2 {
font-size: 1.5vmax;
}

#twoone img {
height: 25vmax;
}
}