mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
add menu
This commit is contained in:
parent
572bc88b45
commit
8d93639193
13 changed files with 231 additions and 1 deletions
23
assets/scss/colors.scss
Normal file
23
assets/scss/colors.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
$backgroundcolor: #ffe7d6;
|
||||
$foregroundcolor: #73464c;
|
||||
$linkcolor: #ab5675;
|
||||
$active: #72dcbb;
|
||||
|
||||
body {
|
||||
background-color: $backgroundcolor;
|
||||
color: $foregroundcolor;
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: $linkcolor;
|
||||
color: $backgroundcolor;
|
||||
}
|
||||
|
||||
a.footer-nav-item.active{
|
||||
color: $linkcolor;
|
||||
}
|
||||
|
||||
footer, footer a{
|
||||
background-color: $foregroundcolor;
|
||||
color: $backgroundcolor;
|
||||
}
|
18
assets/scss/font.scss
Normal file
18
assets/scss/font.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
@font-face {
|
||||
font-family: CaskaydiaCove;
|
||||
src: url(/font/CaskaydiaCove.ttf);
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: CaskaydiaCove;
|
||||
font-size: 16pt;
|
||||
}
|
||||
h1 {font-size: 42pt;}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-size: 20pt;
|
||||
}
|
30
assets/scss/layout.scss
Normal file
30
assets/scss/layout.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
html, body {
|
||||
height: 100%;
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
footer {
|
||||
height: 10%;
|
||||
min-height: 24pt;
|
||||
position: sticky;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#footer-content{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#content {
|
||||
min-height:90%;
|
||||
}
|
||||
|
||||
#footer-right{
|
||||
justify-self: right;
|
||||
}
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
|
@ -1 +1,3 @@
|
|||
*{color:red;}
|
||||
@import "./colors";
|
||||
@import "./font";
|
||||
@import "./layout";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue