Skip to content

Commit

Permalink
improve mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 31, 2024
1 parent e528f45 commit 8cfb092
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ body
table
border-spacing: 0

@media screen and (max-width: 60em)
article
margin-left: 1rem !important
margin-right: 1rem !important

article
max-width: 60rem
margin: 4rem auto
Expand Down Expand Up @@ -39,6 +44,7 @@ article
line-height: 1.6

aside
clear: both
font-size: smaller
float: right
width: 25%
Expand All @@ -48,9 +54,10 @@ article
font-size: 140%

pre
padding: 2rem
padding: 1rem
box-sizing: border-box
font-size: smaller
overflow: scroll
code
background-color: inherit

Expand Down

0 comments on commit 8cfb092

Please sign in to comment.