Browse Source

move social links into footer

pull/1/head
Brett Langdon 12 years ago
parent
commit
635647cf74
3 changed files with 11 additions and 9 deletions
  1. +8
    -4
      contents/css/main.css
  2. +0
    -5
      templates/index.jade
  3. +3
    -0
      templates/layout.jade

+ 8
- 4
contents/css/main.css View File

@ -170,6 +170,10 @@ footer .copy, footer .copy a {
color: #8e8e8e;
}
footer section{
clear: both;
}
/* article */
.article {
@ -439,25 +443,25 @@ code.lang-markdown .bullet {
}
}
#social-links {
section.social-links {
width: 304px;
margin-left: auto;
margin-right: auto;
}
#social-links ul {
section.social-links ul {
list-style: none;
margin: 0;
padding: 0;
}
#social-links ul li {
section.social-links ul li {
float: left;
margin-left: 3px;
margin-right: 3px;
}
#social-links ul li img {
section.social-links ul li img {
width: 32px;
height: 32px;
}

+ 0
- 5
templates/index.jade View File

@ -1,10 +1,5 @@
include mixins/social
extends layout
block append header
#social-links
+social_links
block content
include author
each article in articles


+ 3
- 0
templates/layout.jade View File

@ -30,6 +30,9 @@ html(lang='en')
block footer
section.about
!=contents['about.md'].html
section.social-links
include mixins/social
+social_links
section.copy
p © #{ new Date().getFullYear() } #{ locals.owner } — powered by 
a(href='https://github.com/jnordberg/wintersmith') Wintersmith


Loading…
Cancel
Save