mirror of
https://github.com/nasa/openmct.git
synced 2025-01-11 15:32:56 +00:00
e010dbb324
Fixes #1233 Additional content; tweak to H3 margins
113 lines
3.2 KiB
SCSS
113 lines
3.2 KiB
SCSS
/*****************************************************************************
|
|
* Open MCT, Copyright (c) 2014-2016, United States Government
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
* Administration. All rights reserved.
|
|
*
|
|
* Open MCT is licensed under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations
|
|
* under the License.
|
|
*
|
|
* Open MCT includes source code licensed under additional open source
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
* this source code distribution or the Licensing information page available
|
|
* at runtime from the About dialog for additional information.
|
|
*****************************************************************************/
|
|
.l-style-guide {
|
|
font-size: 0.9em;
|
|
text-align: justify;
|
|
margin: auto 10%;
|
|
|
|
h1, h2 {
|
|
color: pullForward($colorBodyFg, 20%);
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
|
|
h3 {
|
|
//border-bottom: 1px solid $colorInteriorBorder;
|
|
font-size: 0.9em;
|
|
margin: $interiorMargin 0;
|
|
&:not(:first-child) { margin-top: $interiorMarginLg * 2; }
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
code,
|
|
pre {
|
|
background-color: pushBack($colorBodyBg, 20%);
|
|
display: inline-block;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
code {
|
|
border-radius: $controlCr;
|
|
padding: 1px $interiorMargin;
|
|
}
|
|
|
|
pre {
|
|
border-radius: $interiorMargin;
|
|
display: block;
|
|
margin: 0;
|
|
overflow: auto;
|
|
padding: $interiorMargin $interiorMarginLg;
|
|
white-space: pre;
|
|
}
|
|
|
|
.doc-title {
|
|
color: rgba(#fff, 0.3);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.l-section {
|
|
border-top: 1px solid rgba(#999, 0.3);
|
|
margin-top: 2em;
|
|
padding-top: 1em;
|
|
|
|
.cols {
|
|
@include display(flex);
|
|
@include flex-direction(row);
|
|
|
|
.col {
|
|
@include flex(1 1 auto);
|
|
&:not(:last-child) {
|
|
$v: $interiorMargin * 4;
|
|
border-right: 1px solid $colorInteriorBorder;
|
|
margin-right: $v;
|
|
padding-right: $v;
|
|
}
|
|
min-width: 300px;
|
|
img { width: 100%; }
|
|
}
|
|
|
|
&.cols1-1 {
|
|
// 2 cols, equal width
|
|
.col {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
&.cols1-2 {
|
|
// 3 cols, first is 1/3 of the width
|
|
.col:first-child { width: 33%; }
|
|
.col:last-child { width: 66%; }
|
|
}
|
|
|
|
&.cols2-1 {
|
|
// 3 cols, first is 2/3 of the width
|
|
.col:first-child { width: 66%; }
|
|
.col:last-child { width: 33%; }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|