linkfree-themes
Version:
CSS themes for a free and open source alternative to LinkTree
103 lines (92 loc) • 2.03 kB
CSS
/* Style Settings */
@import url("//fonts.googleapis.com/css?family=Modak&display=swap");
:root {
--bgColor: white;
--accentColor: #363534;
--gridColor: #36353480;
--font: "Modak", cursive;
}
body {
background-size: 30px 30px;
background-image: linear-gradient(
to right,
var(--gridColor) 2px,
transparent 0px
),
linear-gradient(to bottom, var(--gridColor) 2px, transparent 0px);
text-align: center;
background-position: center;
}
a {
text-decoration: none;
}
#userPhoto {
width: 96px;
height: 96px;
display: block;
margin: 35px auto 20px;
border: 5px solid black;
}
.circle {
border-radius: 100px;
}
.roundsquare {
border-radius: 15px;
}
#userName {
color: #2577c1;
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);
}
#description {
display: inline-block;
background-color: var(--accentColor);
color: var(--bgColor);
font-family: var(--font);
text-align: center;
margin-bottom: 20px;
margin-left: 3%;
margin-right: 3%;
padding: 10px;
text-decoration: underline;
font-size: 1.3rem;
transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
border: solid var(--accentColor) 2px;
border-radius: 15px;
}
#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;
margin-left: 3%;
margin-right: 3%;
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);
}