linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
89 lines (80 loc) • 1.71 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css?family=Roboto");
:root {
--bgColor: #d46156;
--accentColor: #bda1a1;
--complementColor: #ffffff;
--font: "Roboto", sans-serif;
}
body {
background-color: var(--bgColor);
text-align: center;
}
#userPhoto {
width: 110px;
height: 110px;
display: block;
margin: 35px auto 20px;
border: 1px;
border-radius: 30%;
border-style: dotted;
border-color: var(--accentColor);
}
#userName {
color: var(--accentColor);
font-size: 1rem;
font-weight: 600;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
text-transform: uppercase;
}
p {
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: 1rem;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border-color: var(--complementColor);
border: 1px;
border-style: dotted;
border-radius: 10px;
}
#links {
max-width: 500px;
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-color: var(--complementColor);
border: 1px;
border-style: dotted;
border-radius: 30px;
}
.link:hover {
background-color: var(--bgColor);
color: var(--accentColor);
}
ion-icon {
vertical-align: text-bottom;
width: 1.1875em;
height: 1.1875em;
}