Add DarkMode based on izmcm/LinkFree
This commit is contained in:
parent
6793946320
commit
6f9182a887
|
@ -0,0 +1,78 @@
|
|||
/*
|
||||
DarkMode style sheet is based on the work of izmcm :
|
||||
https://github.com/MichaelBarney/LinkFree/commits/master/Templates/DarkMode/
|
||||
*/
|
||||
|
||||
:root {
|
||||
--bgColor:#1C1C1C;
|
||||
--accentColor: #E6E6E6;
|
||||
--font: 'b612', sans-serif;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'b612';
|
||||
src: url('fonts/b612-regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
body{
|
||||
background-color: var(--bgColor);
|
||||
}
|
||||
|
||||
#userPhoto{
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
display: block;
|
||||
margin: 35px auto 20px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
#userName{
|
||||
color: #bbb;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
display: block;
|
||||
font-family: var(--font);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#links{
|
||||
max-width: 675px;
|
||||
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 .25s cubic-bezier(.08,.59,.29,.99);
|
||||
border: solid var(--accentColor) 2px;
|
||||
}
|
||||
|
||||
.link:hover{
|
||||
background-color: var(--bgColor);
|
||||
color: var(--accentColor);
|
||||
}
|
||||
|
||||
footer{
|
||||
text-align: center;
|
||||
|
||||
color: #bbb;
|
||||
|
||||
font-family: var(--font);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: var(--accentColor)
|
||||
}
|
Loading…
Reference in New Issue