2018-09-20 22:30:50 +00:00
|
|
|
/*
|
|
|
|
Styling for content pages
|
2020-04-22 09:36:24 +00:00
|
|
|
Including: about, home, blog, /for/__, legal, contact, portals, wiki
|
2018-09-20 22:30:50 +00:00
|
|
|
*/
|
|
|
|
.content-page {
|
2018-10-19 14:02:08 +00:00
|
|
|
word-break: break-word;
|
|
|
|
|
2020-06-01 13:54:00 +00:00
|
|
|
/*
|
|
|
|
Links and Buttons
|
|
|
|
*/
|
2022-11-28 16:42:13 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: @link-color-alt;
|
|
|
|
&:hover {
|
|
|
|
color: @link-hover-color-alt;
|
2022-11-17 15:29:59 +00:00
|
|
|
}
|
2022-11-28 16:42:13 +00:00
|
|
|
}
|
|
|
|
// correct color property set on <a> above:
|
|
|
|
.reset-btns;
|
|
|
|
.alert {
|
|
|
|
.alert;
|
|
|
|
}
|
|
|
|
.alert-info {
|
|
|
|
.btn-info {
|
|
|
|
.btn-alert-info;
|
2018-09-27 16:37:14 +00:00
|
|
|
}
|
2018-09-20 22:30:50 +00:00
|
|
|
}
|
2020-06-01 13:54:00 +00:00
|
|
|
|
2021-02-22 15:01:19 +00:00
|
|
|
// correct color property set on <a> above:
|
|
|
|
.reset-btns;
|
|
|
|
.alert {
|
|
|
|
.alert;
|
|
|
|
}
|
|
|
|
.alert-info {
|
|
|
|
.btn-info {
|
|
|
|
.btn-alert-info;
|
|
|
|
}
|
|
|
|
}
|
2020-06-01 13:54:00 +00:00
|
|
|
|
2018-09-24 20:59:44 +00:00
|
|
|
hr {
|
|
|
|
border-color: @hr-border-alt;
|
|
|
|
}
|
2020-06-01 13:54:00 +00:00
|
|
|
|
2018-09-24 21:12:13 +00:00
|
|
|
.quote-by {
|
2019-02-04 11:13:49 +00:00
|
|
|
min-width: 80px;
|
2018-09-24 21:12:13 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-02-14 18:07:34 +00:00
|
|
|
|
|
|
|
.page-header {
|
2022-12-12 15:49:34 +00:00
|
|
|
margin-top: 0px;
|
2019-02-14 18:07:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2020-06-01 13:54:00 +00:00
|
|
|
section
|
2019-02-14 18:07:34 +00:00
|
|
|
*/
|
|
|
|
section {
|
|
|
|
padding: @line-height-computed (@grid-gutter-width / 2);
|
2019-12-05 19:09:31 +00:00
|
|
|
|
2019-02-14 18:07:34 +00:00
|
|
|
&.color-block {
|
|
|
|
&.green-dark {
|
|
|
|
background-color: @ol-dark-green;
|
|
|
|
}
|
|
|
|
&.green {
|
|
|
|
background-color: @ol-green;
|
2020-06-01 13:54:00 +00:00
|
|
|
|
|
|
|
.no-card * {
|
|
|
|
.btn-primary,
|
|
|
|
.btn-success {
|
|
|
|
// only correct button colors when green on green
|
|
|
|
.btn-primary-on-primary-bg;
|
|
|
|
}
|
|
|
|
}
|
2019-02-14 18:07:34 +00:00
|
|
|
}
|
|
|
|
&.blue-gray-dark {
|
|
|
|
background-color: @ol-blue-gray-5;
|
|
|
|
}
|
|
|
|
&.blue-gray-light {
|
|
|
|
background-color: @ol-blue-gray-1;
|
|
|
|
}
|
2020-06-01 13:54:00 +00:00
|
|
|
|
|
|
|
&.green,
|
|
|
|
&.green-dark,
|
|
|
|
&.blue-gray-dark {
|
|
|
|
.no-card * {
|
2022-11-30 15:42:24 +00:00
|
|
|
&:not(.btn) {
|
|
|
|
color: @white;
|
|
|
|
}
|
2020-06-01 13:54:00 +00:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
color: @input-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-14 18:07:34 +00:00
|
|
|
}
|
|
|
|
.section-row {
|
|
|
|
margin: 0 auto;
|
|
|
|
/* match .col-sm-10 */
|
|
|
|
/* @grid-gutter-width is used for margins */
|
2019-12-05 19:09:31 +00:00
|
|
|
max-width: (@screen-sm * (10/12)) - @grid-gutter-width;
|
2019-02-14 18:07:34 +00:00
|
|
|
@media (min-width: @screen-md-min) {
|
|
|
|
max-width: (@screen-md * (10/12)) - @grid-gutter-width;
|
|
|
|
}
|
|
|
|
@media (min-width: @screen-lg-min) {
|
|
|
|
max-width: (@screen-lg * (10/12)) - @grid-gutter-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.content-container > section:first-child {
|
|
|
|
/* header */
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
.content-container > section:nth-child(2) {
|
|
|
|
/* first content section */
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
section.no-top-padding {
|
|
|
|
/* opt out of padding via the CMS */
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-27 17:24:56 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
lists
|
|
|
|
*/
|
2019-12-05 19:09:31 +00:00
|
|
|
|
2019-02-27 17:24:56 +00:00
|
|
|
.list-without-style {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-12-05 19:09:31 +00:00
|
|
|
}
|