candifloss_site/css/about.css
candifloss 97fb5d8242 Update: Classes
- Updated html classes
- Tweaked text color
2025-05-27 08:31:49 +05:30

99 lines
1.9 KiB
CSS

html, body {
margin: 0;
padding: 0;
scroll-behavior: smooth;
height: 100%;
font-family: sans-serif;
background: #232323;
color: #fff;
}
main {
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
}
.section {
scroll-snap-align: start;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2rem;
box-sizing: border-box;
position: relative;
}
.section::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-size: cover;
background-position: center;
filter: blur(5px);
opacity: 0.2;
z-index: 0;
}
.section .content {
position: relative;
z-index: 1;
text-align: center;
max-width: 800px;
}
.intro .content h1 {
font-size: 3rem;
margin-bottom: 1rem;
text-shadow: 0px 0px 9px #373737;
color: #5488bf;
}
.intro .content h1 .myname {
font-style: normal;
color: #fff;
}
h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
ul {
list-style: none;
padding: 0;
}
ul li {
margin: 0.5rem 0;
}
footer {
margin-top: auto;
padding: 1rem;
font-size: 0.875rem;
text-align: center;
opacity: 0.5;
}
.section1::before {
background-image: url("https://static.vecteezy.com/system/resources/thumbnails/013/384/142/small_2x/fabric-texture-abstract-pattern-black-and-white-textiles-backgrounds-photo.jpg");
}
.section2::before {
background-image: url("https://wallpapers.com/images/hd/integral-project-management-cover-erpo8ef1af3wuquu.jpg");
}
.section3::before {
background-image: url("https://visme.co/blog/wp-content/uploads/2017/07/50-Beautiful-and-Minimalist-Presentation-Backgrounds-013.jpg");
}
.section4::before {
background-image: url("https://www.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-1-full.jpg");
}
.section5::before {
background-image: url("https://wallpapers.com/images/hd/professional-zoom-background-3h69jq8rrky7f3tj.jpg");
}