commit 8842cad6494a7efb0ce152bd6262eb785835de11
parent b6b0544d2f017d2cad9e7c5b349a71fccaaefeed
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Fri, 7 Mar 2025 18:45:46 +0100
feat: add public/style.css
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
A | public/style.css | | | 169 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 169 insertions(+), 0 deletions(-)
diff --git a/public/style.css b/public/style.css
@@ -0,0 +1,169 @@
+body {
+ background-color: #eeeeee;
+ color: #1b1b1b;
+ font-family: sans-serif;
+ font-size: 1rem;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0 24%;
+}
+
+header {
+ border-bottom: solid 0.1em;
+ font-size: 1.3em;
+}
+
+footer {
+ border-top: solid 0.1em;
+ font-size: 0.9em;
+ text-align: center;
+ width: 100%;
+}
+
+header,
+footer {
+ color: #acacac;
+ font-family: serif;
+ margin: 1em 0;
+ padding: 1em 0;
+}
+
+header nav {
+ align-items: flex-start;
+ display: flex;
+ flex-direction: column;
+}
+
+header a {
+ text-decoration: none;
+}
+
+header a:hover {
+ color: #1b1b1b;
+ opacity: 1;
+ text-decoration: none;
+}
+
+a {
+ color: inherit;
+ text-decoration: underline;
+ transition: 0.2s ease;
+}
+
+a:hover {
+ opacity: 0.8;
+ text-decoration: underline;
+}
+
+a.footnote-ref,
+a.footnote-ref:hover,
+a.footnote-back,
+a.footnote-back:hover {
+ text-decoration: none;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin: 1em 0;
+}
+
+p,
+ul,
+ol,
+blockquote {
+ margin: 0.5em 0;
+}
+
+ul,
+ol {
+ margin-left: 1.5em;
+}
+
+img {
+ border: solid 0.1em;
+ border-radius: 0.3em;
+ max-width: 100%;
+}
+
+hr {
+ border: solid 0.1em;
+ margin: 1em 0;
+}
+
+em,
+figcaption {
+ font-style: italic;
+}
+
+figcaption {
+ font-size: 0.9em;
+}
+
+strong {
+ font-weight: bold;
+}
+
+code,
+pre,
+table {
+ background-color: #e4e4e4;
+ border-radius: 0.3em;
+ padding: 0.2em;
+}
+
+pre {
+ overflow: auto;
+ padding: 1em;
+ white-space: pre-wrap;
+}
+
+pre code {
+ background: none;
+}
+
+table {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+th,
+td {
+ padding: 0.5em;
+ text-align: center;
+}
+
+sup {
+ font-size: smaller;
+}
+
+@media (orientation: portrait) {
+ body {
+ padding: 0 2rem;
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ background-color: #111111;
+ color: #e4e4e4;
+ }
+
+ header,
+ footer {
+ color: #535353;
+ }
+
+ header a:hover {
+ color: #e4e4e4;
+ }
+
+ code,
+ pre,
+ table {
+ background-color: #1b1b1b;
+ }
+}