summaryrefslogtreecommitdiffstats
path: root/app/base.styl
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-05-04 22:57:56 +0200
committerAhmed Abdelhalim <[email protected]>2021-05-04 22:57:56 +0200
commit618c3013df8d73a1dadc612b959b97bddf3c26ef (patch)
tree50d6c012ec7b46ee222304c9a8c9301c45160b21 /app/base.styl
parent522c9d41dd3ab210509d007c047f942110994fab (diff)
Add styling for sections headers
Diffstat (limited to 'app/base.styl')
-rw-r--r--app/base.styl21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/base.styl b/app/base.styl
index 317a625..1dd9cd7 100644
--- a/app/base.styl
+++ b/app/base.styl
@@ -61,6 +61,27 @@ header {
}
}
+article {
+ h1 {
+ display: flex
+ flex-direction: row
+ }
+
+ h1:before, h1:after {
+ content: "";
+ border-bottom: 1px solid
+ margin: auto;
+ }
+ h1:before {
+ margin-right: 0.3em
+ flex: 5 5;
+ }
+ h1:after {
+ margin-left: 0.3em
+ flex: 100 0;
+ }
+}
+
.summary {
h1 { display: none }
p {