From 4602c1718ecdd6eab5a9463a99d1bc42ff37837b Mon Sep 17 00:00:00 2001 From: Joe Wroten Date: Sat, 29 Dec 2018 20:35:08 -0600 Subject: [PATCH] Looking more like the design --- src/assets/stylesheet.css | 54 ++++++++++++++++++++++++++++++++++++++ src/templates/interior.hbs | 14 +++++++--- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/src/assets/stylesheet.css b/src/assets/stylesheet.css index e69de29..d18f51b 100644 --- a/src/assets/stylesheet.css +++ b/src/assets/stylesheet.css @@ -0,0 +1,54 @@ +html, body { + padding: 0; + margin: 0; + font-family: 'Open Sans', sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Slabo 27px', serif; +} + +h1 { + font-size: 35pt; +} + +.-pad-h { + padding-left: 20px; + padding-right: 20px; +} + +.-pad-v { + padding-top: 20px; + padding-bottom: 20px; +} + +.interior-header { + background: #15202C; +} + +.interior-topbar { + height: 25px; +} + +.interior-headline { + line-height: 1em; + margin: 0; + background: linear-gradient(90deg, rgba(235, 181, 242, .3), rgba(128, 95, 132, .3)); + color: white; +} + +.interior-content h1:first-child { + display: none; + speak: none; +} + +.interior-content p:first-of-type { + margin-top: 0; +} + +.interior-content code { + max-width: 100%; + display: block; + overflow: auto; +} + diff --git a/src/templates/interior.hbs b/src/templates/interior.hbs index b74fe84..c4ca118 100644 --- a/src/templates/interior.hbs +++ b/src/templates/interior.hbs @@ -2,6 +2,10 @@ Wroten - {{name}} + + + + @@ -9,9 +13,13 @@ -

{{name}}

-
-
+
+
+ ... +
+

{{name}}

+
+
{{{readme.html}}}