commit: 663a4948dceccafb0fdc271d1b394f630f8363fb
parent: 0f9f894a481e111d2fe00b14c0eff49f9ad98ff6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 22 Aug 2018 20:37:00 +0200
about.css: Add some styling inspired from my pleroma theme
Diffstat:
1 file changed, 28 insertions(+), 4 deletions(-)
diff --git a/about.css b/about.css
@@ -1,23 +1,47 @@
:root {
- font-family: serif;
+ font-family: sans;
text-rendering: optimizelegibility;
font-kerning: normal;
+ background-image: url(/static/d130997eec266e5a.jpg);
+ background-repeat: no-repeat;
+ background-attachment: fixed;
+ background-size: cover;
+}
+
+body, footer {
+ margin: 0;
}
+
main {
- margin: 0 auto;
- max-width: 90em;
+ margin: 1em auto;
+ max-width: 80em;
display: table;
+ border-radius: 10px;
+}
+
+footer, main {
+ background-color: #20212d;
+ color: #f8f8f2;
+ padding: 0 1em 1em;
}
+
+footer {
+ padding: 1em;
+}
+
code { font-family: monospace; }
+a { color: #de3be8; }
+
h1,h2,h3,h4,h5,h6 {
font-family: sans;
font-kerning: auto;
}
h1,h2 {
- display: table;
padding: 0.25ex 0.5em;
+ background-color: #3f414c;
+ border-radius: 4px;
}
h1::before,h2::before,h3::before,h4::before,h5::before,h6::before {