sites

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

terminal.css (5973B)


      1 @font-face                                      { font-family: "DAAT Unifont";
      2                                                   src: url("/css/daat-unifont.otf") format("opentype");
      3                                                   font-display: swap; }
      4 
      5 .dark-theme                                    { color-scheme: dark;
      6                                                   --inv-bg: #000;
      7                                                   --inv-panel: #080807;
      8                                                   --inv-text: #e6e2d7;
      9                                                   --inv-muted: #a8a8a0;
     10                                                   --inv-rule: #49412f;
     11                                                   --inv-amber: #f1c766;
     12                                                   --inv-bright: #ffe29b; }
     13 
     14 body.dark-theme                                { font-family: "DAAT Unifont", monospace;
     15                                                   font-size: 16px;
     16                                                   line-height: 1.5;
     17                                                   color: var(--inv-text);
     18                                                   background: var(--inv-bg); }
     19 .dark-theme .pure-g [class*="pure-u"],
     20 .dark-theme :where(input, select, textarea, button)
     21                                                { font-family: inherit; }
     22 .dark-theme :focus-visible                     { outline: 1px solid var(--inv-bright);
     23                                                   outline-offset: 2px; }
     24 
     25 .dark-theme #contents                          { box-sizing: border-box;
     26                                                   width: min(88rem, 100%);
     27                                                   padding-inline: clamp(.75rem, 2vw, 2rem); }
     28 .dark-theme .navbar                            { margin: 0 0 1.5rem;
     29                                                   padding: .85rem 0;
     30                                                   row-gap: .65rem;
     31                                                   border-bottom: 1px dashed var(--inv-rule); }
     32 .dark-theme .index-link.pure-menu-heading       { display: inline-block;
     33                                                   padding: .32rem .65rem;
     34                                                   border: 1px solid var(--inv-amber);
     35                                                   background: var(--inv-panel);
     36                                                   color: var(--inv-amber);
     37                                                   text-transform: none; }
     38 .dark-theme .user-field .pure-menu-heading     { color: var(--inv-amber); }
     39 .dark-theme .searchbar .pure-form              { align-items: center;
     40                                                   gap: .4rem; }
     41 .dark-theme .searchbar fieldset                { min-width: 0; }
     42 .dark-theme .searchbar #searchbox              { box-sizing: border-box;
     43                                                   margin: 0;
     44                                                   padding: .55rem .75rem;
     45                                                   min-height: 2.75rem;
     46                                                   color: var(--inv-text);
     47                                                   background: var(--inv-panel);
     48                                                   border: 1px solid var(--inv-amber);
     49                                                   border-radius: 0; }
     50 .dark-theme .searchbar #searchbox::placeholder { color: var(--inv-muted); }
     51 .dark-theme .searchbar #searchbutton           { color: var(--inv-amber);
     52                                                   cursor: pointer; }
     53 
     54 .dark-theme a,
     55 .dark-theme .simulated_a                       { color: var(--inv-amber); }
     56 .dark-theme a:hover,
     57 .dark-theme .simulated_a:hover                 { color: var(--inv-bright);
     58                                                   text-decoration: underline; }
     59 .dark-theme hr                                { border: 0;
     60                                                   border-bottom: 1px dashed var(--inv-rule); }
     61 .dark-theme .video-card-row                    { border-bottom: 1px dashed var(--inv-rule);
     62                                                   padding-bottom: .85rem; }
     63 .dark-theme .thumbnail,
     64 .dark-theme .error-card                       { border: 1px solid var(--inv-rule);
     65                                                   border-radius: 0; }
     66 .dark-theme :where(.video-data, time),
     67 .dark-theme footer                            { color: var(--inv-muted); }
     68 .dark-theme footer                            { border-top: 1px dashed var(--inv-rule);
     69                                                   background: var(--inv-bg); }
     70 .dark-theme footer a                          { color: var(--inv-muted); }
     71 
     72 .dark-theme .pure-form input:not([type="hidden"]),
     73 .dark-theme .pure-form select,
     74 .dark-theme .pure-form textarea,
     75 .dark-theme .pure-button                      { color: var(--inv-text);
     76                                                   background: var(--inv-panel);
     77                                                   border: 1px solid var(--inv-rule);
     78                                                   border-radius: 0;
     79                                                   box-shadow: none; }
     80 .dark-theme .pure-button:hover,
     81 .dark-theme .pure-button:focus                 { color: var(--inv-bg);
     82                                                   background: var(--inv-amber); }
     83 .dark-theme .video-js                         { --primary-color: #f1c766; }
     84 .dark-theme .video-js .vjs-big-play-button      { border: 1px solid var(--inv-amber);
     85                                                   border-radius: 0;
     86                                                   color: var(--inv-amber);
     87                                                   background: var(--inv-panel); }
     88 
     89 @media (max-width: 48rem) {
     90         .dark-theme .navbar                    { margin-bottom: 1rem; }
     91         .dark-theme .searchbar                 { padding-inline: 0; }
     92 }