| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- /*
- Styling for content pages
- Including: about, blog, /for/__, legal, contact, portals, wiki, gallery, plans, and interstitial payment page
- */
- // TODO: consolidate cms.scss and content.scss
- .content-page {
- &.content {
- padding-top: $header-height; // remove extra padding added by .content. Keep .content selector to increase specificity
- }
- word-break: break-word;
- /*
- Links and Buttons
- */
- // TODO: remove an use link style in more generic selector,
- // which is likely .website-redesign to start
- // a {
- // color: @link-color-alt;
- // &:hover {
- // color: @link-hover-color-alt;
- // }
- // }
- hr {
- border-color: var(--neutral-30);
- }
- /*
- section
- */
- section {
- padding: var(--spacing-16) var(--spacing-05) 0 var(--spacing-05);
- // TODO: confirm if we will still support this and if so what colors to use
- // &.color-block {
- // &.green-dark {
- // background-color: @ol-dark-green;
- // }
- // &.green {
- // background-color: @ol-green;
- // .no-card * {
- // .btn-primary,
- // .btn-success {
- // // only correct button colors when green on green
- // .btn-primary-on-primary-bg;
- // }
- // }
- // }
- // &.blue-gray-dark {
- // background-color: @ol-blue-gray-5;
- // }
- // &.blue-gray-light {
- // background-color: @ol-blue-gray-1;
- // }
- // &.green,
- // &.green-dark,
- // &.blue-gray-dark {
- // .no-card * {
- // &:not(.btn) {
- // color: @white;
- // }
- // a {
- // text-decoration: underline;
- // }
- // .btn {
- // text-decoration: none;
- // }
- // .form-control {
- // color: @input-color;
- // }
- // }
- // }
- // }
- .section-row {
- @extend .container;
- }
- }
- .content-container > section:first-child {
- padding-top: var(--spacing-15);
- }
- section.no-top-padding {
- /* opt out of padding via the CMS */
- padding-top: 0;
- }
- // TODO: only used on about page. Confirm with UX changes needed
- // .container-small {
- // section .section-row {
- // /* match col-sm-8 */
- // /* @grid-gutter-width is used for margins */
- // max-width: (@screen-sm * (8/12)) - @grid-gutter-width;
- // @media (min-width: @screen-md-min) {
- // max-width: (@screen-md * (8/12)) - @grid-gutter-width;
- // }
- // @media (min-width: @screen-lg-min) {
- // max-width: (@screen-lg * (8/12)) - @grid-gutter-width;
- // }
- // }
- // }
- /*
- lists
- */
- .list-without-style {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- }
|