Commits

Colin Barrett committed 48b0e3b

Style updates

- Make the borders darker
- Some content (e.g. story titles and bodies) is now off-center, giving a print book feel

Comments (0)

Files changed (2)

SmallStories/Component/Header.hs

   [chamlet|$newline never
     <h1><a href="@{IndexR}">Small Stories</a>
     <h2><a href="@{IndexR}">by Colin Barrett</a>
-    <p #tagline>A growing collection of very short stories on the web. <a href="@{AboutR}">More&hellip;</a>|]
+    <div #tagline>A growing collection of very short stories on the web. <a href="@{AboutR}">More&hellip;</a>|]
   toComponent [cassius|
     h1
       font-style: italic
     #tagline
       text-align: center
       font-style: italic
-      margin: 7px 0 55px 0
+      margin: 13px 0 60px 0
       font-size: 15pt
       text-shadow: 0px 1px 0px white|]
 html {
-  background-color: #E4E7F0;
+  background-color: #E2E2F0;
+  font-size: 13pt;
 }
 body {
   width: 560px;
   padding: 0 6em 150px;
   background-color: #edeef3;
   font-family: "livory", serif;
-  font-size: 13pt;
 }
 
 h3 {
   font-size: 24pt;
-  margin-bottom: 1em;
+  margin: 0 0 1em -2rem;
   text-shadow: 0px 1px 0px white;
 }
 
 p {
   line-height: 1.5em;
   word-break: hyphenate;
-  margin-bottom: 1em;
+  margin: 0 0 1em -2rem;
 }
 
 em, i {