linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
93 lines (83 loc) • 1.78 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: #282a36;
--selection: #44475a;
--comment: #6272a4;
--purple: #bd93f9;
--white: #f8f8f2;
--pink: #ff79c6;
}
body {
background-color: var(--background);
color: var(--white);
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: 20px;
padding: 10px;
background-color: var(--background);
font-weight: 600;
color: #e6e6e6;
font-family: var(--font);
font-size: 1rem;
border-radius: 20px;
border: solid var(--purple) 1px;
text-decoration: underline dotted;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
box-shadow: 3px 1px #007569;
font-size: 1.25rem;
text-align: center;
}
.link:hover {
background-color: var(--selection);
color: var(--purple);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}