Skip to content

Commit

Permalink
style cleanup: move media queries down (ember-learn#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Nys committed Sep 2, 2023
1 parent 9482cea commit 8ceef6d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ main a.edit-icon {
background: none;
}

@media (min-width: 845px) {
.es-sidebar {
padding: var(--spacing-4);
background-color: var(--color-gray-200);
}
}

.es-sidebar-content .table-of-contents:first-child {
margin-block-start: 0;
}
Expand All @@ -54,13 +47,6 @@ main a.edit-icon {
font-weight: var(--font-weight-2);
}

@media (max-width: 844px) {
.table-of-contents,
.sub-table-of-contents {
font-size: var(--font-size-lg);
}
}

.sub-table-of-contents .sub-table-of-contents {
padding-left: var(--spacing-3);
margin-bottom: 0;
Expand Down Expand Up @@ -104,3 +90,16 @@ li.toc-heading:first-child {
margin-top: 0;
}

@media (max-width: 844px) {
.table-of-contents,
.sub-table-of-contents {
font-size: var(--font-size-lg);
}
}

@media (min-width: 845px) {
.es-sidebar {
padding: var(--spacing-4);
background-color: var(--color-gray-200);
}
}

0 comments on commit 8ceef6d

Please sign in to comment.