ClickHouse/website/css/docs.css

214 lines
3.9 KiB
CSS
Raw Normal View History

details {
background: #444451;
2020-07-15 12:55:09 +00:00
color: #eee;
padding: 1rem;
margin-bottom: 1rem;
margin-top: 1rem;
}
summary {
font-weight: bold;
2020-07-15 12:55:09 +00:00
color: #eee;
}
2020-03-30 08:25:29 +00:00
#sidebar {
position: fixed;
z-index: 50;
left: 0;
}
#toc.toc-right {
position: fixed;
}
#languages-dropdown .disabled {
color: #666 !important;
}
.toc-right {
right: 0;
}
#sidebar-nav .nav-link.active {
font-weight: bold;
}
.headerlink {
text-decoration: none !important;
margin-left: .5rem;
}
#content table {
border: 1px solid #dee2e6;
width: 100%;
margin-bottom: 1rem;
overflow-x: auto;
}
#content thead {
background: #444451;
color: #fff;
}
#content td, #content th {
padding: .75rem;
vertical-align: top;
}
#content td {
border: 1px solid #dee2e6;
}
#content th {
border: 1px solid #444451;
}
#content code {
2020-08-06 21:30:23 +00:00
color: #000;
2020-03-30 08:25:29 +00:00
background: #eee;
2020-08-06 21:30:23 +00:00
padding: 0.125rem 0.25rem;
2020-03-30 08:25:29 +00:00
}
2020-08-10 15:45:09 +00:00
#content code.syntax {
padding: 0;
}
2020-03-30 08:25:29 +00:00
#content pre {
2020-07-20 14:42:17 +00:00
background: #efefef;
2020-03-30 08:25:29 +00:00
padding: 1rem;
2020-08-06 22:09:32 +00:00
line-height: 1.25;
2020-03-30 08:25:29 +00:00
}
#docsearch-input:focus, #docsearch-input:active {
border: 0;
color: #efefef!important;
}
@media (max-width: 768px) {
#search-form {
width: 50%;
}
.algolia-autocomplete, #docsearch-input, #search-form .input-group {
width: 100%;
}
}
.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column {
display: none !important;
}
.algolia-autocomplete .algolia-docsearch-suggestion--content {
float: none !important;
width: 100% !important;
background-color: #444451;
}
.algolia-autocomplete .algolia-docsearch-suggestion--content:before {
content: none !important;
}
.algolia-autocomplete .ds-dropdown-menu {
max-height: 512px;
overflow-x: hidden;
overflow-y: auto;
}
.algolia-autocomplete .ds-dropdown-menu,
.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-],
.algolia-autocomplete .algolia-docsearch-suggestion,
.algolia-autocomplete .ds-dropdown-menu:before {
background: #1c1c1c !important;
border-color: #333;
}
.algolia-autocomplete .algolia-docsearch-suggestion--content {
background-color: #333;
}
.algolia-autocomplete .algolia-docsearch-suggestion--content:hover,
.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion:not(.suggestion-layout-simple) .algolia-docsearch-suggestion--content {
background-color: #444451 !important;
}
2020-03-30 08:25:29 +00:00
.algolia-autocomplete .algolia-docsearch-suggestion--category-header,
.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column,
.algolia-autocomplete .algolia-docsearch-suggestion--title,
.algolia-autocomplete .algolia-docsearch-suggestion--text {
color: #efefef;
}
.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
color: #f14600;
}
#toc .nav-link {
color: #333;
}
.toc-left, #toc.toc-left .nav-link {
color: #efefef;
}
#toc .nav {
flex-wrap: nowrap !important;
}
.toc-muted {
color: #888 !important;
}
#toc .nav-link:hover {
color: #f14600 !important;
}
@media print {
2020-03-30 11:39:26 +00:00
body {
min-width: 0!important;
}
h1, h2, h3, h4, h5, h6, p, li, thead, tr, th, td, img, code, pre {
page-break-inside: avoid !important;
2020-03-30 08:25:29 +00:00
}
}
@media (prefers-color-scheme: dark) {
body[data-spy], body.amp, body.blog, #to-full-website {
2020-03-30 08:25:29 +00:00
background: #1c1c1c;
color: #efefef;
}
.invert-dark {
filter: invert(100%);
}
2020-03-30 08:25:29 +00:00
#sidebar {
background: #333;
}
#content table {
border: 1px solid #2a2b2c;
}
#content thead {
background: #333;
}
#content td {
border: 1px solid #444451;
}
2020-08-06 21:30:23 +00:00
#content code {
background: #444;
color: #eee;
padding: 0.125rem 0.25rem;
}
#content pre, .blog .tag, .blog .dropdown-menu {
2020-03-30 08:25:29 +00:00
background: #444;
color: #eee;
}
#toc .nav-link {
color: #bbb;
}
}