linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
75 lines (65 loc) • 1.16 kB
CSS
/* Style Settings */
:root {
--bgColor: #f0d8ff;
--fgColor: #000;
--accentColor: #ff69b4;
--font: Arial, sans-serif;
}
/* Set rem to about 20px */
html {
font-size: 125%;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.8rem;
background-color: var(--bgColor);
color: var(--fgColor);
font-family: var(--font);
font-size: 0.8rem;
margin-top: 2rem;
height: 100vh;
}
a {
text-decoration: none;
}
#userPhoto {
width: 7.5rem;
border-radius: 20%;
margin: 0;
}
#userName {
margin: 0;
text-align: center;
color: var(--fgColor);
}
#description {
margin: 0;
text-align: center;
}
#links {
display: flex;
flex-direction: column;
vertical-align: middle;
max-width: 100%;
margin-top: 1rem;
}
.link {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0.5rem;
color: #fff;
padding: 10px 20px;
margin: 10px;
background-color: #ffb6c1; /* Pastel button color */
font-size: 18px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.link:hover {
background-color: var(--accentColor);
}