istio.io/_sass/base/_common.scss

84 lines
1.2 KiB
SCSS

// Shared
.vpad {
padding-top: $vpad;
}
.page-title-bar {
background-color: $thirdBrandColor;
border-top: 3px solid $lightPopBrandColor;
padding-top: 20px;
padding-bottom: 30px;
.fa {
color: $popBrandColor;
}
}
.page-spacer {
height: 100px;
}
.section {
padding: 50px 0;
position: relative;
}
.section-divider {
border-bottom: 2px solid #e3e3e3;
margin: 0;
width: 100%;
}
// Tables are table-y
table,
th,
td {
border: 1px solid lighten($textColor, 20%);
padding: 6px
}
table {
border-collapse: collapse;
}
th {
background-color: $thirdBrandColor;
}
// Tabs are tabby
.ui-widget-content {
font-size: $font-size--primary !important;
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
color: $textColor !important;
}
.ui-widget-content a {
color: $mainBrandColor !important;
}
.ui-widget-content a:hover, a:focus {
color: $linkHoverColor !important;
}
#content-container {
div.toolbar {
top: -2px;
}
.toolbar-item {
a {
background-color: $mainBrandColor;
color: $white;
}
}
}
.code-block {
overflow: auto;
margin-bottom: -10px;
pre[class*="language-"] {
border-left-width: 4px;
}
}