mirror of
https://codeberg.org/liliesh/homepage.git
synced 2026-03-18 22:08:35 +01:00
Added base
This commit is contained in:
parent
b8107be42a
commit
f4220fb09a
19 changed files with 244 additions and 309 deletions
71
html/base.css
Normal file
71
html/base.css
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
:root {
|
||||
--background-color: #2c2c2c;
|
||||
--font-color: #cfcccc;
|
||||
--nav-color: #bb8989;
|
||||
--font-family: 'Kode Mono';
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Kode Mono';
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
font-weight: 400;
|
||||
src: url(assets/kode-mono-latin-400-normal.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: var(--nav-color);
|
||||
margin: 0 .25em 0 .25em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--background-color);
|
||||
color: var(--font-color);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#current_nav {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.lefthead {
|
||||
h3, p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 10pt;
|
||||
}
|
||||
}
|
||||
|
||||
.footerbox {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: 12pt;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue