Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Commit 7115acb

Browse files
fix - Done some maths on the Media Queries
1 parent 9d58a49 commit 7115acb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/configurations/media-queries.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
for size in 220 240 320 375 414 480 576 600 640 648 720 768 800 900 960 1024 1050 1080 1152 1200 1280 1366 1392 1400 1440 1536 1600 1680 1856 1920 2048 2160 2560 3384 3840 4320 6016 7680
33
@media only screen and (max-width : size px )
44
.container
5-
width size px
5+
width round((size / 1.06180339887498948482), 3) px
66
margin 0 auto
77

88
@media (prefers-reduced-motion: no-preference)

src/layout/container.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
.container
33
box-sizing border-box
44
margin 0 auto
5+
position relative
6+
width 96%
57

68
.container:after,.container:before
79
display table

0 commit comments

Comments
 (0)