linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
82 lines (72 loc) • 1.52 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css2?family=Montserrat:wght@500;800&display=swap");
:root {
--bgColor: #000;
--accentColor: #e6e6e6;
--font: "Montserrat", sans-serif;
}
body {
background-color: var(--bgColor);
text-align: center;
}
a {
text-decoration: none;
}
#userPhoto {
width: 110px;
height: 110px;
display: block;
margin: 35px auto 20px;
border-radius: 50%;
}
#userName {
color: #bbb;
font-size: 1rem;
font-weight: 800;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
}
#description {
display: inline-block;
background-color: var(--accentColor);
color: var(--bgColor);
font-family: var(--font);
text-align: center;
margin-bottom: 10px;
padding: 10px;
text-decoration: none;
font-size: 0.8rem;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border: solid var(--accentColor) 2px;
}
#links {
max-width: 600px;
width: auto;
display: block;
margin: 27px auto;
}
.link {
display: block;
background-color: var(--accentColor);
color: var(--bgColor);
font-family: var(--font);
text-align: center;
margin-bottom: 20px;
padding: 17px;
text-decoration: none;
font-size: 1rem;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border: solid var(--accentColor) 2px;
}
.link:hover {
background-color: var(--bgColor);
color: var(--accentColor);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}