2020-06-18 12:10:24 +00:00
|
|
|
$announcement-size-adjustment: 8px;
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
/* GLOBAL */
|
|
|
|
.td-main {
|
|
|
|
.row {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2021-12-08 00:30:21 +00:00
|
|
|
*:not(figure) > img {
|
2020-06-15 19:09:57 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
padding-top: 2rem !important;
|
|
|
|
}
|
|
|
|
}
|
2020-08-29 07:59:06 +00:00
|
|
|
|
|
|
|
.ui-widget {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-widget-content a {
|
|
|
|
color: $blue;
|
|
|
|
}
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
.header-hero #quickstartButton.button {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
section {
|
|
|
|
.main-section {
|
|
|
|
@media only screen and (min-width: 1024px) {
|
|
|
|
max-width: 1200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
body {
|
|
|
|
header + .td-outer {
|
|
|
|
min-height: 50vh;
|
|
|
|
height: auto;
|
|
|
|
}
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
|
2020-09-29 21:56:40 +00:00
|
|
|
|
|
|
|
/* Emphasize first paragraph of running text on site front page */
|
|
|
|
body.td-home main[role="main"] > section:first-of-type .content p:first-child {
|
|
|
|
line-height: 1.3em;
|
|
|
|
font-size: 1.4em;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
#desktopShowVideoButton {
|
|
|
|
border: none
|
|
|
|
}
|
|
|
|
|
|
|
|
#videoPlayer {
|
|
|
|
#closeButton {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-08 18:36:54 +00:00
|
|
|
body.td-404 main .error-details {
|
|
|
|
max-width: 1100px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: 4em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-09-03 18:23:46 +00:00
|
|
|
/* Global - Mermaid.js diagrams */
|
|
|
|
|
|
|
|
.mermaid {
|
2020-09-22 17:46:53 +00:00
|
|
|
overflow-x: auto;
|
2020-09-03 18:23:46 +00:00
|
|
|
max-width: 80%;
|
|
|
|
border: 1px solid rgb(222, 226, 230);
|
|
|
|
border-radius: 5px;
|
2020-11-23 04:54:21 +00:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding-top: 1rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
|
|
|
// mermaid diagram - sequence diagram
|
|
|
|
.actor {
|
|
|
|
fill: #326ce5 !important;
|
|
|
|
}
|
|
|
|
text.actor {
|
|
|
|
font-size: 18px !important;
|
|
|
|
stroke: white !important;
|
|
|
|
fill: white !important;
|
|
|
|
}
|
|
|
|
.activation0 {
|
|
|
|
fill: #c9e9ec !important;
|
|
|
|
}
|
2020-09-03 18:23:46 +00:00
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
/* HEADER */
|
|
|
|
|
|
|
|
.td-navbar {
|
|
|
|
position: fixed !important;
|
|
|
|
width: 100%;
|
|
|
|
padding-bottom: 1rem !important;
|
|
|
|
background: transparent !important;
|
|
|
|
transition: 0.3s;
|
|
|
|
|
|
|
|
.navbar-brand {
|
|
|
|
position: absolute;
|
|
|
|
width: 45px;
|
|
|
|
height: 44px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
background-image: url("/images/favicon.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#hamburger {
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
.navbar-brand {
|
|
|
|
background-image: url("/images/nav_logo.svg");
|
|
|
|
top: 1.5rem;
|
|
|
|
width: 180px;
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.td-navbar-nav-scroll {
|
|
|
|
overflow: visible !important;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
overflow: visible !important;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
position: relative;
|
|
|
|
height: 10%;
|
|
|
|
|
|
|
|
.active::after {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
content: "";
|
|
|
|
bottom: -4px;
|
|
|
|
left: 0;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
display: block;
|
|
|
|
margin-top: 3.5rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1075px) {
|
2020-07-04 09:35:28 +00:00
|
|
|
margin-top: 1rem !important;
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flip-Nav
|
|
|
|
.flip-nav .td-navbar {
|
|
|
|
background-color: white !important;
|
|
|
|
box-shadow: 0 1px 2px $medium-grey;
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
.nav-item {
|
|
|
|
&.show .nav-link,
|
|
|
|
.nav-link {
|
|
|
|
color: $dark-grey;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $medium-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
&:hover {
|
|
|
|
color: $medium-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav .nav-item .active {
|
|
|
|
color: $dark-grey;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: $dark-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#hamburger:hover {
|
|
|
|
div,
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
background-color: $dark-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
.navbar-brand {
|
|
|
|
background-image: url("/images/nav_logo2.svg");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* FOOTER */
|
|
|
|
footer {
|
|
|
|
background-color: #303030;
|
|
|
|
background-image: url("/images/texture.png");
|
|
|
|
padding: 1rem !important;
|
|
|
|
min-height: initial !important;
|
|
|
|
|
2022-01-10 23:33:45 +00:00
|
|
|
> div, > p {
|
|
|
|
max-width: 95%;
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
max-width: calc(min(80rem,90vw)); // avoid spreading too wide
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .footer__links {
|
2020-06-15 19:09:57 +00:00
|
|
|
margin: auto;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
|
|
|
nav a {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
2022-01-10 23:33:45 +00:00
|
|
|
max-width: calc(min(60rem,90vw)); // avoid spreading too wide
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
color: $light-grey;
|
|
|
|
font-size: 0.64rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: inherit;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SIDE-DRAWER MENU */
|
|
|
|
|
|
|
|
.pi-pushmenu .sled {
|
|
|
|
.content ul {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
&:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.nav-link {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.push-menu-close-button {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* DOCS */
|
|
|
|
|
|
|
|
.launch-cards {
|
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: none;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// table of contents
|
|
|
|
.td-toc {
|
|
|
|
padding-top: 1.5rem !important;
|
|
|
|
top: 5rem !important;
|
|
|
|
|
2022-01-21 18:36:08 +00:00
|
|
|
@supports (position: sticky) {
|
|
|
|
position: sticky !important;
|
|
|
|
height: calc(100vh - 10rem);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
#TableOfContents {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-01 21:55:50 +00:00
|
|
|
main {
|
|
|
|
.td-content table code,
|
|
|
|
.td-content>table td {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2022-02-25 02:07:56 +00:00
|
|
|
|
|
|
|
table.no-word-break td,
|
|
|
|
table.no-word-break code {
|
|
|
|
word-break: normal;
|
|
|
|
}
|
2020-07-01 21:55:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
// blockquotes and callouts
|
|
|
|
|
2021-10-13 00:10:58 +00:00
|
|
|
body {
|
|
|
|
.alert {
|
|
|
|
// Override Docsy styles
|
2020-08-08 14:41:20 +00:00
|
|
|
padding: 0.4rem 0.4rem 0.4rem 1rem;
|
2021-10-13 00:10:58 +00:00
|
|
|
border-top: 1px solid #eee;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
border-left-width: 0.5em; // fallback in case calc() is missing
|
2020-08-08 14:41:20 +00:00
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2021-10-13 00:10:58 +00:00
|
|
|
// Set minimum width and radius for alert color
|
|
|
|
.alert {
|
|
|
|
border-left-width: calc(max(0.5em, 4px));
|
|
|
|
border-top-left-radius: calc(max(0.5em, 4px));
|
|
|
|
border-bottom-left-radius: calc(max(0.5em, 4px));
|
2020-08-08 14:41:20 +00:00
|
|
|
}
|
2021-10-13 00:10:58 +00:00
|
|
|
.alert.callout.caution {
|
2020-08-08 14:41:20 +00:00
|
|
|
border-left-color: #f0ad4e;
|
|
|
|
}
|
2021-10-13 00:10:58 +00:00
|
|
|
.alert.callout.note {
|
2020-08-08 14:41:20 +00:00
|
|
|
border-left-color: #428bca;
|
|
|
|
}
|
2021-10-13 00:10:58 +00:00
|
|
|
.alert.callout.warning {
|
2020-08-08 14:41:20 +00:00
|
|
|
border-left-color: #d9534f;
|
|
|
|
}
|
2021-10-13 00:10:58 +00:00
|
|
|
.alert.third-party-content {
|
|
|
|
border-left-color: #444;
|
|
|
|
}
|
2020-06-15 19:09:57 +00:00
|
|
|
|
2021-10-13 00:10:58 +00:00
|
|
|
h1:first-of-type + .alert.callout {
|
2020-08-08 14:41:20 +00:00
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
|
2021-10-02 16:01:11 +00:00
|
|
|
// Special color for third party content disclaimers
|
|
|
|
.alert.third-party-content { border-left-color: #222 };
|
|
|
|
|
2021-10-02 15:53:59 +00:00
|
|
|
// Highlight disclaimer when targeted as a fragment
|
|
|
|
|
|
|
|
#third-party-content-disclaimer {
|
|
|
|
color: #000;
|
|
|
|
background: #f8f9fa;
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes disclaimer-highlight {
|
|
|
|
from { background: #f8f922; color: #000; }
|
|
|
|
50% { background: #f8f944; color: #000; }
|
|
|
|
to { background: #f8f9cb; color: #000; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#third-party-content-disclaimer:target {
|
|
|
|
color: #000;
|
|
|
|
animation: disclaimer-highlight 1.25s ease;
|
|
|
|
background: #f8f9cb;
|
|
|
|
}
|
|
|
|
|
2021-10-13 00:10:58 +00:00
|
|
|
.deprecation-warning, .pageinfo.deprecation-warning {
|
2020-08-08 15:47:04 +00:00
|
|
|
padding: 20px;
|
|
|
|
margin: 20px 0;
|
|
|
|
background-color: #faf5b6;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2022-02-04 15:37:59 +00:00
|
|
|
.deprecation-warning.outdated-blog, .pageinfo.deprecation-warning.outdated-blog {
|
|
|
|
background-color: $blue;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2020-08-08 15:47:04 +00:00
|
|
|
body.td-home .deprecation-warning, body.td-blog .deprecation-warning, body.td-documentation .deprecation-warning {
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2021-10-19 12:42:21 +00:00
|
|
|
|
|
|
|
.td-documentation .td-content > .highlight {
|
|
|
|
max-width: initial;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-08-08 15:47:04 +00:00
|
|
|
body.td-home #deprecation-warning {
|
|
|
|
max-width: 1000px;
|
|
|
|
margin-top: 2.5rem;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#caseStudies body > #deprecation-warning, body.cid-casestudies > #deprecation-warning, body.cid-community > #deprecation-warning {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
background-color: #326ce5; // Kubernetes blue
|
|
|
|
color: #fff;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
#caseStudies body > #deprecation-warning, body.cid-casestudies > #deprecation-warning {
|
|
|
|
padding-top: 32px;
|
|
|
|
}
|
|
|
|
body.cid-partners > #deprecation-warning {
|
|
|
|
padding: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
body.cid-partners > #deprecation-warning > .content {
|
|
|
|
width: 100%;
|
|
|
|
max-width: initial;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
padding-left: 5vw;
|
|
|
|
padding-right: 5vw;
|
|
|
|
padding-top: 2rem;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
|
|
body.cid-community > #deprecation-warning > .deprecation-warning {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
|
|
|
color: #faf5b6;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
body.cid-community > #deprecation-warning > .deprecation-warning > * {
|
|
|
|
color: inherit;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#caseStudies body > #deprecation-warning > .deprecation-warning, body.cid-casestudies > #deprecation-warning > .deprecation-warning {
|
|
|
|
color: inherit;
|
|
|
|
background: inherit;
|
|
|
|
width: 80%;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 120px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
border-radius: initial;
|
|
|
|
}
|
|
|
|
#deprecation-warning > .deprecation-warning a {
|
|
|
|
background: transparent;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
// search & sidebar
|
|
|
|
.td-sidebar {
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
padding-top: 1.5rem !important;
|
|
|
|
|
|
|
|
.td-sidebar__inner {
|
|
|
|
top: 8.5rem;
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1075px) {
|
|
|
|
top: 6.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-24 21:08:03 +00:00
|
|
|
.td-sidebar-nav {
|
|
|
|
& > .td-sidebar-nav__section {
|
|
|
|
padding-top: .5rem;
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-15 19:09:57 +00:00
|
|
|
.td-sidebar__inner {
|
|
|
|
form.td-sidebar__search {
|
|
|
|
|
2021-04-23 12:45:20 +00:00
|
|
|
.td-sidebar__toggle {
|
2020-06-15 19:09:57 +00:00
|
|
|
&:hover {
|
2020-06-24 21:08:03 +00:00
|
|
|
color: #000000;
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
color: $blue;
|
2020-09-17 22:20:47 +00:00
|
|
|
margin: 1rem;
|
2020-06-15 19:09:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-underline {
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.td-sidebar-link__page {
|
|
|
|
&#m-docs-search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&#m-docs-test {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//Tutorials
|
|
|
|
main.content {
|
|
|
|
position: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* BLOG */
|
|
|
|
|
|
|
|
.td-blog {
|
|
|
|
|
|
|
|
.widget-link {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
.svg-inline--fa {
|
|
|
|
width: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* COMMUNITY */
|
|
|
|
|
|
|
|
.newcommunitywrapper {
|
|
|
|
.news {
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
margin-left: 10%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CASE-STUDIES */
|
|
|
|
|
|
|
|
// Many of the case studies have small variations in markup and styles;
|
|
|
|
// some issues cannot be addressed due to inlined !important rules.
|
|
|
|
#caseStudies {
|
|
|
|
section .cols {
|
|
|
|
margin-left: 11%;
|
|
|
|
|
|
|
|
div {
|
|
|
|
width: initial !important;
|
|
|
|
h2 {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-18 12:10:24 +00:00
|
|
|
}
|
|
|
|
|
2020-06-24 20:26:10 +00:00
|
|
|
/* DOCUMENTATION */
|
|
|
|
|
|
|
|
/* Don't show lead text */
|
|
|
|
body.td-documentation {
|
|
|
|
main {
|
|
|
|
@media only screen {
|
|
|
|
> * {
|
|
|
|
> .lead:first-of-type {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-03 18:23:46 +00:00
|
|
|
|
2020-10-05 16:01:39 +00:00
|
|
|
/* glossary tooltip */
|
|
|
|
.glossary-tooltip {
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
|
|
|
|
color: black;
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
|
|
|
|
@media print {
|
|
|
|
/* Do not print announcements */
|
2021-10-13 21:47:29 +00:00
|
|
|
#announcement {
|
2020-12-23 19:03:48 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
#announcement {
|
2020-12-23 19:03:48 +00:00
|
|
|
> * {
|
|
|
|
color: inherit;
|
2021-10-03 15:33:15 +00:00
|
|
|
background: transparent;
|
2020-12-23 19:03:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
border-bottom: 1px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: inherit;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-hero {
|
|
|
|
padding-top: 40px;
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
#announcement {
|
|
|
|
.announcement-main {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
|
|
|
// for padding-top see _size.scss
|
|
|
|
padding-bottom: calc(max(2em, 2rem));
|
|
|
|
|
|
|
|
max-width: calc(min(1200px - 8em, 80vw));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* always white */
|
|
|
|
h1, h2, h3, h4, h5, h6, p * {
|
|
|
|
color: #ffffff;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
img.event-logo {
|
|
|
|
display: inline-block;
|
|
|
|
max-height: calc(min(80px, 8em));
|
|
|
|
max-width: calc(min(240px, 33vw));
|
|
|
|
float: right;
|
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
#announcement + .header-hero {
|
|
|
|
padding-top: 2em;
|
2020-12-23 19:03:48 +00:00
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
// Extra padding for anything except wide viewports
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
#announcement aside { // more specific
|
|
|
|
.announcement-main {
|
|
|
|
padding-top: calc(max(8em, 8rem));
|
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
}
|
2021-10-13 21:47:29 +00:00
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
#announcement {
|
|
|
|
padding-top: 4rem;
|
|
|
|
padding-bottom: 4rem;
|
|
|
|
.announcement-main, aside .announcement-main {
|
|
|
|
padding-top: calc(min(2rem,2em));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
@media (max-width: 480px) {
|
|
|
|
#announcement {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
#announcement aside {
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
img.event-logo {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
display: block;
|
|
|
|
max-height: initial;
|
|
|
|
max-width: calc(min(calc(100vw - 2em), 240px));
|
|
|
|
float: initial;
|
|
|
|
}
|
2020-12-23 19:03:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
#announcement + .header-hero.filler {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
#announcement + .header-hero {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-08 00:30:21 +00:00
|
|
|
figure {
|
|
|
|
> figcaption {
|
|
|
|
padding-top: 1em;
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Clamp size for release logos
|
|
|
|
figure.release-logo {
|
|
|
|
> figcaption {
|
|
|
|
font-size: 1.8em;
|
|
|
|
}
|
|
|
|
> img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: calc(max(40em,min(80vh,70em)));
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 21:47:29 +00:00
|
|
|
|
2021-09-28 17:44:42 +00:00
|
|
|
// Match Docsy-imposed max width on text body
|
|
|
|
@media (min-width: 1200px) {
|
|
|
|
body.td-blog main .td-content > figure {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-07 07:58:04 +00:00
|
|
|
.td-content {
|
|
|
|
table code {
|
|
|
|
background-color: inherit !important;
|
|
|
|
color: inherit !important;
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
2021-10-17 20:31:27 +00:00
|
|
|
|
|
|
|
/* Force size constraints on figures */
|
|
|
|
figure {
|
|
|
|
&.diagram-small img {
|
|
|
|
max-height: clamp(20mm,12em,80vh);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
&.diagram-medium img {
|
|
|
|
max-height: clamp(25mm,20em,80vh);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
&.diagram-large img {
|
|
|
|
max-width: clamp(0vw, 95vw, 100%);
|
|
|
|
max-height: calc(80vh - 8rem);
|
|
|
|
}
|
2021-12-21 18:54:46 +00:00
|
|
|
|
|
|
|
figure + noscript > *{
|
|
|
|
max-width: calc(max(100%, 100vw));
|
|
|
|
}
|
2021-10-17 20:31:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
figure {
|
|
|
|
&.diagram-small, &.diagram-medium {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
&.diagram-large {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&.diagram-small img {
|
|
|
|
max-width: clamp(30rem, 45ch, 100mm);
|
|
|
|
}
|
|
|
|
&.diagram-medium img {
|
|
|
|
max-width: clamp(50rem, 20ch, 160mm);
|
|
|
|
}
|
|
|
|
&.diagram-large img {
|
|
|
|
max-width: clamp(25vw, 95vw, 100%);
|
|
|
|
max-height: calc(100vh - 10rem);
|
|
|
|
}
|
|
|
|
}
|
2021-12-21 18:54:46 +00:00
|
|
|
figure + noscript > * {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
2021-10-17 20:31:27 +00:00
|
|
|
}
|
2021-07-11 03:58:16 +00:00
|
|
|
|
|
|
|
// Indent definition lists
|
|
|
|
dl {
|
|
|
|
padding-left: 1.5em;
|
|
|
|
|
|
|
|
// Add vertical space before definitions
|
|
|
|
> *:not(dt) + dt, dt:first-child {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
}
|
2021-10-03 20:30:09 +00:00
|
|
|
|
|
|
|
.release-details {
|
|
|
|
padding-left: 2em;
|
|
|
|
|
|
|
|
> :not(p) {
|
|
|
|
font-size: 1.125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.release-inline-heading, .release-inline-value {
|
|
|
|
display: inline-block
|
|
|
|
}
|
|
|
|
|
|
|
|
.release-inline-value {
|
|
|
|
padding-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
2021-12-21 18:54:46 +00:00
|
|
|
|
|
|
|
.no-js .mermaid {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.alert > em.javascript-required {
|
|
|
|
display: inline-block;
|
|
|
|
min-height: 1.5em;
|
|
|
|
margin: calc(max(4em, ( 8vh + 4em ) / 2)) 0 0.25em 0;
|
|
|
|
}
|