Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfreddenton committed Feb 21, 2020
1 parent e2d7104 commit fb5dab1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ h2, h3, h4, h5, h6 {

.h-anchor {
position: absolute;
left: -1rem;
left: -1.1rem;
color: #999;
text-decoration: none;
}
Expand Down Expand Up @@ -254,6 +254,11 @@ video {
font-size: 1.6rem;
}

.container {
padding-left: 1.5rem;
padding-right: 1.5rem;
}

body > .container:first-child {
padding-top: 3rem;
padding-bottom: 24rem;
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/Server/Template.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ instance ToHtml a => ToHtml (Template a) where
let description = case descriptionM of
Nothing -> "unsafePerformIO is the blog and personal website of Wilfred Denton."
Just description' -> description'
assetVer = "12"
assetVer = "13"
title_ $ toHtml title
meta_ [charset_ "utf-8"]
meta_ [name_ "description", content_ description]
Expand All @@ -52,10 +52,10 @@ instance ToHtml a => ToHtml (Template a) where
meta_ [name_ "twitter:image", content_ "https://unsafe-perform.io/static/img/favicon.png"]
meta_ [name_ "twitter:card", content_ "summary"]
link_ [rel_ "icon", type_ "image/png", href_ "/static/img/favicon.png"]
link_ [rel_ "stylesheet", type_ "text/css", href_ $ "/static/css/style.css?=" <> assetVer]
link_ [rel_ "stylesheet", type_ "text/css", href_ "/static/css/bootstrap-grid.min.css"]
link_ [rel_ "stylesheet", type_ "text/css", href_ "/static/katex/katex.min.css"]
link_ [rel_ "stylesheet", type_ "text/css", href_ "/static/css/ascetic.css"]
link_ [rel_ "stylesheet", type_ "text/css", href_ $ "/static/css/style.css?=" <> assetVer]
script_ [src_ "/static/katex/katex.min.js"] ("" :: Text)
script_ [src_ "/static/katex/auto-render.min.js"] ("" :: Text)
script_ [src_ "/static/js/highlight.pack.js"] ("" :: Text)
Expand Down

0 comments on commit fb5dab1

Please sign in to comment.