Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hamocodes authored Nov 2, 2024
1 parent 7d093d5 commit 8fa7aa0
Show file tree
Hide file tree
Showing 5 changed files with 495 additions and 0 deletions.
121 changes: 121 additions & 0 deletions css/bmi.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/* BMI Calculator Container */
.bmi-container {
max-width: 600px;
margin: 60px auto;
padding: 40px;
background-color: #333; /* Dark gray background */
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
text-align: center;
}

.bmi-container h2 {
font-size: 30px;
font-weight: bold;
margin-bottom: 20px;
color: #f7f7f7;
}

.bmi-container p {
font-size: 16px;
color: #f7f7f7;
margin-bottom: 30px;
}

/* BMI Form Styles */
.bmi-form {
display: flex;
flex-direction: column;
gap: 20px;
}

.bmi-form label {
color: #f7f7f7;
font-weight: bold;
}

.label {
color: #f7f7f7;
font-weight: bold;
}

.bmi-form input,
.bmi-form textarea {
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
background-color: #444; /* Dark gray input background */
color: #f0f0f0; /* Light text */
}

.bmi-form input:focus,
.bmi-form textarea:focus {
outline: none;
background-color: #555; /* Slightly lighter on focus */
}

textarea {
resize: none;
}
/* Calculate Button */
.bmi-form button {
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #444; /* Dark button */
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.bmi-form button:hover {
background-color: #666; /* Lighter on hover */
}

/* Result Display */
#result {
font-size: 16px;
color: #f7f7f7;
margin-top: 20px;
}

#bmi {
font-size: 16px;
padding: 8px;
border: none;
border-radius: 5px;
background-color: #444;
color: #f0f0f0;
}

/* Text Area for Expert Advice */
#expert-opinion {
width: 100%;
font-size: 16px;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #444;
color: #f0f0f0;
}

/* Print and Reload Buttons */
.bmi-container button {
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #444;
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
margin: 10px;
}

.bmi-container button:hover {
background-color: #666;
}
137 changes: 137 additions & 0 deletions css/bmr.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@


/* BMR Calculator Container */
.bmr-container {
max-width: 600px;
margin: 60px auto;
padding: 40px;
background-color: #333; /* Dark gray background */
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
text-align: center;
}

.bmr-container h2 {
font-size: 30px;
font-weight: bold;
margin-bottom: 20px;
color: #f7f7f7;
}

.bmr-container p {
font-size: 16px;
color: #f7f7f7;
margin-bottom: 30px;
}

/* BMR Form Styles */
#bmr-form {
display: flex;
flex-direction: column;
gap: 20px;
}

#bmr-form label {
color: #f7f7f7;
font-weight: bold;
}

#bmr-form input,
#bmr-form select {
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
background-color: #444; /* Dark gray input background */
color: #f0f0f0; /* Light text */
}

#bmr-form input:focus,
#bmr-form select:focus {
outline: none;
background-color: #555; /* Slightly lighter on focus */
}

/* Calculate Button */
button {
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #444; /* Dark button */
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #666; /* Lighter on hover */
}

/* Result Display */
.result {
margin-top: 30px;
font-size: 20px;
color: #f7f7f7;
font-weight: bold;
}

/* Footer */
footer {
background-color: white;
color: black;
padding: 40px 20px;
font-size: 14px;
}

.footer-container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 1000px;
margin: 0 auto;
gap: 30px;
}

/* Logo Section */
.footer-logo {
text-align: center;
margin-bottom: 20px;
}

.footer-logo .logo-img {
width: 100px;
margin-bottom: 10px;
}

/* Links Section */
.footer-links {
display: flex;
justify-content: space-between;
gap: 80px; /* Space between groups */
width: 100%;
}

.link-group {
display: flex;
flex-direction: column;
gap: 12px;
text-align: left;
}

.footer-links a {
color: black;
text-decoration: none;
font-size: 14px;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: #ccc; /* Light gray */
}

footer p {
font-size: 12px;
color: #bbb;
}
78 changes: 78 additions & 0 deletions css/calorie.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@


/* Calorie Calculator Container */
.calorie-container {
max-width: 600px;
margin: 60px auto;
padding: 40px;
background-color: #333;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
text-align: center;
}

.calorie-container h2 {
font-size: 30px;
font-weight: bold;
margin-bottom: 20px;
color: #f7f7f7;
}

.calorie-container p {
font-size: 16px;
color: #f7f7f7;
margin-bottom: 30px;
}

/* Form Styles */
#calorie-form {
display: flex;
flex-direction: column;
gap: 20px;
}

#calorie-form label {
color: #f7f7f7;
font-weight: bold;
}

#calorie-form input,
#calorie-form select {
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
background-color: #444;
color: #f0f0f0;
}

#calorie-form input:focus,
#calorie-form select:focus {
outline: none;
background-color: #555;
}

/* Calculate Button */
button {
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
color: #fff;
background-color: #444;
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #666;
}

/* Result Display */
.result {
margin-top: 30px;
font-size: 20px;
color: #f7f7f7;
font-weight: bold;
}
Loading

0 comments on commit 8fa7aa0

Please sign in to comment.