Skip to content

Commit 1f4d1ec

Browse files
author
Lukas Nys
committed
style cleanup: move media queries down (ember-learn#879)
1 parent d7702ce commit 1f4d1ec

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

app/styles/app.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ main a.edit-icon {
2626
background: none;
2727
}
2828

29-
@media (min-width: 845px) {
30-
.es-sidebar {
31-
padding: var(--spacing-4);
32-
background-color: var(--color-gray-200);
33-
}
34-
}
35-
3629
.es-sidebar-content .table-of-contents:first-child {
3730
margin-block-start: 0;
3831
}
@@ -97,3 +90,16 @@ li.toc-heading:first-child {
9790
margin-top: 0;
9891
}
9992

93+
@media (max-width: 844px) {
94+
.table-of-contents,
95+
.sub-table-of-contents {
96+
font-size: var(--font-size-lg);
97+
}
98+
}
99+
100+
@media (min-width: 845px) {
101+
.es-sidebar {
102+
padding: var(--spacing-4);
103+
background-color: var(--color-gray-200);
104+
}
105+
}

0 commit comments

Comments
 (0)