Improve backgrounds here and there

footer-fixes
Marcin Kulik 10 years ago
parent 1ea79309ff
commit cc65ceb6e3

@ -1,6 +1,10 @@
$background-color: #f7f7f7
$link-color: #06989a
body body
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif
font-size: 15px font-size: 15px
background-color: $background-color
.btn .btn
font-size: 15px font-size: 15px
@ -8,8 +12,11 @@ body
.form-control, .btn, pre .form-control, .btn, pre
border-radius: 3px border-radius: 3px
pre
background-color: #fff
.main .main
background-color: white background-color: $background-color
min-height: 500px min-height: 500px
> div:first-child > div:first-child
@ -44,13 +51,11 @@ section.odd, section.even
border-bottom: 1px solid #ddd border-bottom: 1px solid #ddd
section.odd section.odd
background-color: #f7f7f7 background-color: #fff
section.even:last-child, section.odd:last-child section.even:last-child, section.odd:last-child
border-bottom: 0 border-bottom: 0
$link-color: #06989a
a a
color: $link-color color: $link-color

@ -1,5 +1,5 @@
footer footer
background-color: #f7f7f7 background-color: #fff
padding: 20px 0 padding: 20px 0
margin-top: 20px margin-top: 20px
border-top: 1px solid rgba(230,230,230,0.75) border-top: 1px solid rgba(230,230,230,0.75)

@ -29,7 +29,7 @@
border-bottom-right-radius: 0 border-bottom-right-radius: 0
.info .info
background-color: #f7f7f7 background-color: #fff
padding: 10px padding: 10px
border-bottom-left-radius: 3px border-bottom-left-radius: 3px
border-bottom-right-radius: 3px border-bottom-right-radius: 3px

@ -5,7 +5,7 @@
.container .container
= player page.asciicast, page.playback_options = player page.asciicast, page.playback_options
section.odd.info section.even.info
.container .container
.row .row
.col-md-8.col-xs-8 .col-md-8.col-xs-8
@ -16,7 +16,7 @@
.col-md-4.col-xs-4.text-right .col-md-4.col-xs-4.text-right
= render 'shared/add_this', title: page.asciicast_title, url: asciicast_url(page.asciicast) = render 'shared/add_this', title: page.asciicast_title, url: asciicast_url(page.asciicast)
section.even.meta section.odd.meta
.container .container
.row .row
.col-md-8.col-xs-8 .col-md-8.col-xs-8
@ -60,12 +60,12 @@
| See the #{link_to 'embedding docs', docs_path(:embedding)} for more options. | See the #{link_to 'embedding docs', docs_path(:embedding)} for more options.
- if page.show_description? - if page.show_description?
section.even.description section.odd.description
.container .container
.content = page.description .content = page.description
- if page.show_other_asciicasts_by_author? - if page.show_other_asciicasts_by_author?
section.odd section.even
.container .container
.other-asciicasts .other-asciicasts
h2 More by #{page.author_link} h2 More by #{page.author_link}

Loading…
Cancel
Save