docs-v2/assets/styles/layouts/_article.scss

207 lines
4.1 KiB
SCSS
Raw Normal View History

2018-12-21 17:12:28 +00:00
.article {
background: $article-bg;
border-radius: $radius 0 0 $radius;
2018-12-21 23:59:12 +00:00
padding: 2rem 4rem 3rem;
}
.article--content{
max-width: 820px;
2018-12-21 23:59:12 +00:00
h1,h2,h3,h4,h5,h6 {
color: $article-heading;
a {
2018-12-31 17:30:41 +00:00
color: inherit !important;
font-weight: inherit !important;
2018-12-21 23:59:12 +00:00
text-decoration: none;
2018-12-31 23:59:16 +00:00
code:after {
border: none;
}
2018-12-21 23:59:12 +00:00
}
}
h2,h3,h4,h5,h6 {
& + .highlight pre { margin-top: .5rem }
& + pre { margin-top: .5rem }
& + .code-tabs-wrapper { margin-top: 0; }
}
2018-12-21 23:59:12 +00:00
h1 {
2019-05-07 02:29:04 +00:00
font-weight: normal;
2018-12-21 23:59:12 +00:00
font-size: 2.65rem;
margin: .4em 0 1em;
2018-12-21 23:59:12 +00:00
}
h2 {
font-size: 2rem;
2019-05-09 23:09:04 +00:00
margin: -.25rem 0 .5rem;
2018-12-21 23:59:12 +00:00
padding-top: 1.75rem;
2019-05-09 23:09:04 +00:00
font-weight: $medium;
color: $article-heading-alt;
2018-12-21 23:59:12 +00:00
}
h3 {
font-size: 1.65rem;
font-weight: $medium;
2019-01-24 19:48:05 +00:00
margin: -1rem 0 .5rem;
2018-12-21 23:59:12 +00:00
padding-top: 1.75rem;
}
h4 {
font-size: 1.25rem;
font-style: italic;
font-weight: $medium;
2018-12-31 23:59:16 +00:00
margin: -1.25rem 0 .5rem;
2018-12-21 23:59:12 +00:00
padding-top: 1.75rem;
2019-05-09 23:09:04 +00:00
color: $article-heading-alt;
2018-12-21 23:59:12 +00:00
}
h5 {
font-size: 1rem;
2018-12-31 23:59:16 +00:00
margin: -1.25rem 0 .25rem;
2018-12-21 23:59:12 +00:00
padding-top: 1.75rem;
}
h6 {
font-size: 1rem;
font-style: italic;
2018-12-31 23:59:16 +00:00
margin: -1.25rem 0 .25rem;
2018-12-21 23:59:12 +00:00
padding-top: 1.75rem;
}
p,li {
color: $article-text;
2019-05-16 22:41:24 +00:00
line-height: 1.7rem;
2018-12-21 23:59:12 +00:00
}
p {
margin: 0 0 1.5em;
}
a {
color: $article-link;
font-weight: $medium;
2018-12-21 23:59:12 +00:00
text-decoration: none;
&:hover {
color: $article-link-hover;
}
}
strong {
color: $article-bold;
2018-12-21 23:59:12 +00:00
}
img {
max-width: 100%;
margin-bottom: 2rem;
border-radius: ($radius * 1.5);
box-shadow: 1px 3px 10px $article-shadow;
}
ul + p > img {
margin-top: 1.5rem;
}
hr {
border-width: 1px 0 0;
border-color: $article-hr;
border-style: solid;
margin: 1.85rem 0 1.75rem;
}
2018-12-21 23:59:12 +00:00
@import "article/blocks",
"article/buttons",
"article/captions",
"article/children",
"article/code",
"article/cloud",
"article/diagrams",
"article/enterprise",
"article/expand",
"article/feedback",
"article/flex",
"article/html-diagrams",
"article/keybinding",
"article/lists",
"article/note",
"article/pagination-btns",
"article/product-tags",
"article/related",
"article/scrollbars",
"article/svgs",
"article/tabbed-content",
"article/tables",
"article/tags",
2019-05-16 22:41:24 +00:00
"article/telegraf-plugins",
"article/truncate",
"article/video",
"article/warn";
//////////////////////////////// Miscellaneous ///////////////////////////////
.required, .req {
color:#FF8564;
2020-11-25 22:39:25 +00:00
font-weight:$medium;
font-style: italic;
2020-11-25 22:39:25 +00:00
margin: 0 .15rem 0 .1rem;
&.asterisk {
margin: 0 -.1rem 0 -.5rem;
}
&.key {
font-size: .9rem;
font-weight: $medium;
}
Kapacitor 1.6.0 (#2756) * base changes and cleanup for kapa 1.6 * Kapacitor 1.6.0 jstirnaman (#2684) * update: add kapacitor/v1/users to API doc (#2617). * fix: spelling * update: cleanup user API. * Apply suggestions from code review Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/kapacitor/v1.6/working/api.md * Update content/kapacitor/v1.6/working/api.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Kapacitor 1.6.0 release notes (#2682) * Fix headings in Kapacitor release notes * Add 1.6.0 release notes Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Kapacitor Flux tasks (#2687) * kapacitor flux task setup * added crud docs for kapacitor flux tasks * added kapacitor flux task cli commands * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/kapacitor/v1.6/working/flux/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Kapacitor TrickleNode (#2694) * closes #2691 * WIP TrickleNode * add Trickle chaining methods * remove unused back-to-top links in kapacitor docs * Kapacitor 1.6 new configuration settings (#2693) * kapacitor config doc cleanup * updated heading and links * added new kapacitor 1.6 config options, closes #2616, closes #2609 * updated slack instructions * Kapacitor Zenoss event handler (#2695) * added zenoss event handler to kapacitor, closes #2271 * updated descriptions and removed defaults from zenoss event handler * updated kapacitor release notes * Updated Kapacitor Kafka event handler partitioning options (#2697) * updated kafka partitioning behavior, closes #2263 * fixed typos in kapacitor kafka content * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * added kafka link to release notes * Kapacitor API updates (#2718) * clean up kapacitor api headings * add flux task api endpoints to kapacitor api doc * Kapacitor authorization and authentication (#2717) * ported and revamped kapacitor authentication content, closes #2690 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * updated comment in kapacitor auth example * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated edge.js * Add default kapacitor.conf locations (#2782) * added default kapacitor config locations, closes #2779 * Apply suggestions from code review * updated data for kapacitor 1.6.0 changelog Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
2021-06-28 20:57:05 +00:00
&.blue {color: $b-dodger;}
&.green {color: $gr-viridian;}
&.magenta {color: $p-comet;}
}
h2,h3,h4,h5,h6 {
& + .keep-url {
margin-top: -1.5rem;
z-index: -100;
}
}
a.q-link {
font-size: .8rem;
vertical-align: super;
line-height: 0;
color: $g20-white;
opacity: .5;
transition: opacity .2s;
&:hover {opacity: 1;}
}
/////////////////////////// Getting Started Buttons //////////////////////////
2020-04-22 21:33:46 +00:00
.get-started-btns {
display: flex;
flex-direction: column;
justify-content: space-around;
2020-04-22 21:33:46 +00:00
align-items: flex-start;
margin-bottom: 2rem;
a.btn {
max-width: 300px;
width: 100%;
text-align: center;
padding: 1rem;
2020-04-23 21:09:30 +00:00
}
}
}
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA QUERIES ////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
@include media(small) {
.article {
padding: 1.5rem 1.5rem 3rem;
h1 { margin: .35rem 0 2rem; font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.3rem; }
}
2018-12-21 17:12:28 +00:00
}