Smaller font for laptop sizes

This commit is contained in:
Eduard Urbach 2017-11-08 15:50:48 +01:00
parent a747affc61
commit 3c4b084fab
3 changed files with 25 additions and 9 deletions

View File

@ -27,7 +27,7 @@ sidebar-spacing-y = 0.7rem
> 800px > 800px
#sidebar #sidebar
opacity 1 opacity 1
min-width 200px min-width 180px
transform none transform none
position static position static
pointer-events auto pointer-events auto
@ -35,6 +35,10 @@ sidebar-spacing-y = 0.7rem
border-right ui-border border-right ui-border
background sidebar-background background sidebar-background
> 1400px
#sidebar
min-width 200px
.sidebar-visible .sidebar-visible
transform translateX(0) !important transform translateX(0) !important
pointer-events auto !important pointer-events auto !important
@ -42,7 +46,7 @@ sidebar-spacing-y = 0.7rem
.sidebar-link .sidebar-link
color text-color color text-color
&.active &.active
.sidebar-button .sidebar-button
color tab-active-color color tab-active-color

View File

@ -9,15 +9,19 @@
vertical vertical
margin-left 0 margin-left 0
margin-top 1rem margin-top 1rem
flex-basis 300px
> 1350px > 1250px
.anime .anime
horizontal horizontal
.anime-side-column .anime-side-column
margin-left content-padding margin-left content-padding
margin-top 0 margin-top 0
flex-basis 270px
> 1400px
.anime-side-column
flex-basis 300px
.anime-header .anime-header
vertical vertical
@ -31,7 +35,7 @@
horizontal horizontal
padding-bottom content-padding padding-bottom content-padding
border-bottom 1px solid rgba(0, 0, 0, 0.05) border-bottom 1px solid rgba(0, 0, 0, 0.05)
.anime-title .anime-title
text-align left text-align left
@ -109,7 +113,7 @@
width 250px width 250px
height auto height auto
border-radius 3px border-radius 3px
default-transition default-transition
object-fit cover object-fit cover
@ -134,7 +138,7 @@
text-align center text-align center
font-weight normal font-weight normal
line-height content-line-height line-height content-line-height
.japanese .japanese
color anime-alternative-title-color !important color anime-alternative-title-color !important

View File

@ -3,6 +3,14 @@ html
font-family "Ubuntu", "Trebuchet MS", sans-serif font-family "Ubuntu", "Trebuchet MS", sans-serif
font-size 100% font-size 100%
> 900px
html
font-size 90%
> 1400px
html
font-size 100%
body body
tab-size 4 tab-size 4
overflow hidden overflow hidden
@ -20,10 +28,10 @@ a
color link-hover-color color link-hover-color
text-shadow link-hover-text-shadow text-shadow link-hover-text-shadow
text-decoration none text-decoration none
:active :active
transform translateY(3px) transform translateY(3px)
// &.active // &.active
// color link-active-color // color link-active-color