[go: up one dir, main page]

Skip to content

Commit

Permalink
Update some media queries, make some padding relative
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 11, 2021
1 parent 75262a3 commit ecf9b07
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions _sass/_og.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
html {
font-size: 16px;

@media (min-width: 48em) {
@media (min-width: 768px) {
font-size: 18px;
}
}
Expand Down Expand Up @@ -91,7 +91,7 @@ pre {
font-size: 95%;
}
code {
padding: 2px 4px;
padding: .125em .25em;
font-size: 85%;
color: #d44950;
background-color: #f7f7f9;
Expand Down Expand Up @@ -150,7 +150,7 @@ pre {
color: #fff;
background-color: var(--blue);

@media (min-width: 60em) {
@media (min-width: 960px) {
padding-top: 6rem;
padding-bottom: 6rem;
margin-bottom: 6rem;
Expand All @@ -164,11 +164,11 @@ pre {
line-height: .9;
color: inherit;

@media (min-width: 48em) {
@media (min-width: 768px) {
font-size: 6rem;
}

@media (min-width: 60em) {
@media (min-width: 960px) {
font-size: 7rem;
}
}
Expand All @@ -179,7 +179,7 @@ pre {
font-size: 1.5rem;
line-height: 1.25;

@media (min-width: 48em) {
@media (min-width: 768px) {
font-size: 2rem;
}
}
Expand Down Expand Up @@ -212,7 +212,7 @@ pre {
margin-right: auto;
margin-left: auto;

@media (min-width: 48em) {
@media (min-width: 768px) {
padding-right: 3rem;
padding-left: 3rem;
}
Expand All @@ -237,7 +237,7 @@ pre {
padding: 2rem;
background-color: #f8f9fa;
}
@media (min-width: 48em) {
@media (min-width: 768px) {
.section {
display: table;
width: 100%;
Expand Down

0 comments on commit ecf9b07

Please sign in to comment.