linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
86 lines (76 loc) • 1.61 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css?family=Modak&display=swap");
:root {
--bgColor: beige;
--accentColor: #ff0000;
--font: "Modak", cursive;
}
body {
background-color: var(--bgColor);
}
a {
text-decoration: none;
}
#userPhoto {
width: 96px;
height: 96px;
display: block;
margin: 35px auto 20px;
border-radius: 15px;
}
#userName {
color: #ffe600;
font-size: 2rem;
font-weight: 400;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
text-shadow: 3px 3px 0 var(--accentColor), 1px 1px 0 var(--accentColor),
2px 2px 0 var(--accentColor);
}
p {
color: #ffe600;
font-size: 1.5rem;
font-weight: 400;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
text-decoration: none;
text-shadow: 3px 3px 0 var(--accentColor), 1px 1px 0 var(--accentColor),
2px 2px 0 var(--accentColor);
}
#links {
max-width: 675px;
width: auto;
display: block;
margin: 27px auto;
}
.link {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0.5rem;
background-color: var(--accentColor);
color: var(--bgColor);
font-family: var(--font);
margin-bottom: 20px;
padding: 17px;
text-decoration: none;
font-size: 1.5rem;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border: solid var(--accentColor) 2px;
border-radius: 15px;
}
.link:hover {
background-color: var(--bgColor);
color: var(--accentColor);
}
ion-icon {
/* font alignment hack */
margin-bottom: 0.2em;
}