summaryrefslogtreecommitdiff
path: root/www/tufte.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/tufte.css')
-rw-r--r--www/tufte.css31
1 files changed, 28 insertions, 3 deletions
diff --git a/www/tufte.css b/www/tufte.css
index c9b2528..7ee0540 100644
--- a/www/tufte.css
+++ b/www/tufte.css
@@ -44,7 +44,7 @@ html {
font-size: 15px;
}
-body {
+main {
width: 87.5%;
margin-left: auto;
margin-right: auto;
@@ -58,7 +58,7 @@ body {
/* Adds dark mode */
@media (prefers-color-scheme: dark) {
- body {
+ body, main {
background-color: #151515;
color: #ddd;
}
@@ -372,7 +372,7 @@ label.margin-toggle:not(.sidenote-number) {
}
@media (max-width: 760px) {
- body {
+ main {
width: 84%;
padding-left: 8%;
padding-right: 8%;
@@ -449,3 +449,28 @@ label.margin-toggle:not(.sidenote-number) {
width: 100%;
}
}
+
+/* customisations
+ * - used main for indenting not body
+*/
+html, body {
+ margin: 0
+}
+
+h1.webpagetitle {
+ font-family: "Fira Sans",sans;
+ text-align: center;
+}
+
+.imgfig {
+ text-align: center ;
+}
+
+img.rounded {
+ border-radius: 50% ;
+}
+
+.centered img {
+ display: block;
+ margin: auto;
+}