linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
95 lines (84 loc) • 1.82 kB
CSS
@import url('//fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500&display=swap" rel="stylesheet');
:root {
--font: "Fira Sans", sans-serif;
--background: #2b2b45;
--selection: #ffc24b;
--comment: #4d809b;
--purple: #4d809b;
--white: #f8ddc6;
--pink: #f9468b;
}
body {
background: var(--background) url(images/background.svg) no-repeat center
bottom;
background-size: 80%;
color: var(--white);
height: 100vh;
text-align: center;
}
a {
text-decoration: none;
}
#userPhoto {
width: 96px;
height: 96px;
display: block;
margin: 35px auto 20px;
border-radius: 50%;
border: solid var(--purple) 2px;
}
#userName {
width: 100%;
color: var(--pink);
font-family: var(--font);
font-size: 1rem;
font-weight: 400;
text-align: center;
line-height: 1.25;
display: block;
}
#links {
max-width: 675px;
width: auto;
display: block;
margin: 27px auto;
}
.link {
display: block;
margin-bottom: 20px;
padding: 17px;
background-color: var(--background);
color: var(--comment);
font-family: var(--font);
font-size: 1rem;
font-weight: 500;
border-radius: 5px;
border: solid var(--purple) 1px;
text-align: center;
text-decoration: none;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
}
p {
display: inline-block;
margin-bottom: 10px;
padding: 10px;
background-color: var(--background);
color: var(--comment);
font-family: var(--font);
font-size: 1.2rem;
font-weight: 300;
border-radius: 5px;
border: solid var(--purple) 1px;
text-align: center;
text-decoration: underline double;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
}
.link:hover {
border-color: var(--selection);
color: var(--selection);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}