Skip to content

Commit

Permalink
Merge branch 'main' into footerDesignIdea
Browse files Browse the repository at this point in the history
  • Loading branch information
DebapriyaJha authored Jul 25, 2024
2 parents dd24950 + ec82d72 commit 3b25e90
Show file tree
Hide file tree
Showing 88 changed files with 12,563 additions and 2,966 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# name: Build site nightly

# on:
# schedule:
# - cron: "0 0 * * *"

# jobs:
# dot-release:
# name: dot-release
# runs-on: ubuntu-latest

# steps:
# - name: curl
# env:
# NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }}
# uses: wei/curl@v1
# with:
# args: -X POST -d '{}' "$NETLIFY_BUILD_HOOK"

# - name: Check response status
# run: |
# response=$(curl -s -o response.txt -w "%{http_code}" -X POST -d '{}' "$NETLIFY_BUILD_HOOK")
# if [ "$response" -ne 200 ]; then
# echo "Build trigger failed with status: $response"
# cat response.txt
# exit 1
# fi
15 changes: 15 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": [
"development"
],
"hints": {
"compat-api/css": [
"default",
{
"ignore": [
"backdrop-filter"
]
}
]
}
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"liveServer.settings.port": 5502
"liveServer.settings.port": 5502,
"livePreview.defaultPreviewPath": "/about.html"
}
2 changes: 1 addition & 1 deletion Css-Files/aboutus.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
flex-direction: column;
gap: 1rem;
width: 35%;
height: 18rem;
height: 19.5rem;
border: 1px solid rgba(206, 212, 218, 1);
border-radius: 8px;
margin-bottom: 21px;
Expand Down
166 changes: 166 additions & 0 deletions Css-Files/appointment.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
#appointment {
display: flex;
align-items: center;
justify-content: center;
}

.appointment-container {
width: 90%;
max-width: 900px;
margin: 0 auto;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #3fbcc051;
text-align: center;
margin-bottom: 7%;
border-radius: 20px;
}

.section-title h2 {
font-size: 1.6rem;
margin: 15px 0 0 0;
color: #fff;
font-weight: bold;
}

.section-title p {
font-size: 0.8rem;
color: #666;
font-weight: normal;
margin: 20px 0 0 0;
}

.php-email-form {
display: flex;
flex-direction: column;
align-items: center;
border-radius: 8px;
padding: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
margin-bottom: 15px;
width: 100%;
max-width: 400px;
}

.form-group label {
display: block;
text-align: start;
text-transform: capitalize;
font-weight: 600;
margin-bottom: 15px;
}

.form-control {
width: 100%;
padding: 8px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
color: #000;
}

.form-select {
width: 100%;
padding: 6px;
font-size: 0.9rem;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
color: #000;
box-sizing: border-box;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14l-4.796-5.481C2.027 5.191 2.208 5 2.5 5h11c.292 0 .473.191.549.659l-4.796 5.481a.513.513 0 0 1-.702 0z"/></svg>'); /* Custom dropdown arrow */
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 16px 16px;
}

.form-select::placeholder {
color: #999;
opacity: 1;
}

.btn-primary {
text-align: center;
justify-content: center;
background-color: #29888A;
color: #fff;
font-size: 1.2rem;
border: none;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
margin: 20px 0 30px 0;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
background-color: #30a3a5;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
/* For tablets and smaller screens */
@media (max-width: 768px) {
.appointment-container {
padding: 15px;
}

.section-title h2 {
font-size: 2rem;
}

.section-title p {
font-size: 1rem;
}

.php-email-form {
padding: 15px;
}

.btn-primary {
width: 100%;
max-width: none;
}
}

/* For larger smartphones and smaller tablets */
@media (max-width: 576px) {
.appointment-container {
padding: 10px;
}

.section-title h2 {
font-size: 1.8rem;
}

.section-title p {
font-size: 0.9rem;
}
}

/* For extra-large screens (desktops) */
@media (min-width: 1200px) {
.appointment-container {
padding: 30px;
}

.section-title h2 {
font-size: 3rem;
}

.section-title p {
font-size: 1.2rem;
}

.php-email-form {
padding: 30px;
}
}
58 changes: 57 additions & 1 deletion Css-Files/bloodstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -664,4 +664,60 @@ padding-top: 3rem;
text-align: center;
padding: 1rem 0.5rem 2rem 0.5rem;
}
}
}
/*Popup Blood list*/
.popup {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.4);
}

.popup-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.popup-content h2, .popup-content h3 {
color: #4bb6b7;
padding: 10px 0;
margin: 0;
}

.popup-content .list {
padding-left: 20px;
}

.popup-content .list p {
margin: 5px 0;
}

.popup-content strong {
display: block;
margin-top: 10px;
margin-bottom: 20px;
}
Loading

0 comments on commit 3b25e90

Please sign in to comment.