tools / style.css
sh20raj's picture
update README.md, index.html and style.css
089dd1b
raw
history blame
1.78 kB
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
margin: 0;
padding: 0;
}
body {
font-family: Poppins, sans-serif;
min-height: 100vh;
}
nav {
background: #032a39;
color: aliceblue;
justify-content: flex-end;
display: flex;
align-items: center;
}
nav h1 {
left: 0;
margin: 20px;
margin-right:auto ;
margin-top: 10px;
margin-bottom: 10px;
}
nav span, .hero-section span {
color: rgb(126, 194, 49);
}
nav ul {
display: flex;
justify-content: space-between;
/* border: 2px solid red; */
height: 4rem;
}
nav ul li {
display: flex;
transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
nav ul li a {
padding: 10px;
margin: 10px;
border: 2px;
background: #a649144d;
color: aliceblue;
text-decoration: none;
transition: all 0.3s linear;
}
nav ul li a:hover {
cursor: pointer;
background-color: rgba(255, 0, 0, 0.464);
border-bottom: 1px solid red;
}
.container {
color: aqua;
background-color: rgba(226, 159, 229, 0.321);
min-height: 100vh;
display: flex;
background: url(pic.avif) ;
background-repeat: no-repeat;
background-size: cover;
}
.container .hero-section h1 {
color: aliceblue;
font-size: 40px;
margin: 20px;
margin-left: 0;
}
.container .hero-section p {
color: rgb(205, 239, 184);
}
.container .hero-section {
/* background: red; */
width: 100%;
padding: 20px;
display: flex;
}
.container .hero-section .hero-container {
margin-top: 200px;
margin-left: 50px;
max-width: 50%;
background: url(repo.gif);
background-repeat: no-repeat;
background-size: contain;
}
.container .hero-section .hero-image{
width: 50%;
margin: auto;
flex-grow: 3;
}