1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-11 23:55:16 +01:00

remove all the clearfixes

This commit is contained in:
Matthias Kretschmann 2015-08-19 01:37:29 +02:00
parent ffad908c1f
commit 4b99faa63d
4 changed files with 11 additions and 10 deletions

View File

@ -5,7 +5,7 @@
// //
.comments .comments
@extend .clearfix, .textcenter @extend .textcenter
font-size: $font-size-small font-size: $font-size-small
font-style: italic font-style: italic
color: $text-color-dimmed color: $text-color-dimmed

View File

@ -69,6 +69,9 @@
h1 h1
font-size: ceil($font-size-base * 2.5) font-size: ceil($font-size-base * 2.5)
img:not(.teaser)
margin-bottom: ($line-height-computed/2)
.teaser .teaser
box-shadow: 0 1px 3px rgba(0,0,0,.2) box-shadow: 0 1px 3px rgba(0,0,0,.2)
@ -80,7 +83,6 @@
///////////////////////////////////// /////////////////////////////////////
.entry-meta .entry-meta
@extend .clearfix
margin-top: ($line-height-computed*2) margin-top: ($line-height-computed*2)
font-size: $font-size-small font-size: $font-size-small
@ -153,7 +155,7 @@
///////////////////////////////////// /////////////////////////////////////
.goodie-actions .goodie-actions
@extend .clearfix, .aligncenter @extend .aligncenter
max-width: 640px max-width: 640px
p, p,
@ -163,12 +165,6 @@
.btn .btn
display: block display: block
.download
margin-top: ($line-height-computed/2)
@media $breakpoint2
margin-top: 0
text-align: right
// Masonry // Masonry
///////////////////////////////////// /////////////////////////////////////

View File

@ -42,7 +42,7 @@
.subscribe .subscribe
margin: $line-height-computed auto margin: $line-height-computed auto
p p
@extend .clearfix, .textcenter @extend .textcenter
margin: 0 margin: 0
.btn .btn

View File

@ -51,6 +51,11 @@
.grid__col .grid__col
padding-top: 0 padding-top: 0
opacity: 0
.menu-open &
opacity: 1
.nav-link .nav-link
@extend .category @extend .category
text-shadow: 0 1px 0 rgba(#fff, .5) text-shadow: 0 1px 0 rgba(#fff, .5)