139 lines
2.4 KiB
SCSS
139 lines
2.4 KiB
SCSS
/*
|
|
Dracula style sheet is based on the work of Jmarcondes :
|
|
https://github.com/MichaelBarney/LinkFree/commits/master/Templates/draculaTheme/index.html
|
|
*/
|
|
|
|
:root {
|
|
--font-family: 'b612';
|
|
--font: 'b612', sans-serif;
|
|
|
|
--background: #282a36;
|
|
--selection:#44475a;
|
|
--comment:#6272a4;
|
|
--purple:#bd93f9;
|
|
--white:#f8f8f2;
|
|
--pink:#ff79c6;
|
|
--orange: #ffb86c;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'b612';
|
|
src: url('fonts/b612-regular.ttf') format('truetype');
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background);
|
|
color: var(--white);
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
|
|
color:var(--comment);
|
|
|
|
font-family: var(--font);
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
footer a {
|
|
color: var(--orange)
|
|
}
|
|
|
|
#userPhoto {
|
|
width: 96px;
|
|
height: 96px;
|
|
|
|
display: block;
|
|
|
|
margin: 35px auto 20px;
|
|
|
|
border-radius: 50%;
|
|
border: solid var(--purple) 2px;
|
|
}
|
|
|
|
#userName {
|
|
width: 100%;
|
|
|
|
color: var(--pink);
|
|
|
|
font-family: var(--font);
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
|
|
text-align: center;
|
|
text-decoration: none;
|
|
|
|
line-height: 1.25;
|
|
display: block;
|
|
}
|
|
|
|
#links {
|
|
max-width: 675px;
|
|
width: auto;
|
|
|
|
display: block;
|
|
|
|
margin: 27px auto;
|
|
}
|
|
.link {
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
padding: 17px;
|
|
|
|
background-color: var(--background);
|
|
color:var(--comment);
|
|
|
|
font-family: var(--font);
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
|
|
border-radius: 5px;
|
|
border: solid var(--purple) 1px;
|
|
|
|
text-align: center;
|
|
text-decoration: none;
|
|
|
|
transition: all .25s cubic-bezier(.08,.59,.29,.99);
|
|
|
|
}
|
|
.link:hover {
|
|
background-color: var(--selection);
|
|
color: var(--purple);
|
|
}
|
|
|
|
#social-links {
|
|
display: flex
|
|
justify-content: center
|
|
}
|
|
|
|
.social {
|
|
background-color: var(--comment);
|
|
height: 32px;
|
|
width: 32px;
|
|
mask-repeat: no-repeat;
|
|
mask-position: center;
|
|
display: inline-block;
|
|
}
|
|
.social:hover {
|
|
background-color: var(--purple);
|
|
}
|
|
.social#instagram {
|
|
mask-image: url("/img/social/instagram.svg");
|
|
}
|
|
.social#liberapay {
|
|
mask-image: url("/img/social/liberapay.svg");
|
|
}
|
|
.social#linkedin {
|
|
mask-image: url("/img/social/linkedin.svg");
|
|
}
|
|
.social#mastodon {
|
|
mask-image: url("/img/social/mastodon.svg");
|
|
}
|
|
.social#pleroma {
|
|
mask-image: url("/img/social/pleroma.svg");
|
|
}
|
|
.social#twitter {
|
|
mask-image: url("/img/social/twitter.svg");
|
|
}
|