Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sau-mili committed Jun 1, 2024
2 parents 27a6ef3 + f0d6116 commit 16c1aee
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 117 deletions.
190 changes: 142 additions & 48 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,8 @@ transform: scale(1.05);

#about,
#services,
#contact {
#contact,
#feedback {
background: #ffffff;
}

Expand All @@ -632,6 +633,10 @@ padding-bottom: 30px;
padding-bottom: 10px;
}

.section-title {
font-size: 36px;
}

#about .section-title {
padding-bottom: 22px;
}
Expand Down Expand Up @@ -845,14 +850,14 @@ width: 100vw;
backface-visibility: hidden;
}

/*navbar section*/
/* Navbar section */
.navbar {
background: rgba(0, 0, 0, 0.7);
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(0, 0, 0, 0.7);
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}

.navbar nav {
Expand All @@ -873,16 +878,58 @@ z-index: 1000;
}

.navbar .logo img {
height: 68px;
width: 68px;
height: 50px;
width: 50px;
margin-top: -5px;
border-radius: 450px;
border-radius: 50%;
}

.navbar ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
}

.navbar ul li {
display: flex;
align-items: center;
margin-left: 20px;
}

.navbar ul li a {
color: white;
font-size: 18px;
padding: 8px 16px;
text-decoration: none;
position: relative;
transition: color 0.3s, background 0.3s;
}

.navbar ul li a::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: linear-gradient(to right, #ff7e5f, #feb47b);
transition: width 0.3s;
z-index: -1;
}

.navbar ul li a:hover::before {
width: 100%;
}

.navbar ul li a:hover {
color: white;
}

.navbar ul li i {
margin-right: 8px; /* Add spacing between icon and text */
color: rgb(0, 0, 0); /* Set icon color to white */
}

.navbar ul li {
Expand All @@ -906,52 +953,53 @@ z-index: 1000;
}

.navbar .checkbut {
display: none;
display: none;
}

@media (max-width: 858px) {
.navbar .logo img {
display: none;
}
.navbar .logo img {
display: none;
}

.navbar .checkbut {
display: block;
font-size: 30px;
color: white;
margin-right: 20px;
}
.navbar .checkbut {
display: block;
font-size: 30px;
color: white;
margin-right: 20px;
}

.navbar ul {
position: fixed;
width: 100%;
height: 100vh;
background: #2c3e50;
top: 80px;
left: -100%;
text-align: center;
transition: all 0.5s;
z-index: 2;
}
.navbar ul {
position: fixed;
width: 100%;
height: 100vh;
background: #2c3e50;
top: 80px;
left: -100%;
text-align: center;
transition: all 0.5s;
z-index: 2;
flex-direction: column;
}

.navbar ul li {
display: block;
margin: 50px 0;
line-height: 30px;
}
.navbar ul li {
display: block;
margin: 50px 0;
line-height: 30px;
}

.navbar ul li a {
font-size: 20px;
}
.navbar ul li a {
font-size: 20px;
}

.navbar ul li a:hover,
.navbar ul li a.active {
background: none;
color: #0082e6;
}
.navbar ul li a:hover,
.navbar ul li a.active {
background: none;
color: #0082e6;
}

#check:checked ~ ul {
left: 0;
}
#check:checked ~ ul {
left: 0;
}
}

/* home section */
Expand Down Expand Up @@ -1084,6 +1132,7 @@ color: #0082e6;
color: white;
}


#contact .form-control:hover {
border-color: #999;
border: 2px solid #797979;
Expand All @@ -1092,7 +1141,28 @@ border: 2px solid #797979;
#contact input {
height: 55px;
}
.icon{
position: absolute;
top:calc(42%);
color:white;
left:4.20%;
font-size: 30px;
}
.icon1{
position: absolute;
top:calc(42%);
left:4.20%;
font-size: 30px;
color:white;
}
.icon2{
position: absolute;
top:calc(21%);
left:4.20%;
font-size: 30px;
color:white;

}
#contact input[type="submit"] {
background: #242424;
border: none;
Expand Down Expand Up @@ -1705,3 +1775,27 @@ textarea {
.submit-btn:hover {
background-color: #45a049;
}
.rating {
justify-content: center;
display: flex;
flex-direction: row-reverse; /* Visually order the stars in reverse */
}

.rating input {
display: none; /* Hide radio buttons */
}

.rating label {
font-size: 2em;
color: #ddd;
cursor: pointer;
}

.rating input:checked ~ label {
color: #ffca08; /* Highlight selected star and all previous stars */
}

.rating label:hover,
.rating label:hover ~ label {
color: #ffca08; /* Highlight hovered star and all previous stars */
}
Loading

0 comments on commit 16c1aee

Please sign in to comment.