linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
93 lines (83 loc) • 1.85 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css2?family=Bakbak+One&display=swap");
:root {
--brandStrongColor: #51278d;
--accentColor: #ead6f2;
--brandMainColor: #ce95ca;
--font: "Bakbak One", cursive;
}
body {
background-image: linear-gradient(
165.59deg,
var(--accentColor) -2.09%,
var(--brandStrongColor) 74.49%
);
background-repeat: no-repeat;
min-height: 100vh;
text-align: center;
}
#userPhoto {
width: 96px;
height: 96px;
display: block;
margin: 35px auto 20px;
border-radius: 50%;
}
a {
text-decoration: none;
}
p {
display: inline-block;
background-color: var(--brandMainColor);
color: var(--brandStrongColor);
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;
border-radius: 2px;
}
#userName {
color: var(--brandStrongColor);
font-size: 1rem;
font-weight: 600;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
}
#links {
max-width: 675px;
width: auto;
display: block;
margin: 27px auto;
}
.link {
display: block;
background-color: var(--brandMainColor);
color: var(--brandStrongColor);
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: 4px;
}
.link:hover {
background-color: var(--accentColor);
color: var(--brandStrongColor);
border-color: var(--accentColor);
box-shadow: 4px 4px 2px var(--brandMainColor);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}