mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-05 08:55:10 -05:00
reorganized css, changed typography, layout fixes
This commit is contained in:
parent
55b8d5dc3f
commit
6b9c3af4b5
@ -79,7 +79,7 @@ google_analytics: true
|
||||
Status updating...
|
||||
#footer
|
||||
.page_width
|
||||
= "Copyright © #{Time.now.strftime('%Y')} - #{page.blog_title} | "
|
||||
Copyright © #{Time.now.strftime('%Y')} - #{page.blog_title} -
|
||||
%span.credit Powered by <a href="http://github.com/imathis/octopress/">Octopress</a>
|
||||
- if page.respond_to? :disqus_short_name
|
||||
//Disqus Commens code
|
||||
|
@ -7,8 +7,8 @@ title: Blog
|
||||
.article
|
||||
%h2= link_to(post.title, post.url, {:class=>"title"})
|
||||
= post.content
|
||||
.footer
|
||||
- if page.respond_to? :disqus_short_name
|
||||
- if page.respond_to? :disqus_short_name
|
||||
.footer
|
||||
- if post.data["comments_off"]
|
||||
%em.comments_off Comments disabled
|
||||
- else
|
||||
|
@ -10,10 +10,6 @@ html body
|
||||
a
|
||||
color= !link_color
|
||||
|
||||
#footer a
|
||||
color= #ddd
|
||||
&:hover
|
||||
color = #fff
|
||||
#header
|
||||
background-color= !header_bg
|
||||
border-bottom= "1px solid" !header_border
|
||||
@ -91,23 +87,10 @@ html body
|
||||
right= "1px solid" !page_border_sides
|
||||
#main
|
||||
width= !page_width - !sidebar_width - !sidebar_margin
|
||||
#sidebar
|
||||
width= !sidebar_width
|
||||
margin-left= !sidebar_margin
|
||||
|
||||
#main, #sidebar
|
||||
#main
|
||||
float: left
|
||||
|
||||
.blog
|
||||
.article
|
||||
padding= !base_font_size * 1.5 0 !base_font_size * 1.5
|
||||
border-bottom= "1px solid" !article_border
|
||||
&:first-child
|
||||
padding-top: 0
|
||||
.footer
|
||||
padding-top= !base_font_size
|
||||
|
||||
|
||||
#footer
|
||||
position: relative
|
||||
z-index: 2
|
||||
@ -116,4 +99,8 @@ html body
|
||||
padding= !base_font_size * 1.5 0
|
||||
color= !footer_color
|
||||
+h-linear-gradient(darken(!body_bg, 25), !body_bg)
|
||||
border-top= "14px solid" !footer_bg
|
||||
border-top= "14px solid" !footer_bg
|
||||
a
|
||||
color= #ddd
|
||||
&:hover
|
||||
color = #fff
|
@ -1,3 +1,4 @@
|
||||
@import partials/twitter.sass
|
||||
@import partials/blog.sass
|
||||
@import partials/search.sass
|
||||
@import partials/sidebar.sass
|
||||
@import partials/sidebar.sass
|
||||
@import partials/twitter.sass
|
@ -10,16 +10,17 @@
|
||||
+serif-font
|
||||
|
||||
body
|
||||
font-size= !base_font_size
|
||||
+sans-font
|
||||
font-size= !base_font_size +2
|
||||
+serif-font
|
||||
|
||||
h1,h2,h3,h4,h5,h6
|
||||
color: #333
|
||||
font-weight: bold
|
||||
+heading-font
|
||||
letter-spacing: -1px
|
||||
|
||||
blockquote
|
||||
+heading-font
|
||||
+quote-font
|
||||
font-size= !base_font_size * 1.2
|
||||
.quote blockquote
|
||||
font-size= !h4
|
||||
|
@ -14,7 +14,7 @@
|
||||
=sans-font
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", Helvetica, Arial, Verdana, sans-serif
|
||||
=serif-font
|
||||
font-family: Times, "Times New Roman" Georgia, serif
|
||||
font-family: Georgia, Times, "Times New Roman", serif
|
||||
=fixed-font
|
||||
font-family: "Menlo", "Bitstream Vera Sans", Monaco, "Andale Mono", "Lucida Console", monospace
|
||||
|
||||
|
8
stylesheets/partials/_blog.sass
Normal file
8
stylesheets/partials/_blog.sass
Normal file
@ -0,0 +1,8 @@
|
||||
.blog
|
||||
.article
|
||||
padding= !base_font_size * 1.5 0 !base_font_size * 1.5
|
||||
border-bottom= "1px solid" !article_border
|
||||
&:first-child
|
||||
padding-top: 0
|
||||
.footer
|
||||
padding-top= !base_font_size
|
@ -1,7 +1,11 @@
|
||||
#sidebar
|
||||
float: left
|
||||
width= !sidebar_width
|
||||
padding-top: 10px
|
||||
h4
|
||||
margin: 0
|
||||
.small
|
||||
+sans-font
|
||||
font-size: 50%
|
||||
margin-left= !sidebar_margin
|
||||
|
||||
h4
|
||||
margin: 0
|
||||
.small
|
||||
+sans-font
|
||||
font-size: 50%
|
Loading…
Reference in New Issue
Block a user