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

Enhanced General Root Calculator UI #1026

Merged
merged 17 commits into from
Jun 1, 2024
Merged
Changes from 14 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
52 changes: 28 additions & 24 deletions Calculators/General-Root-Calculator/style.css
Original file line number Diff line number Diff line change
@@ -1,42 +1,39 @@
html {
background-color: rgb(62, 62, 62);
}

body {
font-family: Arial, sans-serif;
text-align: center;
margin-top: 50px;
background-color: transparent;
}

h1 {
color: #333;
background-color: #0fbee1;
margin: 0;
padding: 0;
}

.container {
width: 50%;
margin: 0 auto;
background-color: #fff;
width: 90%;
max-width: 600px; /* Adjust according to your preference */
margin: 50px auto;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
}

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

input[type="number"] {
padding: 8px;
margin: 10px;
width: 200px;
input[type="number"], button {
padding: 10px 15px;
margin: 10px 0;
width: 100%;
font-size: 16px;
border: none;
border-radius: 4px;
box-sizing: border-box;
}

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

button:hover {
Expand All @@ -47,4 +44,11 @@ button:hover {
margin-top: 20px;
font-size: 18px;
color: #333;
}
}

@media screen and (max-width: 600px) {
.container {
width: 100%;
margin: 20px auto;
}
}