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

+ 0
- 5
templates/index.jade View File

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


+ 3
- 0
templates/layout.jade View File

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


Loading…
Cancel
Save