1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-26 11:49:04 +01:00

variables cleanup

This commit is contained in:
Matthias Kretschmann 2016-05-25 23:03:36 +02:00
parent a0d27eb489
commit 8c5a8822c4
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
10 changed files with 13 additions and 32 deletions

View File

@ -66,8 +66,8 @@ code.language-shell
display: block display: block
&:before &:before
@extend .text-dimmed
content: "$" content: "$"
color: $text-color-dimmed
display: inline-block display: inline-block
margin-left: -.5em margin-left: -.5em
margin-right: .8em margin-right: .8em

View File

@ -5,10 +5,9 @@
// //
.linkurl .linkurl
@extend .ellipsis, .aligncenter @extend .text-dimmed, .ellipsis, .aligncenter
font-family: $font-family-base font-family: $font-family-base
font-size: $font-size-mini font-size: $font-size-mini
color: $text-color-dimmed
padding: ($spacer/3) 0 padding: ($spacer/3) 0
max-width: 70% max-width: 70%

View File

@ -87,7 +87,7 @@
// //
.ab-dark .ab-dark
.entry-content .entry-content
color: $text-color-dimmed @extend .text-dimmed
.byline, time, .comments .byline, time, .comments
color: $text-color-light color: $text-color-light

View File

@ -109,8 +109,8 @@
///////////////////////////////////// /////////////////////////////////////
.entry-meta .entry-meta
@extend .small
margin-top: ($spacer*2) margin-top: ($spacer*2)
font-size: $font-size-small
.byline, .byline,
.time, .time,
@ -120,8 +120,7 @@
.byline, .byline,
.time .time
font-style: italic @extend .text-dimmed, .italic
color: $text-color-dimmed
.byline .byline
margin-bottom: 0 margin-bottom: 0
@ -139,12 +138,11 @@
margin-bottom: ($spacer/2) margin-bottom: ($spacer/2)
.category .category
@extend .h6, .textcenter @extend .h6, .textcenter, .mini
font-size: $font-size-mini color: $text-color
line-height: 1 line-height: 1
color: $brand-grey-light
text-transform: uppercase text-transform: uppercase
border: 1px solid $text-color-dimmed border: 1px solid $text-color
border-radius: $border-radius-base border-radius: $border-radius-base
padding: 4px 8px padding: 4px 8px
margin: 0 margin: 0
@ -165,8 +163,8 @@
margin-right: 5px margin-right: 5px
&:before &:before
@extend .text-dimmed
content: '#' content: '#'
color: $text-color-dimmed
margin-right: 1px margin-right: 1px
.avatar .avatar

View File

@ -72,8 +72,7 @@
fill: #3b5998 fill: #3b5998
.subscribe-title .subscribe-title
@extend .h5 @extend .h5, .text-dimmed
color: $text-color-dimmed
margin-bottom: ($spacer/2) margin-bottom: ($spacer/2)
.footer__btc .footer__btc

View File

@ -118,20 +118,6 @@ visuallyhidden()
border: 0 border: 0
// Dimmed Text
/////////////////////////////////////
dimmed()
color: $text-color-dimmed
p
color: $text-color-dimmed
li
color: $text-color-dimmed
.dimmed
dimmed()
// Text overflow // Text overflow
///////////////////////////////////// /////////////////////////////////////

View File

@ -94,7 +94,7 @@
background: rgba(255,255,255,.3) background: rgba(255,255,255,.3)
&.active &.active
color: $text-color-dimmed @extend .text-dimmed
cursor: default cursor: default
pointer-events: none pointer-events: none
background: rgba(255,255,255,.3) background: rgba(255,255,255,.3)

View File

@ -243,7 +243,7 @@ dfn
text-transform: none text-transform: none
font-style: normal font-style: normal
font-size: inherit font-size: inherit
border-bottom: 1px dashed $text-color-dimmed border-bottom: 1px dashed $brand-grey-dimmed
cursor: help cursor: help
font-feature-settings: inherit font-feature-settings: inherit

View File

@ -35,7 +35,6 @@ $brand-grey-dimmed = #D8E0E5
$text-color = $brand-grey $text-color = $brand-grey
$text-color-light = $brand-grey-light $text-color-light = $brand-grey-light
$text-color-dimmed = $brand-grey-dimmed
// Typography // Typography

View File

@ -16,9 +16,9 @@
color: $text-color-light color: $text-color-light
.srverror-text .srverror-text
@extend .text-dimmed
font-size: 1.2em font-size: 1.2em
letter-spacing: .01em letter-spacing: .01em
color: $text-color-dimmed
// HAL needs a size // HAL needs a size
$hal-size = 72px $hal-size = 72px