sites

Source for the daat.foo sites
git clone https://git.daat.foo/sites.git
Log | Files | Refs | Submodules

daat.css (41022B)


      1 /* SRX דעת - daat.foo theme v6: GNU Unifont only.
      2  * Same-origin fonts, yellow on black, no extra JS or animations.
      3  * Plain Unicode symbols replace Nerd Font icon glyphs.
      4  */
      5 @font-face                                      { font-family: "DAAT Unifont";
      6                                                   src: url("fonts/unifont-18.0.01.otf") format("opentype");
      7                                                   font-style: normal;
      8                                                   font-weight: 400;
      9                                                   font-display: swap; }
     10 
     11 :root.theme-black                               { color-scheme: dark;
     12                                                   --daat-yellow: #f1c766;
     13                                                   --daat-yellow-bright: #ffe29b;
     14                                                   --daat-grey: #a8a8a0;
     15                                                   --daat-border: #49412f;
     16                                                   --daat-panel: #080807;
     17 
     18                                                   --color-base-font: #e6e2d7;
     19                                                   --color-base-font-rgb: 230, 226, 215;
     20                                                   --color-base-background: #000;
     21                                                   --color-base-background-mobile: #000;
     22                                                   --color-header-background: #000;
     23                                                   --color-header-border: #49412f;
     24                                                   --color-footer-background: #000;
     25                                                   --color-footer-border: #49412f;
     26                                                   --color-sidebar-background: #080807;
     27                                                   --color-sidebar-border: #49412f;
     28                                                   --color-sidebar-font: #d6d2c7;
     29                                                   --color-url-font: #f1c766;
     30                                                   --color-url-visited-font: #b9ab83;
     31                                                   --color-btn-background: #17140c;
     32                                                   --color-btn-font: #f1c766;
     33                                                   --color-search-border: #8f7842;
     34                                                   --color-search-shadow: none;
     35                                                   --color-search-background: #080807;
     36                                                   --color-search-font: #f4f0e3;
     37                                                   --color-search-background-hover: #2b240f;
     38                                                   --color-categories-item-selected-font: #f1c766;
     39                                                   --color-categories-item-border-selected: #f1c766;
     40                                                   --color-autocomplete-font: #e6e2d7;
     41                                                   --color-autocomplete-border: #49412f;
     42                                                   --color-autocomplete-shadow: none;
     43                                                   --color-autocomplete-background: #080807;
     44                                                   --color-autocomplete-background-hover: #242014;
     45                                                   --color-answer-font: #e6e2d7;
     46                                                   --color-answer-background: #080807;
     47                                                   --color-result-background: #080807;
     48                                                   --color-result-border: #49412f;
     49                                                   --color-result-url-font: #c3b889;
     50                                                   --color-result-link-font: #f1c766;
     51                                                   --color-result-link-font-highlight: #ffe29b;
     52                                                   --color-result-link-visited-font: #b9ab83;
     53                                                   --color-result-description-highlight-font: #fff0b9;
     54                                                   --color-result-publishdate-font: #a8a8a0;
     55                                                   --color-result-engines-font: #a8a8a0;
     56                                                   --color-result-vim-selected: #262010;
     57                                                   --color-result-vim-arrow: #f1c766;
     58                                                   --color-result-search-url-border: #49412f;
     59                                                   --color-result-search-url-font: #e6e2d7;
     60                                                   --color-backtotop-background: #080807;
     61                                                   --color-backtotop-border: #49412f;
     62                                                   --color-backtotop-font: #f1c766;
     63                                                   --color-settings-tr-hover: #242014;
     64                                                   --color-settings-table-group-background: #11100c;
     65                                                   --color-toolkit-dialog-background: #080807;
     66                                                   --color-toolkit-dialog-border: #49412f;
     67                                                   --color-toolkit-input-text-font: #e6e2d7;
     68                                                   --color-toolkit-select-background: #080807;
     69                                                   --color-toolkit-select-border: #49412f;
     70                                                   --color-toolkit-select-background-hover: #242014;
     71                                                   --color-toolkit-checkbox-input-border: #f1c766;
     72                                                   --color-toolkit-checkbox-onoff-on-mark-background: #f1c766;
     73                                                   --color-toolkit-tabs-section-border: #49412f;
     74                                                   --color-doc-code: #f1c766;
     75                                                   --color-doc-code-background: #17140c; }
     76 
     77 /* Consistent bitmap-style lettering: Unifont only. */
     78 html.theme-black,
     79 html.theme-black body,
     80 html.theme-black input,
     81 html.theme-black button,
     82 html.theme-black select,
     83 html.theme-black textarea                       { font-family: 'DAAT Unifont', 'DejaVu Sans Mono', monospace; }
     84 html.theme-black                                { background: #000;
     85                                                   font-synthesis: none; }
     86 html.theme-black body                           { background: #000;
     87                                                   color: var(--color-base-font); }
     88 html.theme-black a                              { text-underline-offset: .2em; }
     89 html.theme-black a:hover                        { color: var(--daat-yellow-bright); }
     90 
     91 /* Square controls. Deliberately avoid changing the geometry of result images. */
     92 html.theme-black :where(input, button, select, textarea, .search_box, .result,
     93                         .infobox, .dialog, .autocomplete, .sidebar-collapsible,
     94                         .image_thumbnail, #backToTop) { border-radius: 0 !important;
     95                                                         box-shadow: none !important;
     96                                                         transition: none !important; }
     97 html.theme-black :focus-visible                 { outline: 1px solid var(--daat-yellow);
     98                                                   outline-offset: 2px; }
     99 
    100 /* Text-only wordmarks in both search views. The Hebrew word means knowledge. */
    101 html.theme-black .daat-wordmark,
    102 html.theme-black .daat-wordmark-mini            { color: var(--daat-yellow);
    103                                                   direction: ltr;
    104                                                   white-space: nowrap;
    105                                                   font-weight: bold;
    106                                                   letter-spacing: .07em; }
    107 html.theme-black .daat-wordmark bdi,
    108 html.theme-black .daat-wordmark-mini bdi        { font-family: "DAAT Unifont", monospace;
    109                                                   direction: rtl;
    110                                                   letter-spacing: 0;
    111                                                   font-weight: bold; }
    112 html.theme-black #main_index                    { margin-top: clamp(5rem, 18vh, 13rem); }
    113 html.theme-black #main_index .index .title      { background: none !important;
    114                                                   min-height: 0;
    115                                                   margin: 0 auto 2rem; }
    116 html.theme-black #main_index .index .title h1   { visibility: visible !important;
    117                                                   display: inline-block;
    118                                                   margin: 0;
    119                                                   padding: .9rem 1.5rem;
    120                                                   border: 1px solid var(--daat-yellow);
    121                                                   background: #070603;
    122                                                   font-size: clamp(1.8rem, 5vw, 3.5rem);
    123                                                   line-height: 1.2; }
    124 html.theme-black .daat-subtitle                 { color: var(--daat-grey);
    125                                                   margin: .9rem 0 0;
    126                                                   font-size: .95rem;
    127                                                   letter-spacing: .11em; }
    128 html.theme-black #main_index .search_box        { width: min(100%, 56rem);
    129                                                   max-width: 56rem; }
    130 html.theme-black #main_index #search            { width: min(calc(100% - 2rem), 58rem); }
    131 html.theme-black #main_index #search_view       { width: 100%;
    132                                                   box-sizing: border-box; }
    133 
    134 /* A compact terminal prompt instead of the SearXNG SVG on the results page. */
    135 html.theme-black #search_logo                   { width: auto;
    136                                                   min-width: max-content;
    137                                                   padding: .4rem .2rem;
    138                                                   text-decoration: none;
    139                                                   justify-content: flex-start; }
    140 html.theme-black .daat-wordmark-mini            { font-size: 1.05rem;
    141                                                   border: 1px solid var(--daat-border);
    142                                                   padding: .55rem .65rem;
    143                                                   background: #080807; }
    144 
    145 /* Terminal search field, no glow or rounded edges. */
    146 html.theme-black #search .search_box            { background: var(--daat-panel);
    147                                                   border: 1px solid var(--daat-yellow);
    148                                                   box-sizing: border-box;
    149                                                   max-width: none; }
    150 html.theme-black #search .search_box:focus-within { outline: 1px solid var(--daat-yellow-bright);
    151                                                     outline-offset: 2px; }
    152 html.theme-black #q                             { caret-color: var(--daat-yellow);
    153                                                   color: #fff6dd;
    154                                                   background: transparent;
    155                                                   min-width: 0; }
    156 html.theme-black #q::placeholder                { color: #a49b86; }
    157 html.theme-black #send_search,
    158 html.theme-black #clear_search                  { color: var(--daat-yellow);
    159                                                   background: var(--daat-panel); }
    160 html.theme-black #send_search:hover,
    161 html.theme-black #clear_search:hover            { color: #000;
    162                                                   background: var(--daat-yellow); }
    163 
    164 /* Categories, filters, navigation. */
    165 html.theme-black .category_button.selected,
    166 html.theme-black .category_checkbox input:checked + label { color: var(--daat-yellow);
    167                                                             border-color: var(--daat-yellow); }
    168 html.theme-black #links_on_top a                { font-weight: normal;
    169                                                   color: var(--daat-yellow);
    170                                                   text-decoration: none; }
    171 
    172 
    173 html.theme-black #links_on_top a:hover          { text-decoration: underline; }
    174 html.theme-black footer                         { border-top: 1px dashed var(--daat-border); }
    175 html.theme-black footer,
    176 html.theme-black footer a                       { color: var(--daat-grey); }
    177 
    178 /* Straight, compact, terminal-like results, not cards with bubbly edges. */
    179 html.theme-black #urls .result:not(.result-images) { position: relative;
    180                                                      box-sizing: border-box;
    181                                                      background: #050504;
    182                                                      border: 1px solid var(--daat-border);
    183                                                      border-left: 3px solid var(--daat-yellow);
    184                                                      padding: 1rem 1.3rem;
    185                                                      margin: 0 0 .75rem;
    186                                                      width: 100%; }
    187 html.theme-black #urls .result:not(.result-images):hover { background: #0e0c07;
    188                                                            border-left-color: var(--daat-yellow-bright); }
    189 html.theme-black #urls .result h3               { margin: .3rem 0 .55rem;
    190                                                   line-height: 1.3; }
    191 html.theme-black #urls .result h3 a             { color: var(--daat-yellow); }
    192 html.theme-black #urls .result h3 a:hover       { color: var(--daat-yellow-bright); }
    193 html.theme-black #urls .result .content,
    194 html.theme-black #urls .result .stat            { color: #d5d2ca;
    195                                                   max-width: none;
    196                                                   line-height: 1.55; }
    197 html.theme-black #urls .result .url_header      { color: #c3b889; }
    198 html.theme-black #urls .result .engines         { color: var(--daat-grey); }
    199 html.theme-black #sidebar,
    200 html.theme-black #sidebar .sidebar-collapsible,
    201 html.theme-black #infoboxes                     { color: #d5d2ca; }
    202 
    203 /* WIDER + CENTERED. Overrides SearXNG's built-in center-alignment flag as
    204  * well as old cookies with center_alignment=0. Sidebar stays separate. */
    205 @media (min-width: 70rem) {
    206         html.theme-black #main_results #results:not(.only_template_images):not(.image-detail-open) { box-sizing: border-box;
    207                                                                                                      width: min(calc(100% - 3rem), 88rem);
    208                                                                                                      max-width: 88rem;
    209                                                                                                      margin: 1rem auto 0 !important;
    210                                                                                                      align-self: center;
    211                                                                                                      display: grid;
    212                                                                                                      grid-template:
    213                                                                                                        'corrections sidebar' min-content
    214                                                                                                        'answers sidebar' min-content
    215                                                                                                        'urls sidebar' 1fr
    216                                                                                                        'pagination sidebar' min-content
    217                                                                                                        / minmax(0, 1fr) 18rem;
    218                                                                                                      column-gap: 2rem; }
    219         html.theme-black #main_results #results #urls { min-width: 0;
    220                                                         margin: 0; }
    221         html.theme-black #main_results #results #sidebar { min-width: 0;
    222                                                            margin: 0; }
    223         html.theme-black #main_results #search  { width: min(calc(100% - 3rem), 88rem);
    224                                                   max-width: 88rem;
    225                                                   margin: 0 auto;
    226                                                   box-sizing: border-box; }
    227         html.theme-black #main_results #search_header { width: 100%;
    228                                                         box-sizing: border-box;
    229                                                         display: grid;
    230                                                         grid-template-columns: max-content minmax(0, 1fr);
    231                                                         grid-template-areas: 'logo search' 'spacer categories';
    232                                                         gap: .4rem 1.25rem;
    233                                                         padding: 1rem 0 .6rem; }
    234         html.theme-black #main_results #search_view { width: 100%;
    235                                                       min-width: 0;
    236                                                       padding: 0;
    237                                                       box-sizing: border-box; }
    238         html.theme-black #main_results .search_filters { width: 100%;
    239                                                          box-sizing: border-box;
    240                                                          padding: .5rem 0;
    241                                                          margin: 0; }
    242         html.theme-black #main_results #results #backToTop { left: auto !important;
    243                                                              right: 1.5rem !important; }
    244 }
    245 
    246 /* Medium screens: still centered and wide, sidebar stacks above results. */
    247 @media (min-width: 52rem) and (max-width: 69.999rem) {
    248         html.theme-black #main_results #results:not(.only_template_images):not(.image-detail-open) { box-sizing: border-box;
    249                                                                                                      width: min(calc(100% - 2rem), 68rem);
    250                                                                                                      margin: 1rem auto 0 !important;
    251                                                                                                      display: grid;
    252                                                                                                      grid-template:
    253                                                                                                        'corrections' min-content
    254                                                                                                        'answers' min-content
    255                                                                                                        'sidebar' min-content
    256                                                                                                        'urls' 1fr
    257                                                                                                        'pagination' min-content
    258                                                                                                        / minmax(0, 1fr);
    259                                                                                                      gap: 0; }
    260         html.theme-black #main_results #results #urls { margin: 0;
    261                                                         min-width: 0; }
    262 }
    263 
    264 /* Preserve the image-gallery layout and keep phones free of horizontal scroll. */
    265 @media (max-width: 51.999rem) {
    266         html.theme-black #main_results #results:not(.only_template_images):not(.image-detail-open) { width: calc(100% - 1rem);
    267                                                                                                      margin: .6rem auto 0 !important;
    268                                                                                                      box-sizing: border-box; }
    269         html.theme-black #urls .result:not(.result-images) { padding: .7rem .75rem;
    270                                                              margin: .35rem 0 .65rem; }
    271         html.theme-black #search_logo           { font-size: .9rem; }
    272         html.theme-black #main_index            { margin-top: 6rem; }
    273 }
    274 
    275 /* v6 — GNU Unifont for interface text and simple Unicode symbols. */
    276 /* Keep interactive SearXNG controls; only replace their glyph presentation. */
    277 html.theme-black .daat-icon                     { font: inherit;
    278                                                   font-family: 'DAAT Unifont', monospace;
    279                                                   color: var(--daat-yellow);
    280                                                   font-size: 1em;
    281                                                   font-weight: 400;
    282                                                   letter-spacing: 0;
    283                                                   display: inline-block;
    284                                                   white-space: nowrap;
    285                                                   vertical-align: middle;
    286                                                   line-height: 1;
    287                                                   min-width: 1.15em;
    288                                                   text-align: center; }
    289 html.theme-black .daat-icon-big                 { font-size: 1.03em; }
    290 html.theme-black button:where(:hover, :focus-visible) .daat-icon,
    291 html.theme-black a:where(:hover, :focus-visible) .daat-icon { color: var(--daat-yellow-bright); }
    292 html.theme-black #clear_search,
    293 html.theme-black #send_search                   { min-width: 3.4rem;
    294                                                   padding: .3rem .5rem;
    295                                                   border-left: 1px solid var(--daat-border); }
    296 html.theme-black #clear_search:hover .daat-icon,
    297 html.theme-black #send_search:hover .daat-icon  { color: #000; }
    298 html.theme-black #links_on_top .daat-icon       { margin-right: .35em;
    299                                                   font-size: .95em; }
    300 
    301 /* Shared wordmark on static pages, including Preferences and About. */
    302 html.theme-black .page_with_header > a:first-child .daat-wordmark-mini,
    303 html.theme-black #main_preferences > a:first-child .daat-wordmark-mini { display: inline-block;
    304                                                                          color: var(--daat-yellow);
    305                                                                          padding: .6rem .8rem;
    306                                                                          border: 1px solid var(--daat-border);
    307                                                                          background: #080807;
    308                                                                          text-decoration: none; }
    309 
    310 /* Preferences: wider, denser, border-first TUI layout. */
    311 html.theme-black body.preferences_endpoint #main_preferences { width: min(94vw, 92rem);
    312                                                                max-width: 92rem;
    313                                                                margin-inline: auto;
    314                                                                box-sizing: border-box;
    315                                                                padding: 1.25rem 1rem 4rem; }
    316 html.theme-black #main_preferences .daat-preferences-heading { display: flex;
    317                                                                flex-wrap: wrap;
    318                                                                align-items: baseline;
    319                                                                gap: .7rem;
    320                                                                font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    321                                                                line-height: 1.3;
    322                                                                color: var(--daat-yellow);
    323                                                                margin: 1.25rem 0 .25rem;
    324                                                                padding-bottom: .55rem;
    325                                                                border-bottom: 1px dashed var(--daat-border);
    326                                                                text-transform: lowercase; }
    327 html.theme-black #main_preferences .daat-preferences-heading .daat-prompt { color: var(--daat-grey);
    328                                                                             font-size: .8em;
    329                                                                             font-weight: normal; }
    330 html.theme-black #main_preferences .daat-preferences-intro { font-size: .88rem;
    331                                                              color: var(--daat-grey);
    332                                                              margin: .4rem 0 1.5rem; }
    333 html.theme-black #main_preferences form#search_form { width: 100%;
    334                                                       max-width: none;
    335                                                       padding: 0;
    336                                                       margin: 0;
    337                                                       box-sizing: border-box; }
    338 /* Tab machinery (radio inputs + labels + sections) is left to SearXNG.
    339    Never change selected panel display logic or form names. */
    340 html.theme-black #main_preferences .tabs        { box-sizing: border-box;
    341                                                   max-width: none;
    342                                                   width: 100%;
    343                                                   border-radius: 0; }
    344 html.theme-black #main_preferences .tabs > label[role="tab"] { color: #c7bfac;
    345                                                                background: #080807;
    346                                                                border: 1px solid var(--daat-border);
    347                                                                border-radius: 0 !important;
    348                                                                padding: .66rem .85rem;
    349                                                                margin: 0 .32rem .32rem 0;
    350                                                                line-height: 1.2;
    351                                                                text-decoration: none;
    352                                                                font-weight: normal;
    353                                                                cursor: pointer;
    354                                                                white-space: nowrap; }
    355 html.theme-black #main_preferences .tabs > input[type="radio"]:checked + label[role="tab"] { color: #000;
    356                                                                                              border-color: var(--daat-yellow);
    357                                                                                              background: var(--daat-yellow); }
    358 html.theme-black #main_preferences .tabs > section[role="tabpanel"] { width: 100%;
    359                                                                       max-width: none;
    360                                                                       box-sizing: border-box;
    361                                                                       padding: 1.2rem clamp(.75rem, 2vw, 2rem);
    362                                                                       background: #050504;
    363                                                                       border: 1px solid var(--daat-border);
    364                                                                       border-radius: 0;
    365                                                                       margin-bottom: 1.4rem; }
    366 html.theme-black #main_preferences .tabs > section[role="tabpanel"] > p:first-child { color: var(--daat-grey);
    367                                                                                       margin-top: .2rem; }
    368 html.theme-black #main_preferences fieldset     { min-width: 0;
    369                                                   max-width: none;
    370                                                   box-sizing: border-box;
    371                                                   margin: .1rem 0;
    372                                                   padding: .95rem .65rem 1.1rem;
    373                                                   border: 0;
    374                                                   border-bottom: 1px solid #28251e;
    375                                                   border-radius: 0;
    376                                                   background: transparent; }
    377 html.theme-black #main_preferences fieldset:hover { background: #0b0a07; }
    378 html.theme-black #main_preferences fieldset legend { font-weight: normal;
    379                                                      color: var(--daat-yellow);
    380                                                      letter-spacing: .015em;
    381                                                      font-size: 1.05rem;
    382                                                      padding: 0 .4rem 0 0; }
    383 html.theme-black #main_preferences fieldset legend::before { content: '> ';
    384                                                              color: #807659; }
    385 html.theme-black #main_preferences fieldset .value { color: #e6e2d7;
    386                                                      padding: .25rem 0;
    387                                                      border: 0; }
    388 html.theme-black #main_preferences fieldset .description { color: var(--daat-grey);
    389                                                            font-size: .92rem;
    390                                                            line-height: 1.45;
    391                                                            overflow-wrap: anywhere; }
    392 html.theme-black #main_preferences :where(select, input[type="text"],
    393                                           input[type="search"], input[type="number"],
    394                                           textarea) { color: #f4f0e3;
    395                                                       background: #000;
    396                                                       border: 1px solid #73613b;
    397                                                       border-radius: 0;
    398                                                       box-shadow: none;
    399                                                       min-height: 2.4rem;
    400                                                       padding: .35rem .55rem;
    401                                                       max-width: 100%;
    402                                                       font: inherit; }
    403 html.theme-black #main_preferences :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--daat-yellow); }
    404 html.theme-black #main_preferences :where(button, input[type="submit"],
    405                                           input[type="reset"], .button) { color: var(--daat-yellow);
    406                                                                           background: #11100c;
    407                                                                           border: 1px solid #73613b;
    408                                                                           border-radius: 0;
    409                                                                           box-shadow: none;
    410                                                                           padding: .58rem .85rem;
    411                                                                           min-height: 2.35rem;
    412                                                                           font: inherit;
    413                                                                           cursor: pointer; }
    414 html.theme-black #main_preferences :where(button, input[type="submit"],
    415                                           input[type="reset"], .button):hover { color: #000;
    416                                                                                 background: var(--daat-yellow);
    417                                                                                 border-color: var(--daat-yellow); }
    418 html.theme-black #main_preferences input[type="submit"] { font-weight: bold;
    419                                                           color: #000;
    420                                                           background: var(--daat-yellow);
    421                                                           border-color: var(--daat-yellow);
    422                                                           padding: .7rem 1.3rem; }
    423 html.theme-black #main_preferences input[type="submit"]:hover { color: #000;
    424                                                                 background: var(--daat-yellow-bright); }
    425 html.theme-black #main_preferences .preferences_back { display: inline-block;
    426                                                        margin: .65rem 1.5rem .5rem 0;
    427                                                        float: none !important; }
    428 html.theme-black #main_preferences .preferences_back a { color: var(--daat-yellow);
    429                                                          text-decoration: none;
    430                                                          border-bottom: 1px dashed var(--daat-border); }
    431 
    432 
    433 /* Engines table can be large; keep native horizontal scrolling intact. */
    434 html.theme-black #main_preferences .scrollx     { max-width: 100%;
    435                                                   overflow-x: auto;
    436                                                   border: 1px solid var(--daat-border); }
    437 html.theme-black #main_preferences table        { width: 100%;
    438                                                   border-collapse: collapse;
    439                                                   border-radius: 0;
    440                                                   background: #050504;
    441                                                   font-variant-numeric: tabular-nums; }
    442 html.theme-black #main_preferences table :where(th, td) { border: 0;
    443                                                           border-bottom: 1px solid #2a271f;
    444                                                           padding: .62rem .65rem;
    445                                                           color: #d9d5cb;
    446                                                           text-align: left;
    447                                                           vertical-align: middle; }
    448 html.theme-black #main_preferences table th     { color: var(--daat-yellow);
    449                                                   font-weight: normal; }
    450 html.theme-black #main_preferences .table_engines { width: max-content;
    451                                                     min-width: 100%; }
    452 html.theme-black #main_preferences .table_engines tr.pref-group th { background: #17140c;
    453                                                                      border-bottom: 1px solid #73613b;
    454                                                                      color: var(--daat-yellow-bright); }
    455 html.theme-black #main_preferences .table_engines tr:hover td,
    456 html.theme-black #main_preferences .table_engines tr:hover th { background-color: #10100c; }
    457 html.theme-black #main_preferences .table_engines th.name label { cursor: pointer; }
    458 html.theme-black #main_preferences .bang        { color: var(--daat-yellow); }
    459 html.theme-black #main_preferences .selectable_url,
    460 html.theme-black #main_preferences pre          { white-space: pre-wrap;
    461                                                   overflow-wrap: anywhere;
    462                                                   background: #0a0906;
    463                                                   border: 1px solid var(--daat-border);
    464                                                   color: #d9d5cb;
    465                                                   padding: .7rem;
    466                                                   border-radius: 0; }
    467 html.theme-black #main_preferences .small_font  { color: #a8a8a0; }
    468 
    469 @media (max-width: 50rem) {
    470         html.theme-black body.preferences_endpoint #main_preferences { width: 100%;
    471                                                                        padding: .6rem .55rem 2rem; }
    472         html.theme-black #main_preferences .tabs > label[role="tab"] { display: inline-block;
    473                                                                        font-size: .91rem;
    474                                                                        padding: .55rem .65rem; }
    475         html.theme-black #main_preferences .tabs > section[role="tabpanel"] { padding: .6rem; }
    476         html.theme-black #main_preferences fieldset { padding: .8rem .35rem 1rem; }
    477         html.theme-black #main_preferences .table_engines { font-size: .87rem; }
    478 }
    479 
    480 /* Links and settings labels are not decorated with redundant brackets. */
    481 html.theme-black #links_on_top a                { display: inline-flex;
    482                                                   align-items: center;
    483                                                   gap: .15em; }
    484 html.theme-black #links_on_top a::before,
    485 html.theme-black #links_on_top a::after,
    486 html.theme-black #main_preferences .tabs > label[role="tab"]::before,
    487 html.theme-black #main_preferences .tabs > label[role="tab"]::after,
    488 html.theme-black #main_preferences .preferences_back a::before,
    489 html.theme-black #main_preferences .preferences_back a::after { content: none !important; }
    490 
    491 /* v6.1 — Unifont vertical-metrics correction.
    492  * The font has taller glyph cells than CozetteVector. Give the search input,
    493  * action buttons and boxed wordmarks enough physical height. Do not shrink
    494  * glyphs or clip overflow to fit old control measurements.
    495  */
    496 html.theme-black #search .search_box            { min-height: 3.75rem;
    497                                                   height: auto;
    498                                                   display: flex;
    499                                                   align-items: stretch;
    500                                                   overflow: visible;
    501                                                   position: relative; }
    502 html.theme-black #search .search_box #q         { box-sizing: border-box;
    503                                                   flex: 1 1 auto;
    504                                                   width: 0;
    505                                                   min-height: 3.625rem;
    506                                                   height: auto;
    507                                                   margin: 0;
    508                                                   padding: .75rem .95rem;
    509                                                   line-height: 1.5;
    510                                                   font-size: 1.1rem; }
    511 html.theme-black #search .search_box #clear_search,
    512 html.theme-black #search .search_box #send_search { display: inline-flex;
    513                                                     justify-content: center;
    514                                                     align-items: center;
    515                                                     align-self: stretch;
    516                                                     box-sizing: border-box;
    517                                                     min-height: 3.625rem;
    518                                                     height: auto;
    519                                                     line-height: 1.5;
    520                                                     padding: .7rem .65rem;
    521                                                     flex: 0 0 auto; }
    522 html.theme-black #search .search_box .daat-icon { line-height: 1.4;
    523                                                   min-width: 1.4em; }
    524 html.theme-black #main_index .index .title h1   { line-height: 1.5;
    525                                                   padding: 1rem 1.5rem; }
    526 html.theme-black .daat-wordmark-mini            { display: inline-block;
    527                                                   box-sizing: border-box;
    528                                                   line-height: 1.5;
    529                                                   padding: .7rem .8rem; }
    530 html.theme-black #main_preferences :where(select, input[type="text"],
    531                                           input[type="search"], input[type="number"],
    532                                           textarea) { line-height: 1.5;
    533                                                       min-height: 2.8rem; }
    534 html.theme-black #main_preferences .tabs > label[role="tab"] { line-height: 1.5; }
    535 @media (max-width: 35rem) {
    536         html.theme-black #search .search_box #q { font-size: 1rem;
    537                                                   padding-inline: .6rem; }
    538         html.theme-black #search .search_box #clear_search,
    539         html.theme-black #search .search_box #send_search { min-width: 2.8rem;
    540                                                             padding-inline: .35rem; }
    541 }