diff --git a/css/sass-generated-styles.css b/css/sass-generated-styles.css index 09ffda03a661b9461c2c5b01467be1a77df1306d..f884ea22c002cc615af9d771a2ab59bc4299c0fe 100644 --- a/css/sass-generated-styles.css +++ b/css/sass-generated-styles.css @@ -946,14 +946,6 @@ div#page-title { margin-top: 1em; } -#page-subtitle { - margin-top: 0; -} - -.new-style #page-subtitle { - margin-top: 0.825em; -} - #page-tools { margin: 0.692em 0 0; text-align: right; @@ -1149,12 +1141,9 @@ div#page-title { } #block-drupalorg-site-curtain h2 { font-family: var(--body); - font-weight: 300; - margin-top: 0.25rem; -} -.new-style #block-drupalorg-site-curtain h2 { color: #fff; font-size: 1.6875rem; + font-weight: 300; margin-top: 0.25rem; } #block-drupalorg-site-curtain h2:focus { @@ -2561,9 +2550,6 @@ ul.election-candidate li.views-row div.views-field-view-link { float: left; } } -.node.node-event #page-subtitle { - font-weight: 500 !important; -} .node.node-event .field-label { font-weight: normal; font-size: 1.5em; @@ -2730,14 +2716,6 @@ ul.election-candidate li.views-row div.views-field-view-link { .with-cover-photo #page { position: relative; } -.with-cover-photo #page-subtitle { - background: radial-gradient(circle, rgba(178, 178, 178, 0.3) 25%, rgba(0, 0, 0, 0.75) 100%); - font-size: 3rem; - margin: 0; - max-width: 100%; - padding: 8vw 5vw 16vw 5vw; -} -.with-cover-photo #page-subtitle, .with-cover-photo #content .node .submitted { color: white; text-align: center; @@ -5086,12 +5064,12 @@ body .project-issue tr.even { padding-top: 1em; } -.node-type-contributor-role.new-style #aside .block-views h2, .node-type-contributor-task.new-style #aside .block-views h2, .node-type-contributor-skill.new-style #aside .block-views h2 { +.node-type-contributor-role #aside .block-views h2, .node-type-contributor-task #aside .block-views h2, .node-type-contributor-skill #aside .block-views h2 { color: var(--default-text-color); font-size: 1.3em; font-weight: normal; } -.node-type-contributor-role.new-style #aside .block-views h3, .node-type-contributor-task.new-style #aside .block-views h3, .node-type-contributor-skill.new-style #aside .block-views h3 { +.node-type-contributor-role #aside .block-views h3, .node-type-contributor-task #aside .block-views h3, .node-type-contributor-skill #aside .block-views h3 { color: var(--default-text-color); font-size: 1em; font-weight: normal; diff --git a/sass/partials/common/_page.scss b/sass/partials/common/_page.scss index 536717727a5faa1a9df0ff484fa1ccddc278081f..bd6eb45f5171d2b1b8820738c0fd1cbff4c1d45e 100644 --- a/sass/partials/common/_page.scss +++ b/sass/partials/common/_page.scss @@ -57,18 +57,6 @@ div#page-title { margin-top: 1em; } -#page-subtitle { - // Snug up to breadcrumb. - margin-top: 0; -} - -.new-style { - #page-subtitle { - // Reset. - margin-top: .825em; - } -} - // 'Add X to dashboard' link #page-tools { margin: 0.692em 0 0; diff --git a/sass/partials/common/_region-banner.scss b/sass/partials/common/_region-banner.scss index ec7f9bc8438fd9ab7dbfa560c2f8c7260287dd8a..762eb2b4d6beaac673444c84daea404626c5df7f 100644 --- a/sass/partials/common/_region-banner.scss +++ b/sass/partials/common/_region-banner.scss @@ -145,15 +145,11 @@ h2 { @include new-font; + color: $white; + font-size: (27rem / 16); font-weight: 300; margin-top: .25rem; - .new-style & { - color: $white; - font-size: (27rem / 16); - margin-top: .25rem; - } - &:focus { color: $new-blue; outline: none; diff --git a/sass/partials/drupalorg/_commevent.scss b/sass/partials/drupalorg/_commevent.scss index 2a7e9a2b14e6ada7456112f439a3b76a8a22b527..a517c295e79d8e29021b5904ada3f6a66f192960 100644 --- a/sass/partials/drupalorg/_commevent.scss +++ b/sass/partials/drupalorg/_commevent.scss @@ -164,9 +164,6 @@ } } - #page-subtitle{ - font-weight:500 !important; - } .field-label { font-weight: normal; font-size: 1.5em; diff --git a/sass/partials/drupalorg/_cover-photo.scss b/sass/partials/drupalorg/_cover-photo.scss index 40bf6065b38147a0136ee160482f6e3845d3277c..8ff41d25f139dbe4ad846855a7a0bf3b9021814a 100644 --- a/sass/partials/drupalorg/_cover-photo.scss +++ b/sass/partials/drupalorg/_cover-photo.scss @@ -5,15 +5,6 @@ position: relative; } - #page-subtitle { - background: radial-gradient(circle, rgba(178,178,178,.3) 25%, rgba(0,0,0,.75) 100%); - font-size: 3rem; - margin: 0; - max-width: 100%; - padding: 8vw 5vw 16vw 5vw; - } - - #page-subtitle, #content .node .submitted { color: white; text-align: center; diff --git a/sass/partials/drupalorg/_section-documentation.scss b/sass/partials/drupalorg/_section-documentation.scss index 557765bb915cfedf69a44b75ed5ae5cb5614a3e4..dbb2865ccf5964ad3f154aa910274556db5f88f5 100644 --- a/sass/partials/drupalorg/_section-documentation.scss +++ b/sass/partials/drupalorg/_section-documentation.scss @@ -280,12 +280,12 @@ } .node-type-contributor-role, .node-type-contributor-task, .node-type-contributor-skill { - &.new-style #aside .block-views h2 { + #aside .block-views h2 { color: $body-text; font-size: 1.3em; font-weight: normal; } - &.new-style #aside .block-views h3 { + #aside .block-views h3 { color: $body-text; font-size: 1em; font-weight: normal; diff --git a/templates/layout/html.html.twig b/templates/layout/html.html.twig index 4d3a426b4aa77aca3bb11ffe642856bc3a1c1705..f04613d50719f3581a7a010d3ebb82c0b746459e 100644 --- a/templates/layout/html.html.twig +++ b/templates/layout/html.html.twig @@ -25,7 +25,6 @@ #} {% set body_classes = [ - 'new-style', logged_in ? 'user-logged-in', not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class, node_type ? 'node--type-' ~ node_type|clean_class,