aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/base.html3
-rw-r--r--includes/main.css31
2 files changed, 30 insertions, 4 deletions
diff --git a/includes/base.html b/includes/base.html
index 60e2b72..07fefe5 100644
--- a/includes/base.html
+++ b/includes/base.html
@@ -23,7 +23,6 @@
<meta name="twitter:card" content="summary">
<link rel="alternate" href="/atom.xml" type="application/atom+xml" :title="metadata.title">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
- <link rel="stylesheet" href="../node_modules/modern-normalize/modern-normalize.css" />
<link rel="stylesheet" href="../node_modules/prismjs/themes/prism-okaidia.css" />
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" :href="getBundleFileUrl('css')" webc:keep />
@@ -44,4 +43,4 @@
</footer>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/includes/main.css b/includes/main.css
index 0c3f6ad..92fcf5c 100644
--- a/includes/main.css
+++ b/includes/main.css
@@ -1,6 +1,14 @@
-:root {
+*,
+::before,
+::after {
+ box-sizing: border-box;
+}
+
+html {
+ line-height: 1.15;
+ tab-size: 4;
+ color-scheme: dark light;
accent-color: darkred;
- text-align: justify;
}
* :any-link {
@@ -18,6 +26,10 @@ aside {
padding: 0.5rem;
}
+article {
+ text-align: justify;
+}
+
img,
svg,
video,
@@ -30,6 +42,11 @@ object {
display: block;
}
+h1 {
+ margin-block: 0.67em;
+ font-size: 2em;
+}
+
img,
svg,
video,
@@ -41,6 +58,16 @@ picture {
display: contents;
}
+table {
+ border-collapse: collapse;
+}
+
+table,
+th,
+td {
+ border: 1px solid;
+}
+
@media screen {
* :any-link:hover,