diff --git a/blocks/related-applications/related-applications.css b/blocks/related-applications/related-applications.css index cdb3a4584..dd3e5c974 100644 --- a/blocks/related-applications/related-applications.css +++ b/blocks/related-applications/related-applications.css @@ -59,6 +59,7 @@ li.related-link::marker { .related-applications-container .related-links-container { padding-top: 26px; + padding-bottom: 26px; margin-top: 0; } diff --git a/styles/styles.css b/styles/styles.css index 30abb7797..8849a5d74 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -1659,6 +1659,31 @@ main .section.background-molecules { padding-top: 50px; } +.section.video-caption.no-padding-top > div { + padding-top: 0; +} + +.section.video-caption.no-padding-bottom > div > p > .video-wrapper { + margin-bottom: 0; +} + +.section.video-caption.no-padding-top > div > p > .video-wrapper { + margin-top: 0; +} + +.video-caption p { + margin: 40px auto; + max-width: 700px; +} + +.video-caption p:first-child { + margin-top:0; +} + +.video-caption p:last-child { + margin-bottom: 0; +} + .technology .section.tabs .columns-wrapper p + h2, .application .section.tabs .columns-wrapper p + h2 { padding-top: 20px; @@ -1679,6 +1704,24 @@ main .section.background-molecules { padding-bottom: 32px; } +.technology main .section.tabs:not(.related-applications-container).title-no-spacing h2, +.application main .section.tabs:not(.related-applications-container).title-no-spacing h2 { + margin: 0; + padding: 0; +} + +.technology main .section.tabs:not(.related-applications-container).title-no-spacing-title h2, +.application main .section.tabs:not(.related-applications-container).title-no-spacing-top h2 { + margin: 0 0 10px; + padding-top: 0; +} + +.technology main .section.tabs:not(.related-applications-container).title-no-spacing-bottom h2, +.application main .section.tabs:not(.related-applications-container).title-no-spacing-bottom h2 { + margin: 20px 0 0; + padding-bottom: 0; +} + .technology .section .related-app, .application .section .related-app { margin-top: 35px; @@ -1780,6 +1823,18 @@ main .section.background-molecules { padding: 0; } +.title-no-spacing-top h2, +.title-no-spacing-top h3 { + margin-top: 0; + padding-top: 0; +} + +.title-no-spacing-bottom h2, +.title-no-spacing-bottom h3 { + margin-bottom: 0; + padding-bottom: 0; +} + .section.image-title-inline > div.default-content-wrapper > p.picture:first-child, .section.image-title-inline > div.default-content-wrapper > p.picture:first-child + h2 { display: inline;