Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Sep 22, 2024
1 parent 0021391 commit d3b47bc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
34 changes: 22 additions & 12 deletions sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ body, html
display: none

@media screen and (max-width: 60em)
article
margin-left: 1rem !important
margin-right: 1rem !important
max-width: min(60rem, calc(100vw - 2rem)) !important
main
article
margin-left: 1rem !important
margin-right: 1rem !important
max-width: min(60rem, calc(100vw - 2rem)) !important
box-sizing: border-box
article.page
aside
float: none !important
clear: both !important
width: 100% !important

@media screen and (min-width: 60em)
article.page > *
Expand Down Expand Up @@ -115,6 +122,9 @@ main
padding: 1rem

article.page
> *
box-sizing: border-box

h2
margin: 2em 0 0 0

Expand Down Expand Up @@ -212,24 +222,24 @@ pre
box-sizing: border-box
font-size: smaller
overflow: scroll
color: white
background-color: $code
kbd, code
background-color: inherit
padding: 0
code
white-space: pre
display: block

pre, code, kbd
font-family: "JetBrains Mono", monospace
font-optical-sizing: auto

code
color: white
background-color: $code
padding: 0.1em 0.2em
white-space: nowrap

pre code
white-space: pre
display: block
white-space: break-spaces

kbd
background-color: lightgrey
padding: 0.1em 0.2em
white-space: break-spaces
background-color: lightgrey
2 changes: 2 additions & 0 deletions sass/front.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
flex-wrap: wrap
.div
display: none
ol
display: none !important

html
height: 100%
Expand Down

0 comments on commit d3b47bc

Please sign in to comment.