Simplified sidebar creation

This commit is contained in:
Eduard Urbach 2017-11-29 16:29:30 +01:00
parent 91fd29a702
commit 92a1d33698
4 changed files with 21 additions and 15 deletions

View File

@ -6,22 +6,18 @@
flex 1 flex 1
.anime-side-column .anime-side-column
vertical sidebar
margin-left 0
margin-top 1rem
> 1250px > 1250px
.anime .anime
horizontal horizontal
.anime-side-column .anime-side-column
margin-left content-padding sidebar-medium
margin-top 0
flex-basis 270px
> 1400px > 1400px
.anime-side-column .anime-side-column
flex-basis 300px sidebar-big
.anime-header .anime-header
vertical vertical

View File

@ -21,9 +21,7 @@
margin-top 1.6rem margin-top 1.6rem
.character-sidebar .character-sidebar
vertical sidebar
margin-left 0
margin-top 1rem
.character-attributes .character-attributes
margin 0 margin 0
@ -60,8 +58,8 @@
margin-top typography-margin margin-top typography-margin
.character-sidebar .character-sidebar
sidebar sidebar-medium
> 1400px > 1400px
.character-sidebar .character-sidebar
min-width 300px sidebar-big

View File

@ -4,16 +4,19 @@
.company-header .company-header
vertical vertical
.company-sidebar
sidebar
> 1250px > 1250px
.company-page .company-page
horizontal horizontal
.company-sidebar .company-sidebar
sidebar sidebar-medium
> 1400px > 1400px
.company-sidebar .company-sidebar
min-width 300px sidebar-big
.company-name, .company-name,
.company-description .company-description

View File

@ -65,9 +65,18 @@ mixin anime-mini-item-image
filter saturate(1.3) filter saturate(1.3)
mixin sidebar mixin sidebar
vertical
margin-left 0
margin-top 1rem
flex-shrink 0
mixin sidebar-medium
margin-left content-padding margin-left content-padding
margin-top 0 margin-top 0
min-width 270px flex-basis 270px
mixin sidebar-big
flex-basis 300px
mixin bg-dark-up mixin bg-dark-up
background-color transparent background-color transparent