Linktree/assets/css/style.css

152 lines
2.8 KiB
CSS

:root {
--highlight-text-color: #ff7a5c;
--title-text-color: #ffffff;
--link-text-color: #1F365C;
--link-bg-color: rgba(255, 255, 255, 0.85);
--max-content-width: 680px;
--link-border-radius: 14px;
--link-padding: 12px;
--link-min-height: 72px;
--transition: 0.28s cubic-bezier(.15,.85,.3,1.2);
}
body, html {
margin: 0;
padding: 0;
background: url("../images/background.jpg") no-repeat center/cover;
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
color: white;
overflow-x: hidden;
height: 100%;
}
.animated-background {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100%;
z-index: 0;
}
#background_div {
max-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 40px 0;
}
.page-full-wrap {
width: var(--max-content-width);
padding-bottom: 120px;
position: relative;
text-align: center;
}
.page-title {
font-size: 4rem;
font-weight: 700;
color: var(--title-text-color);
margin: 0;
letter-spacing: 1px;
text-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
.highlight {
color: var(--highlight-text-color);
}
.page-item-wrap {
position: relative;
margin: 18px 0;
border-radius: var(--link-border-radius);
background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,240,255,0.82));
backdrop-filter: blur(12px);
padding: 4px;
box-shadow:
0 10px 25px rgba(0,0,0,0.25),
inset 0 0 8px rgba(255,255,255,0.3);
transition: var(--transition);
}
.page-item-wrap:hover {
transform: scale(1.035);
box-shadow:
0 14px 32px rgba(0,0,0,0.28),
0 0 18px rgba(255,122,92,0.25);
}
.page-item-each {
display: flex;
align-items: center;
justify-content: flex-start;
padding: var(--link-padding);
min-height: var(--link-min-height);
color: var(--link-text-color);
text-decoration: none;
font-size: 17px;
font-weight: 600;
position: relative;
width: 100%;
}
.link-each-image {
width: 50px;
height: 50px;
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}
.item-text {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
margin-left: 70px;
}
.item-title {
font-size: 18px;
font-weight: 700;
letter-spacing: 0.5px;
margin: 0 0 3px 0;
color: var(--link-text-color);
}
.item-subtitle {
font-size: 14px;
opacity: 0.65;
color: var(--link-text-color);
margin: 0;
text-align: start;
}
@media (max-width: 768px) {
.page-full-wrap {
width: 88%;
}
}
@media (max-width: 480px) {
.page-title {
font-size: 3rem;
}
}