hugo-theme-hax0r/assets/css/_base.scss

109 lines
1.5 KiB
SCSS
Raw Normal View History

2023-03-23 11:49:13 +01:00
html {
2024-01-10 12:24:43 +01:00
font-family: "Lucida Console", "monospace";
font-size: 14px;
box-sizing: border-box;
2023-03-23 11:49:13 +01:00
}
body {
2024-01-10 12:24:43 +01:00
margin: 0px;
2023-03-23 11:49:13 +01:00
}
2024-01-10 12:24:43 +01:00
*,
*:before,
*:after {
font-family: inherit;
font-size: inherit;
box-sizing: inherit;
2023-03-23 11:49:13 +01:00
}
body {
2024-01-10 12:24:43 +01:00
background-color: $background-color;
color: $text-color;
2023-03-23 11:49:13 +01:00
}
article header {
2024-01-10 12:24:43 +01:00
font-size: small;
font-family: "DOS", "Lucida Console", "monospace";
2023-03-23 11:49:13 +01:00
}
img {
2024-01-10 12:24:43 +01:00
display: block;
margin-left: auto;
margin-right: auto;
max-width: 80%;
height: auto;
2023-03-23 11:49:13 +01:00
}
2023-03-27 09:34:24 +02:00
a {
2024-01-10 12:24:43 +01:00
color: $anchor-color;
text-decoration: none;
2023-03-27 09:34:24 +02:00
}
2023-03-23 11:49:13 +01:00
a.active {
2024-01-10 12:24:43 +01:00
color: $anchor-active-color;
2023-03-23 11:49:13 +01:00
}
a:hover {
2024-01-10 12:24:43 +01:00
color: $anchor-hover-color;
text-decoration: underline;
2023-03-23 11:49:13 +01:00
}
2023-03-27 09:34:24 +02:00
ul > li > span {
2024-01-10 12:24:43 +01:00
color: $text-color;
2023-03-27 09:34:24 +02:00
}
ul > li > span.date {
2024-01-10 12:24:43 +01:00
color: $text-color;
padding-left: 0.5em;
padding-right: 0.5em;
2023-03-27 09:34:24 +02:00
}
2023-03-23 11:49:13 +01:00
ul {
2024-01-10 12:24:43 +01:00
list-style: square;
2023-03-23 11:49:13 +01:00
}
nav ul {
2024-01-10 12:24:43 +01:00
list-style-type: none;
margin: 0;
padding: 0;
2023-03-23 11:49:13 +01:00
}
nav ul li {
2024-01-10 12:24:43 +01:00
display: inline;
2023-03-23 11:49:13 +01:00
}
2024-01-10 12:49:33 +01:00
table {
2024-01-10 13:09:47 +01:00
font-family: "DOS", "Lucida Console", "monospace";
2024-01-10 12:49:33 +01:00
border-style: dashed;
border-width: 1px;
border-collapse: collapse;
border-color: $table-border-color;
background-color: $table-background-color;
margin: 2em;
text-align: left;
}
th,
td {
padding: 4px;
}
thead {
background-color: $table-header-background-color;
}
tbody tr:nth-child(even) {
background-color: $table-row-even-background-color;
}
tbody tr:nth-child(odd) {
background-color: $table-row-odd-background-color;
}
2023-03-23 11:49:13 +01:00
.boxed {
2024-01-10 12:24:43 +01:00
border-bottom: 1px dashed $border-color;
max-width: 1024px;
margin: auto;
padding: 1em;
2023-03-23 11:49:13 +01:00
}