Skip to content

Commit

Permalink
Update page styles of FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
jysperm committed May 14, 2016
1 parent 8676ba8 commit 330ded3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 9 deletions.
19 changes: 10 additions & 9 deletions themes/jybox/layout/base.jade
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
doctype html
html
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='icon', href='https://jysperm.me/avatars/v5.png')
link(rel='stylesheet', href='/styles.css')
if page.title
title #{page.title} | #{config.title}
else
title= config.title
block head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='icon', href='https://jysperm.me/avatars/v5.png')
link(rel='stylesheet', href='/styles.css')
if page.title
title #{page.title} | #{config.title}
else
title= config.title
body
header.masthead
.container
Expand All @@ -25,7 +26,7 @@ html
.block-body.column.three-fourths
article
.markdown-body!= page.content

if page.comments
#disqus_thread

Expand Down
3 changes: 3 additions & 0 deletions themes/jybox/layout/faq.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
extends page

append head
link(rel='stylesheet', href='/faq.css')

prepend sidebar
.widget
p
Expand Down
18 changes: 18 additions & 0 deletions themes/jybox/source/faq.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.markdown-body ul {
list-style-type: none;
padding-left: 1em;
}

li {
position: relative;
padding-left: 20px;
margin-bottom: 10px
}

li:before {
position: absolute;
top: 0;
left: 0;
font-family: 'FontAwesome';
content: "\f128";
}

0 comments on commit 330ded3

Please sign in to comment.