Skip to content

Commit

Permalink
Fixed bugs under Doctors Section (#337)
Browse files Browse the repository at this point in the history
* Fixed bugs under Doctors Section


---------

Co-authored-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>
  • Loading branch information
harshitagupta022 and varshith257 authored Jun 6, 2024
1 parent 000ef43 commit 3ebb235
Show file tree
Hide file tree
Showing 7 changed files with 1,424 additions and 77 deletions.
29 changes: 7 additions & 22 deletions Css-Files/bloodstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
box-sizing: border-box;
font-family: 'poppins',sans-serif;
}
bodY{
body{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
Expand All @@ -16,7 +17,7 @@ bodY{
text-decoration: none;
margin-top: -18px;
position: absolute;
left: 50%;
left: 45%;
font-size: 30px;
justify-content: center;
align-items: center;
Expand All @@ -28,7 +29,6 @@ margin-top: -18px;
color: #fff;
}
#topbar1 {
background: #022a2d;
height: 50px;
font-size: 14px;
transition: all 0.5s;
Expand All @@ -39,26 +39,9 @@ margin-top: -18px;
top: -40px;
}

#topbar1 .contact-info a {
margin-top: -40px;
line-height: 1;
color: #fff;
transition: 0.3s;
}

#topbar1 .contact-info a:hover {
color: #3fbbc0;
}
#topbar1 .contact-info i {
color: #3fbbc0;
margin-top: -40px;
padding-right: 4px;
margin-left: 15px;
line-height: 0;
}
#topbar1 .contact-info i:first-child {
margin-left: 0;
}



#topbar1 .social-links a {
margin-top: -40px;
Expand All @@ -67,6 +50,8 @@ margin-top: -18px;
display: inline-block;
line-height: 1px;
transition: 0.3s;
transform: translateY(-100px);


}
#topbar1 .social-links a:hover {
Expand Down
97 changes: 97 additions & 0 deletions Css-Files/doctor.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,102 @@ body{
padding: 40px 0;
border-radius: 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #f8f8f8;
}

.logo {
height: 40px;
}

.header-buttons button {
margin-left: 10px;
padding: 5px 10px;
}

.calendar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f3f3f3;
padding: 10px;
border-bottom: 1px solid #ccc;
}

.nav-button {
background-color: #007bff;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
}

.month {
font-size: 20px;
font-weight: bold;
}

.dates {
display: flex;
gap: 10px;
}

.date1, .date2, .date3, .date4, .date5, .date6, .date7, .date8, .date9, .date10, .date11, .date12 {
background-color: #fff;
padding: 10px;
cursor: pointer;
border: 1px solid #ccc;
}

.date:hover {
background-color: #007bff;
color: #fff;
}

.schedule {
padding: 20px;
}

.consultation {
margin-top: 20px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
}

.consultation h3 {
margin: 0;
}

.consultation p {
margin: 5px 0;
}

.consult-button {
background-color: #007bff;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
margin-top: 10px;
display: inline-block;
}

.consult-button:hover {
background-color: #0056b3;
}

footer {
display: flex;
justify-content: space-around;
padding: 10px;
background-color: #f8f8f8;
}
.card{
border-radius: 25px;
background-color: #FFf;
Expand Down Expand Up @@ -101,6 +197,7 @@ transition: all 0.3s ease;
.button:hover{
background: #02969bd5;
}

.swiper-navBtn{
color: white;
}
Expand Down
1,352 changes: 1,314 additions & 38 deletions Html-Files/doc.html

Large diffs are not rendered by default.

Binary file added Html-Files/images/doctor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ <h2>Doctors</h2>
</div>
<div class="container">

<div class="row">
<div class="column">

<div class="col-lg-6">
<div class="member d-flex align-items-start">
Expand Down
15 changes: 4 additions & 11 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
var swiper = new Swiper(".slide-content", {
slidesPerView: 3,
spaceBetween: 25,
var swiper = new Swiper(".swiper", {
loop: true,
centerSlide: true,
fade: true,
Expand All @@ -17,12 +15,7 @@ var swiper = new Swiper(".slide-content", {
breakpoints:{
0:{
slidesPerView: 1,
},
520:{
slidesPerView: 2,
},
950:{
slidesPerView: 3,
},
}
},
});
});

6 changes: 1 addition & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,6 @@ section {
left: calc(50% - 20px);
}

.section-title p {
margin-bottom: 0;
}

/*################----Home Section----################*/
#home {
Expand Down Expand Up @@ -558,7 +555,7 @@ section {
}

.featured-services .title a {
color: #111;
color: #eee;
}

.featured-services .description {
Expand Down Expand Up @@ -1738,7 +1735,6 @@ footer {
.form-control {
width: 50%;
/* Full width */

padding: 10px;
border: 1px solid #ccc;
/* Light gray border */
Expand Down

0 comments on commit 3ebb235

Please sign in to comment.