open-nomad/website/source/assets/stylesheets/_inner.scss

99 lines
1.3 KiB
SCSS
Raw Normal View History

2017-03-28 03:37:59 +00:00
#inner {
2019-10-03 20:07:53 +00:00
h1 {
@extend .g-type-display-2;
}
h2 {
@extend .g-type-display-3;
}
h3 {
@extend .g-type-display-4;
}
h4 {
@extend .g-type-display-5;
}
h5,
h6 {
@extend .g-type-display-6;
}
2019-08-22 00:48:08 +00:00
p,
li,
.alert {
@extend .g-type-long-body;
2019-10-03 20:07:53 +00:00
margin: 0 0 $font-size-default;
2017-03-28 03:37:59 +00:00
}
.alert p:last-child {
margin-bottom: 0;
}
2017-04-06 22:37:36 +00:00
pre {
padding: 20px;
2019-10-03 20:07:53 +00:00
margin: 0 0 $font-size-default;
2017-03-28 03:37:59 +00:00
// This will force the code to scroll horizontally on small screens
// instead of wrapping.
code {
overflow-wrap: normal;
white-space: pre;
}
}
a {
color: $body-link-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
code {
background: inherit;
color: $body-link-color;
}
}
img {
display: block;
margin: 25px auto;
2019-08-22 00:48:08 +00:00
max-width: 95%;
2017-03-28 03:37:59 +00:00
height: auto;
2019-08-22 00:48:08 +00:00
width: auto;
2017-03-28 03:37:59 +00:00
}
h1,
h2,
h3,
h4 {
color: $body-font-color;
margin-top: 54px;
2019-10-03 20:07:53 +00:00
margin-bottom: $font-size-default;
2017-03-28 03:37:59 +00:00
}
h2 {
padding-bottom: 3px;
border-bottom: 1px solid $gray-light;
}
h1 > code,
h2 > code,
h3 > code,
h4 > code,
h5 > code,
h6 > code {
2017-03-28 03:37:59 +00:00
background-color: transparent;
color: inherit;
2019-10-03 20:07:53 +00:00
font-size: 90%;
2017-03-28 03:37:59 +00:00
padding: 0;
}
table {
@extend .table;
@extend .table-striped;
}
}