these stylesheets are an absolute travesty

This commit is contained in:
byte[] 2020-12-10 16:02:01 -05:00
parent 52dd9684c2
commit 0faa10bd12
2 changed files with 5 additions and 5 deletions

View file

@ -84,7 +84,7 @@ a.block__header--single-item, .block__header a {
} }
} }
.block__header a, .block__header > span { .block__header a, .block__header > span, .header__span {
background: $block_header_color; background: $block_header_color;
} }
@ -96,7 +96,7 @@ a.block__header--single-item, .block__header a {
.block__header--light { .block__header--light {
background: $block_header_light_color; background: $block_header_light_color;
a, > span { a, > span, .header__span {
background: $block_header_light_color; background: $block_header_light_color;
} }

View file

@ -41,19 +41,19 @@
.dropdown__content .dropdown__content
= if left_gap?(@page) do = if left_gap?(@page) do
span.page.gap span.page.gap.header__span
' … ' …
= for number <- left_page_numbers(@page) do = for number <- left_page_numbers(@page) do
= link(number, to: page_path(@route, params, number)) = link(number, to: page_path(@route, params, number))
span.page-current = @page.page_number span.page-current.header__span = @page.page_number
= for number <- right_page_numbers(@page) do = for number <- right_page_numbers(@page) do
= link(number, to: page_path(@route, params, number)) = link(number, to: page_path(@route, params, number))
= if right_gap?(@page) do = if right_gap?(@page) do
span.page.gap span.page.gap.header__span
' … ' …
= if last_page?(@page) do = if last_page?(@page) do