feat: various base style adjustments

This commit is contained in:
Sebin Nyshkim 2023-01-19 00:40:57 +01:00
parent 54c39cc9b4
commit de992d86b2
2 changed files with 51 additions and 15 deletions

View file

@ -32,13 +32,31 @@ body {
}
main {
margin: var(--navigation-cutout);
transition: 0.4s;
&:after {
display: block;
content: "";
position: sticky;
right: 0;
bottom: var(--navigation-cutout-bottom);
left: 0;
height: 13rem;
background: var(--page-background-image);
background-repeat: no-repeat;
background-size: cover;
background-position: center bottom;
z-index: -1;
}
}
section {
max-width: var(--textblock-max-width);
margin: auto;
margin: 0 auto;
padding: var(--textblock-padding);
p {
@ -71,19 +89,20 @@ a {
color: var(--color-link-text);
transition: 0.4s;
box-shadow: inset 0 calc(var(--text-line-height) * -0.125) 0 0 var(--color-link-text-underline);
box-shadow: inset 0 calc(var(--link-inset-box-shadow) * -0.125) 0 0
var(--color-link-text-underline);
&:hover {
color: var(--color-link-text-hover);
box-shadow: inset 0 calc(var(--text-line-height) * -1) 0 0 var(--color-link-text-underline);
box-shadow: inset 0 calc(var(--link-inset-box-shadow) * -1) 0 0
var(--color-link-text-underline);
}
}
table {
border-collapse: separate;
border-spacing: 0;
width: 100%;
max-width: var(--table-max-width);
max-width: 34rem;
margin: 2rem auto;
padding: var(--table-outer-spacing);