mirror of
https://github.com/Hizenberg469/BPIT-ATTENDANCE.git
synced 2026-04-20 02:02:25 +03:00
initial commit
This commit is contained in:
280
nakul/home/style.css
Normal file
280
nakul/home/style.css
Normal file
@@ -0,0 +1,280 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
background: #bfbfbf;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
#main {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#navbar {
|
||||
background: white;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
padding: 20px 80px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#navbar h1 {
|
||||
font-size: 35px;
|
||||
}
|
||||
|
||||
#nav-links {
|
||||
display: flex;
|
||||
gap: 35px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#nav-links a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#nav-links a:hover {
|
||||
transition: all 7ms;
|
||||
text-decoration: underline;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#banner {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background-color: rgb(255, 145, 0);
|
||||
background-image: url(./assets/pexels-pavel-danilyuk-8423018.jpg);
|
||||
background-size: cover;
|
||||
color: white;
|
||||
filter: brightness(40%);
|
||||
}
|
||||
|
||||
#banner-div {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#banner-text {
|
||||
position: absolute;
|
||||
top: 30%;
|
||||
height: 47%;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
/* background-color: antiquewhite; */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 20px;
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.card {
|
||||
height: 100%;
|
||||
width: 20%;
|
||||
/* background-color: aqua; */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
margin: 0 50px;
|
||||
}
|
||||
|
||||
.card button {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.card i {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* background-color: antiquewhite; */
|
||||
font-size: 300px;
|
||||
color: white;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.card p {
|
||||
margin-top: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.services,
|
||||
#contact,
|
||||
#team,
|
||||
#about {
|
||||
height: 80vh;
|
||||
background-color: aqua;
|
||||
}
|
||||
|
||||
.services,
|
||||
#contact,
|
||||
#about,
|
||||
#team {
|
||||
display: flex;
|
||||
background-color: rgb(0, 0, 0);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
/* gap: 100px; */
|
||||
padding: 0 150px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.image-div {
|
||||
background-color: aliceblue;
|
||||
height: 60%;
|
||||
width: 45%;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.image-div img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
display: flex;
|
||||
width: 45%;
|
||||
font-size: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background: #3586ff;
|
||||
min-height: 100px;
|
||||
padding: 20px 50px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.social-icon,
|
||||
.menu {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 10px 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.social-icon__item,
|
||||
.menu__item {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.social-icon__link {
|
||||
font-size: 2rem;
|
||||
color: #ffffff;
|
||||
margin: 0 10px;
|
||||
display: inline-block;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.social-icon__link:hover {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
|
||||
.menu__link {
|
||||
font-size: 1.5rem;
|
||||
color: #ffffff;
|
||||
margin: 0 10px;
|
||||
display: inline-block;
|
||||
transition: 0.5s;
|
||||
text-decoration: none;
|
||||
/* opacity: 0.85; */
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.menu__link:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.footer p {
|
||||
color: #ffffff;
|
||||
margin: 15px 0 10px 0;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wave {
|
||||
position: absolute;
|
||||
top: -90px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background: url("https://i.ibb.co/wQZVxxk/wave.png");
|
||||
background-size: 1000px 100px;
|
||||
}
|
||||
|
||||
.wave#wave1 {
|
||||
z-index: 1000;
|
||||
opacity: 1;
|
||||
bottom: 0;
|
||||
animation: animateWaves 4s linear infinite;
|
||||
}
|
||||
|
||||
.wave#wave2 {
|
||||
z-index: 999;
|
||||
opacity: 0.5;
|
||||
bottom: 10px;
|
||||
animation: animate 4s linear infinite !important;
|
||||
}
|
||||
|
||||
.wave#wave3 {
|
||||
z-index: 1000;
|
||||
opacity: 0.2;
|
||||
bottom: 15px;
|
||||
animation: animateWaves 3s linear infinite;
|
||||
}
|
||||
|
||||
.wave#wave4 {
|
||||
z-index: 999;
|
||||
opacity: 0.7;
|
||||
bottom: 20px;
|
||||
animation: animate 3s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes animateWaves {
|
||||
0% {
|
||||
background-position-x: 1000px;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-positon-x: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes animate {
|
||||
0% {
|
||||
background-position-x: -1000px;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-positon-x: 0px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user