Skip to content

Commit

Permalink
Merge pull request #1067 from samarsajad/branch1
Browse files Browse the repository at this point in the history
Made the normal check up page responsive
  • Loading branch information
varshith257 authored Jul 30, 2024
2 parents 3307cbb + 0c18ae2 commit f5f274d
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 38 deletions.
332 changes: 332 additions & 0 deletions checkup.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,146 @@
body {
margin: 0;
font-family: Arial, sans-serif;
}

.nav_menu {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
position: relative;

}

.nav_link {
list-style-type: none;
display: flex;
gap: 5px;
align-items: center;
}

.nav_link li {
display: flex;
align-items: center;
}

.nav_link a {
color: white;
text-decoration: none;
display: flex;
align-items: center;
padding: 5px 10px;
}

.nav_link a:hover {

border-radius: 5px;
}

.btn1 {
background-color: #3fbcc0a6;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
}

.btn1:hover {
background-color: #4a90e2;
}

.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}

.hamburger .line {
width: 25px;
height: 3px;
background-color: white;
margin-right: 1000px;
}

@media (max-width: 768px) {
.header_container{
height: 50px;
}
.nav_link {
display: none;
flex-direction: column;
gap: 0;
position: fixed;
top: 60px;
right: 0;
background-color: #022a2d;
width: 50%;
padding: 20px;
z-index: 0;
margin-right: 230px;
}

.nav_link.active {
display: flex;
}

.nav_link li {
margin: 10px 0;
}

.nav_link a {
padding: 10px;
color: #4a90e2;
}

.hamburger {
display: flex;
margin-bottom: 10px;
}

}


.h1{
font-size: 64px;
}
#expect h1{
font-size: 40px;
}
#tips h2{
font-size: 40px;
}
#services {
text-align: center;
display: flex;
justify-content: center;

}
.service-btn {
background-color: #3fbcc0a6;
color: #fff;
border: none;
padding: 12px 20px;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
text-align: center;
text-decoration: none;
display: inline-block;
}

.service-btn:hover {
background: linear-gradient(#4a90e2,#022a2d);
transform: scale(1.05);
}

.service-btn:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(85, 165, 234, 0.5);
}
.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
Expand Down Expand Up @@ -134,3 +270,199 @@
transform: scale(1.1);
background-color: #55a5ea;
}
@media (max-width: 768px) {
footer {
width: 100vw !important;
padding: 10px !important;
margin: 0px !important;
}

.other-columns {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;

}
body {
margin: 0;
}





.footer-col {
flex-basis: 100%;
padding: 10px;
margin-right: 50px;
margin-top: 20px;
max-width: 470px;

}
.footer-col h4{
margin-left: 10px;
margin-right: 300px;
}
.footer-col p{
display: flex;
}

.footer-col form button {
margin-left:0px;
display: flexbox;
text-align: center;
align-items: center;
width: 50%;
}


.footer-bottom-wrapper {
flex-direction: column;
align-items: center;

}

.footer-bottom-wrapper small {
margin-bottom: 10px;
margin-right: 0px;

}
.social-links {

gap: 10px;
margin-left: 0px;
padding: 0px;
}


.social-wrapper {
margin-top: 10px;
margin-right: 10px;
}
}

@media (max-width: 768px) {
.body{
width: 100vw !important;
}
.content{
padding-top:0px;
}
.content h1{
font-size: 27px;
display: block;
}

.sec-img{
margin-top:10px;
width: 230px;
height: 230px;
}
.services-grid {
grid-template-columns: 1fr;
gap: 10px;
width: 100%;
margin-right: 10px;
}

.content {
flex-direction: column;
align-items: center;
margin-right: 50px;
}

.content img {
margin-left: 30px;
width: 100%;
height: auto;
}
#tips h2{
font-size:40px;
padding-left: 150px;
}

.expect-item {
flex-direction: row;
align-items: center;
width: 70%;
margin-left: 70px;
}

.expect-item p {
width: 100%;
height: auto;
}


#tips{
width: 100%;

}

#tips h2 {
font-size: 1.2em;
}

.tip-item {
width: 50%;

}

.tip-grid {
grid-template-columns: 1fr;
gap: 10px;
margin-left: 15px;

}
}
@media (max-width: 1024px) {
.services-grid {
grid-template-columns: 1fr;
gap: 10px;
}

.content {
flex-direction: column;
align-items: center;
}

.content img {
width: 80%;
height: auto;
}
#expect h1{
font-size:30px ;
margin-right: 30px;
}
.expect-item {
flex-direction: column;
align-items: center;
}

.expect-item p {
width: 100%;
height: auto;
}

.expect-item h2 {
margin-bottom: 10px;
}

#tips h2 {
font-size: 1.5em;
margin-left: 0;
padding-top: 20px;
}

.tip-item {
width: 100%;
margin-left: 0;
}

.tip-grid {
grid-template-columns: 1fr;
gap: 10px;
}

}
Loading

0 comments on commit f5f274d

Please sign in to comment.