alberello/style.css

166 lines
2.5 KiB
CSS
Raw Normal View History

2024-11-09 19:12:24 +01:00
/* Stylesheet for alberello link-tree-style */
@import url(
"https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");
* {
padding: 0;
margin: 0;
transition: all 0.3s ease-in-out;
}
body {
font-family: "Montserrat", sans-serif;
background-color: #060c21;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
a {
text-decoration: none;
font-size: 1.125rem;
font-weight: 600;
}
header { text-align: center;
font-size: 2rem;
font-weight: 700;
margin-bottom: 2rem;
color: white;
padding-top: 10%;
}
.links {
display: flex;
flex-direction: column;
row-gap: 1rem;
}
.link {
height: 3rem;
width: 600px;
display: flex;
align-items: center;
justify-content: center;
color: #000;
margin: 0.5rem 0;
border-radius: 15px;
}
.about {
font-size: 1rem;
font-weight: 500;
margin-bottom: 2rem;
color: white;
}
.link span {
width: 80%;
text-align: center;
}
.link img {
height: 2rem;
aspect-ratio: 1;
}
.linkIcon {
height: 2rem !important;
aspect-ratio: 1;
}
.link:nth-child(1) {
background: #845ec2;
color: white;
}
.link:nth-child(2) {
background: #d65db1;
color: white;
}
.link:nth-child(3) {
background: #ff6f91;
color: white;
}
.link:nth-child(4) {
background: #ff9671;
color: white;
}
.link:nth-child(5) {
background: #ffc75f;
color: white;
}
.link:nth-child(6) {
background: #f9f871;
color: white;
}
.link:nth-child(7) {
background: linear-gradient(90deg,
rgba(241, 241, 241, 0.1) 30%,
rgba(113, 113, 113, 0.3) 100%),
#352e5c;
color: white;
}
.link:nth-child(8) {
background: linear-gradient(90deg,
rgba(241, 241, 241, 0.1) 30%,
rgba(113, 113, 113, 0.3) 100%),
#211d38;
color: white;
}
.link:hover {
filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.2));
transform: scale(1.05);
}
.link>* {
transition: all 0.3s ease-in-out;
transition-delay: 0.1s;
}
.link:hover>* {
transform: scale(1.1);
filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.2));
}
@media (max-width: 600px) {
body {
background-size: 100%;
}
.logo img {
width: 200px;
}
.link span {
width: 70%;
text-align: center;
}
.link {
width: 95vw;
}
.link:hover {
transform: scale(1.01);
}
}