Merge pull request #37430 from ClickHouse/fix-benchmark-markup

Fix scroll in benchmark page
This commit is contained in:
Alexey Milovidov 2022-05-22 22:49:15 +03:00 committed by GitHub
commit 1ed6a7463d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 4 additions and 725 deletions

View File

@ -35,7 +35,7 @@
<div class="row mb-3">
<div class="col">
<h3 class="my-3">Full results</h3>
<div id="comparison_table" class="overflow-auto"></div>
<div id="comparison_table"></div>
</div>
</div>

View File

@ -35,7 +35,7 @@
<div class="row mb-3">
<div class="col">
<h2 class="h4 my-3">Full results</h2>
<div id="comparison_table" class="overflow-auto"></div>
<div id="comparison_table"></div>
</div>
</div>

View File

@ -35,7 +35,7 @@
<div class="row mb-3">
<div class="col">
<h2 class="h4 my-3">Full results</h2>
<div id="comparison_table" class="overflow-auto"></div>
<div id="comparison_table"></div>
</div>
</div>

View File

@ -1,28 +0,0 @@
body.blog .dropdown-item {
color: #111 !important;
}
body.blog .dropdown-item:hover,
body.blog .dropdown-item:focus {
background-color: #efefef;
}
.blog .social-icon {
background: #eee;
}
@media (prefers-color-scheme: dark) {
body.blog .dropdown-item {
color: #fff !important;
}
.blog .dropdown-item:hover,
.blog .dropdown-item:focus,
.blog .tag{
background-color: #666 !important;
}
.blog .social-icon {
background: #444451;
}
}

View File

@ -83,68 +83,6 @@ summary {
line-height: 1.25;
}
#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;
}
.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;
}

File diff suppressed because one or more lines are too long

View File

@ -1,76 +0,0 @@
/*
Name: Base16 Eighties Dark
Author: Chris Kempson (http://chriskempson.com)
Pygments template by Jan T. Sott (https://github.com/idleberg)
Created with Base16 Builder by Chris Kempson (https://github.com/chriskempson/base16-builder)
*/
@media (prefers-color-scheme: dark) {
.syntax .hll { background-color: #515151 }
.syntax { background: #2d2d2d; color: #f2f0ec }
.syntax .c { color: #747369 } /* Comment */
.syntax .err { color: #f2777a } /* Error */
.syntax .k { color: #cc99cc } /* Keyword */
.syntax .l { color: #f99157 } /* Literal */
.syntax .n { color: #f2f0ec } /* Name */
.syntax .o { color: #66cccc } /* Operator */
.syntax .p { color: #f2f0ec } /* Punctuation */
.syntax .cm { color: #747369 } /* Comment.Multiline */
.syntax .cp { color: #747369 } /* Comment.Preproc */
.syntax .c1 { color: #747369 } /* Comment.Single */
.syntax .cs { color: #747369 } /* Comment.Special */
.syntax .gd { color: #f2777a } /* Generic.Deleted */
.syntax .ge { font-style: italic } /* Generic.Emph */
.syntax .gh { color: #f2f0ec; font-weight: bold } /* Generic.Heading */
.syntax .gi { color: #99cc99 } /* Generic.Inserted */
.syntax .gp { color: #747369; font-weight: bold } /* Generic.Prompt */
.syntax .gs { font-weight: bold } /* Generic.Strong */
.syntax .gu { color: #66cccc; font-weight: bold } /* Generic.Subheading */
.syntax .kc { color: #cc99cc } /* Keyword.Constant */
.syntax .kd { color: #cc99cc } /* Keyword.Declaration */
.syntax .kn { color: #66cccc } /* Keyword.Namespace */
.syntax .kp { color: #cc99cc } /* Keyword.Pseudo */
.syntax .kr { color: #cc99cc } /* Keyword.Reserved */
.syntax .kt { color: #ffcc66 } /* Keyword.Type */
.syntax .ld { color: #99cc99 } /* Literal.Date */
.syntax .m { color: #f99157 } /* Literal.Number */
.syntax .s { color: #99cc99 } /* Literal.String */
.syntax .na { color: #6699cc } /* Name.Attribute */
.syntax .nb { color: #f2f0ec } /* Name.Builtin */
.syntax .nc { color: #ffcc66 } /* Name.Class */
.syntax .no { color: #f2777a } /* Name.Constant */
.syntax .nd { color: #66cccc } /* Name.Decorator */
.syntax .ni { color: #f2f0ec } /* Name.Entity */
.syntax .ne { color: #f2777a } /* Name.Exception */
.syntax .nf { color: #6699cc } /* Name.Function */
.syntax .nl { color: #f2f0ec } /* Name.Label */
.syntax .nn { color: #ffcc66 } /* Name.Namespace */
.syntax .nx { color: #6699cc } /* Name.Other */
.syntax .py { color: #f2f0ec } /* Name.Property */
.syntax .nt { color: #66cccc } /* Name.Tag */
.syntax .nv { color: #f2777a } /* Name.Variable */
.syntax .ow { color: #66cccc } /* Operator.Word */
.syntax .w { color: #f2f0ec } /* Text.Whitespace */
.syntax .mf { color: #f99157 } /* Literal.Number.Float */
.syntax .mh { color: #f99157 } /* Literal.Number.Hex */
.syntax .mi { color: #f99157 } /* Literal.Number.Integer */
.syntax .mo { color: #f99157 } /* Literal.Number.Oct */
.syntax .sb { color: #99cc99 } /* Literal.String.Backtick */
.syntax .sc { color: #f2f0ec } /* Literal.String.Char */
.syntax .sd { color: #747369 } /* Literal.String.Doc */
.syntax .s2 { color: #99cc99 } /* Literal.String.Double */
.syntax .se { color: #f99157 } /* Literal.String.Escape */
.syntax .sh { color: #99cc99 } /* Literal.String.Heredoc */
.syntax .si { color: #f99157 } /* Literal.String.Interpol */
.syntax .sx { color: #99cc99 } /* Literal.String.Other */
.syntax .sr { color: #99cc99 } /* Literal.String.Regex */
.syntax .s1 { color: #99cc99 } /* Literal.String.Single */
.syntax .ss { color: #99cc99 } /* Literal.String.Symbol */
.syntax .bp { color: #f2f0ec } /* Name.Builtin.Pseudo */
.syntax .vc { color: #f2777a } /* Name.Variable.Class */
.syntax .vg { color: #f2777a } /* Name.Variable.Global */
.syntax .vi { color: #f2777a } /* Name.Variable.Instance */
.syntax .il { color: #f99157 } /* Literal.Number.Integer.Long */
}

File diff suppressed because one or more lines are too long