colors and titles

This commit is contained in:
j 2023-08-22 17:35:56 +02:00
commit b56167a703
5 changed files with 53 additions and 8 deletions

View file

@ -1,5 +1,7 @@
:root {
--fg: rgb(240, 240, 240);
--blue: rgb(110, 194, 240);
--title: rgb(110, 194, 240);
}
@font-face {
@ -41,9 +43,8 @@ header {
}
.index {
padding-top: 16px;
.item {
border-bottom: 1px solid blueviolet;
//border-bottom: 1px solid blueviolet;
padding-bottom: 4px;
margin-bottom: 8px;
@ -51,7 +52,14 @@ header {
text-decoration: none;
color: var(--fg);
h1 {
color: var(--title);
text-decoration: underline;
font-size: 16px;
}
h2 {
border-bottom: 1px solid pink;
font-size: 18px;
font-weight: bold;
}
}
h1 {
@ -77,6 +85,7 @@ header {
}
.archive {
text-align: center;
padding-bottom: 32px;
}
&.archive {
h2.week {
@ -95,6 +104,10 @@ header {
}
}
.item {
h2 {
font-size: 16px;
font-weight: initial;
}
.comments {
text-align: right;
padding-right: 4px;
@ -104,6 +117,18 @@ header {
}
}
}
@media(max-width:768px) {
.index {
.item {
a {
h1, h2 {
padding-left: 4px;
padding-right: 4px;
}
}
}
}
}
nav.overlay {
position: absolute;