linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
90 lines (77 loc) • 1.53 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css2?family=Fredoka+One&display=swap");
:root {
--bgColor: white;
--accentColor: magenta;
--font: "Fredoka One", cursive;
}
body {
background-image: url(images/background.png);
}
* {
cursor: url(cursors/cursor.png), auto;
}
a {
text-decoration: none;
}
#userPhoto {
width: 96px;
height: 96px;
display: block;
margin: 35px auto 20px;
border-radius: 50%;
border: var(--accentColor) solid 2px;
}
#userName {
color: var(--accentColor);
font-size: 1.5rem;
font-weight: 900;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
}
p {
color: var(--accentColor);
font-size: 1.1rem;
font-weight: 300;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
text-decoration: underline dotted;
}
#links {
max-width: 675px;
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;
border-radius: 30px;
}
.link:hover {
background-color: var(--bgColor);
color: var(--accentColor);
}
cursor {
transform: rotate(45deg);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}