ClickHouse/website/css/docs.css

156 lines
2.2 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;
}
2021-09-20 06:52:51 +00:00
#search-icon {
width: 40px;
}
2020-03-30 08:25:29 +00:00
.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
}
#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;
}
}