sites

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

style.css (6435B)


      1 :root                                           { color-scheme: dark;
      2                                                   --green: #8ae234;
      3                                                   --red: #ff5555;
      4                                                   --rule: #333; }
      5 body                                            { font-family: monospace;
      6                                                   font-size: 10pt;
      7                                                   color: #ddd;
      8                                                   background-color: #111;
      9                                                   line-height: 1.4;
     10                                                   display: flex;
     11                                                   flex-direction: column;
     12                                                   min-height: 100vh;
     13                                                   width: min(85rem, 96%);
     14                                                   margin: 0 auto;
     15                                                   padding: 2rem 0; }
     16 
     17 a                                               { color: yellow;
     18                                                   text-decoration: none;
     19                                                   transition: color 0.2s ease; }
     20 a:hover                                         { text-decoration: underline; }
     21 
     22 h1, h2, h3                                      { font-weight: 700;
     23                                                   color: #fff;
     24                                                   margin-top: 0; }
     25 
     26 body > table:first-of-type                      { width: 100%;
     27                                                   margin-bottom: 0.5rem;
     28                                                   border-collapse: collapse; }
     29 body > table:first-of-type td:first-child       { width: 1%;
     30                                                   padding-right: 0.75rem; }
     31 body > table:first-of-type h1                   { font-size: 1.5em;
     32                                                   display: inline;
     33                                                   margin: 0 0.5rem 0 0; }
     34 body > table:first-of-type img                  { border-radius: 4px;
     35                                                   display: block; }
     36 .desc                                           { color: #a7a7a7; }
     37 td > .desc:first-child                          { font-size: 1.5em;
     38                                                   font-weight: 700;
     39                                                   color: #fff; }
     40 
     41 tr.url td                                       { color: var(--green);
     42                                                   padding-top: 0.35rem; }
     43 tr.url td a                                     { color: #ddd;
     44                                                   font-weight: bold; }
     45 tr.url td a:hover                               { color: yellow; }
     46 
     47 body > table:first-of-type tr:last-child td     { padding-top: 0.5rem;
     48                                                   color: #666; }
     49 
     50 hr                                              { border: 0;
     51                                                   border-bottom: 1px solid var(--rule);
     52                                                   margin: 1rem 0 2rem 0;
     53                                                   width: 100%; }
     54 
     55 #content                                        { flex: 1;
     56                                                   overflow-x: auto; }
     57 #content h2                                     { font-size: 1.3em;
     58                                                   margin-bottom: 1rem;
     59                                                   padding-bottom: 0.5rem;
     60                                                   border-bottom: 1px solid #444; }
     61 #content p                                      { margin-bottom: 1em; }
     62 #content pre                                    { overflow-x: auto; }
     63 
     64 #content table[id]                              { width: 100%;
     65                                                   border-collapse: collapse;
     66                                                   text-align: left;
     67                                                   margin-bottom: 2.5rem; }
     68 #content table[id] thead td                     { font-weight: bold;
     69                                                   color: #fff;
     70                                                   padding-bottom: 0.75rem;
     71                                                   border-bottom: 1px solid #444; }
     72 #content table[id] tbody td                     { padding: 0.6rem 0.2rem;
     73                                                   border-bottom: 1px dashed var(--rule); }
     74 #content table[id] tbody tr:last-child td       { border-bottom: none; }
     75 #content table[id] tbody tr:hover td            { background-color: #1a1a1a; }
     76 
     77 table#log tbody td:nth-child(5)                 { color: var(--green); }
     78 table#log tbody td:nth-child(6)                 { color: var(--red); }
     79 
     80 .num                                            { text-align: right; }
     81 
     82 #blob                                           { background-color: #161616;
     83                                                   border: 1px solid #282828;
     84                                                   border-radius: 4px;
     85                                                   padding: 1.5rem;
     86                                                   margin-top: 0; }
     87 
     88 a.line                                          { color: #555;
     89                                                   text-decoration: none;
     90                                                   margin-right: 1.5em;
     91                                                   display: inline-block;
     92                                                   user-select: none; }
     93 a.line:hover                                    { color: var(--green);
     94                                                   text-decoration: none; }
     95 
     96 .i                                              { color: var(--green); }
     97 .d                                              { color: var(--red); }
     98 .h                                              { color: #00cccc; }
     99 a.i:hover, a.d:hover, a.h:hover                 { text-decoration: none; }
    100 
    101 @media (max-width: 768px) {
    102         body                                    { padding: 1.5rem 0; }
    103 
    104         #blob                                   { padding: 1rem; }
    105 }
    106 
    107 @media (max-width: 480px) {
    108         body                                    { font-size: 9.5pt; }
    109 
    110         #blob                                   { padding: 0.8rem; }
    111 }