sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/

stylesheets/stylesheet.css (7644B) - raw

      1 ---
      2 ---
      3 {{ site.data.webfonts_css }}
      4 
      5 body {
      6   margin: 0;
      7   padding: 0;
      8   background: #151515 url("../images/bkg.png") 0 0;
      9   color: #eaeaea;
     10   font-size: 16px;
     11   line-height: 1.5;
     12   font-family: "Iosevka Aile SS09 Web", monospace;
     13   font-weight: 300;
     14 }
     15 b, strong {
     16   font-weight: 700;
     17 }
     18 
     19 /* General & 'Reset' Stuff */
     20 
     21 .container {
     22   width: 90%;
     23   margin: 0 auto;
     24 }
     25 .container.narrow {
     26   max-width: 700px;
     27 }
     28 .container.wide {
     29   max-width: 1000px;
     30 }
     31 .container.gallery {
     32   display: grid;
     33   grid-template-columns: repeat(auto-fill, minmax(min(500px, 90%), 1fr));
     34   column-gap: 3%;
     35   row-gap: 2.5em;
     36   margin-bottom: 2.5em;
     37 }
     38 
     39 .gallery figure {
     40   margin: 0;
     41 }
     42 .gallery figcaption {
     43   margin: 0;
     44 }
     45 
     46 h1, h2, h3, h4, h5, h6 {
     47   margin-top: 30px;
     48 }
     49 
     50 li {
     51   line-height: 1.4 ;
     52 }
     53 
     54 /* Header, <header>
     55    header   - container
     56    h1       - project name
     57    h2       - project description
     58 */
     59 
     60 header {
     61   background: rgba(0, 0, 0, 0.1);
     62   width: 100%;
     63   border-bottom: 1px dashed #b5e853;
     64   padding: 20px 0;
     65   margin: 0 0 40px 0;
     66 }
     67 
     68 header h1 {
     69   font-size: 30px;
     70   line-height: 1.5;
     71   margin: 0 0 0 -1em;
     72   font-weight: bold;
     73   color: #b5e853;
     74   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5),
     75                0 0 5px rgba(181, 232, 83, 0.5),
     76                0 0 10px rgba(181, 232, 83, 0.5);
     77   letter-spacing: -1px;
     78   -webkit-font-smoothing: antialiased;
     79 }
     80 
     81 header h1:before {
     82   content: "./ ";
     83   font-size: 24px;
     84 }
     85 
     86 header .tagline {
     87   font-size: 18px;
     88   font-weight: 300;
     89   color: #666;
     90   margin: 0 0 20px;
     91   letter-spacing: -0.03em;
     92   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
     93                0 0 5px rgba(181, 232, 83, 0.1),
     94                0 0 10px rgba(181, 232, 83, 0.1);
     95 }
     96 
     97 #downloads .btn {
     98   display: inline-block;
     99   text-align: center;
    100   margin: 0;
    101 }
    102 
    103 /* Main Content
    104 */
    105 
    106 #main_content {
    107   width: 100%;
    108   -webkit-font-smoothing: antialiased;
    109 }
    110 main img {
    111   width: 100%;
    112   height: auto;
    113   box-shadow: 1px 1px 10px rgb(128,128,128);
    114 }
    115 
    116 h1, h2, h3, h4, h5, h6 {
    117   font-weight: 400;
    118   color: #b5e853;
    119   letter-spacing: -0.03em;
    120   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25),
    121                0 0 5px rgba(181, 232, 83, 0.25),
    122                0 0 10px rgba(181, 232, 83, 0.25);
    123 }
    124 
    125 h2:before {
    126   content: "# ";
    127 }
    128 
    129 #main_content h1 {
    130   font-size: 30px;
    131 }
    132 
    133 #main_content h2 {
    134   font-size: 24px;
    135 }
    136 
    137 #main_content h3 {
    138   font-size: 18px;
    139 }
    140 
    141 #main_content h4 {
    142   font-size: 14px;
    143 }
    144 
    145 #main_content h5 {
    146   font-size: 12px;
    147   text-transform: uppercase;
    148   margin: 0 0 5px 0;
    149 }
    150 
    151 #main_content h6 {
    152   font-size: 12px;
    153   text-transform: uppercase;
    154   color: #999;
    155   margin: 0 0 5px 0;
    156 }
    157 
    158 dt {
    159   font-style: italic;
    160   font-weight: bold;
    161 }
    162 
    163 ul {
    164   padding-left: 32px;
    165 }
    166 ul li {
    167   list-style: none;
    168 }
    169 ul li:before {
    170   content: ">>";
    171   font-size: 13px;
    172   color: #b5e853;
    173   margin-left: -32px;
    174   line-height: 16px;
    175   display: inline-block;
    176   width: 32px;
    177 }
    178 
    179 blockquote {
    180   color: #aaa;
    181   padding-left: 10px;
    182   border-left: 1px dotted #666;
    183 }
    184 
    185 tt, pre, code, kbd {
    186   font-family: "Iosevka SS09 Web", monospace;
    187 }
    188 
    189 tt.code, pre.code, kbd {
    190   font-weight: 400;
    191   color: #b5e853;
    192   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
    193                0 0 5px rgba(181, 232, 83, 0.1),
    194                0 0 10px rgba(181, 232, 83, 0.1);
    195 }
    196 pre.code {
    197   background: rgba(0, 0, 0, 0.9);
    198   border: 1px solid rgba(255, 255, 255, 0.15);
    199   padding: 10px;
    200   font-size: 14px;
    201   border-radius: 2px;
    202   -moz-border-radius: 2px;
    203   -webkit-border-radius: 2px;
    204   text-wrap: normal;
    205   overflow: auto;
    206   overflow-y: hidden;
    207 }
    208 
    209 pre .command:before {
    210   font-weight: 300;
    211   color: #888;
    212   content: "$ ";
    213 }
    214 
    215 table {
    216   width: 100%;
    217   margin: 0 0 20px 0;
    218 }
    219 
    220 th {
    221   text-align: left;
    222   border-bottom: 1px dashed #b5e853;
    223   padding: 5px 10px;
    224 }
    225 
    226 td {
    227   padding: 5px 10px;
    228 }
    229 
    230 hr {
    231   height: 0;
    232   border: 0;
    233   border-bottom: 1px dashed #b5e853;
    234   color: #b5e853;
    235 }
    236 
    237 /* Buttons
    238 */
    239 
    240 .btn {
    241   display: inline-block;
    242   background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
    243   padding: 8px 18px;
    244   border-radius: 50px;
    245   border: 2px solid rgba(0, 0, 0, 0.7);
    246   border-bottom: 2px solid rgba(0, 0, 0, 0.7);
    247   border-top: 2px solid rgba(0, 0, 0, 1);
    248   color: rgba(255, 255, 255, 0.8);
    249   font-weight: bold;
    250   font-size: 13px;
    251   text-decoration: none;
    252   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
    253   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    254 }
    255 
    256 .btn:hover {
    257   background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
    258 }
    259 
    260 .btn .icon {
    261   display: inline-block;
    262   width: 16px;
    263   height: 16px;
    264   margin: -3px 8px 0 0;
    265   vertical-align: middle;
    266   opacity: 0.6;
    267 }
    268 
    269 .btn-git .icon {
    270   /* https://fontawesome.com/icons/code-merge?f=classic&s=solid */
    271   background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">\
    272     <!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->\
    273     <path fill="white" d="M176 120c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 \
    274     24-24m32.4 97.2c28-12.4 47.6-40.5 47.6-73.2 0-44.2-35.8-80-80-80s-80 35.8-80 80c0 32.8 19.7 61 \
    275     48 73.3v205.3C115.7 435 96 463.2 96 496c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3v-86.6c26.7 \
    276     20.1 60 32 96 32h86.7c12.3 28.3 40.5 48 73.3 48 44.2 0 80-35.8 80-80s-35.8-80-80-80c-32.8 0-61 19.7-73.3 \
    277     48L304 304c-49.9 0-91-38.1-95.6-86.8M176 472c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 \
    278     24-24m264-136c0-13.3 10.7-24 24-24s24 10.7 24 24-10.7 24-24 24-24-10.7-24-24"/></svg>') 0 0 no-repeat;
    279 }
    280 
    281 /* Links
    282    a, a:hover, a:visited
    283 
    284 a {
    285   color: #63c0f5;
    286   text-shadow: 0 0 5px rgba(104, 182, 255, 0.5);
    287 }
    288 */
    289 
    290 a {
    291   color: #ffcc00;
    292   font-weight: 400;
    293   text-decoration: none;
    294 
    295   transition: all 0.3s;
    296   -o-transition: all 0.3s;
    297   -ms-transition: all 0.3s;
    298   -moz-transition: all 0.3s;
    299   -webkit-transition: all 0.3s;
    300 }
    301 a:hover {
    302   color: #ffeb9b;
    303   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
    304                0 0 5px rgba(255, 235, 155, 0.2),
    305                0 0 10px rgba(255, 235, 155, 0.2);
    306 }
    307 
    308 
    309 /* Stagit */
    310 
    311 .container.wide.git {
    312   max-width: 1200px;
    313 }
    314 
    315 .git, .git pre {
    316   font-family: "Iosevka SS09 Web", monospace;
    317 }
    318 
    319 .git .url {
    320   margin: -10px 0 10px 0;
    321   font-weight: 400;
    322   color: #666;
    323 }
    324 .git .url:before {
    325   font-weight: 300;
    326   color: #888;
    327   content: "$ ";
    328 }
    329 
    330 main.git {
    331   margin-top: 40px;
    332 }
    333 
    334 .git b {
    335   font-weight: 300;
    336   color: #888;
    337 }
    338 
    339 a:target {
    340   background-color: #333;
    341 }
    342 a.d,
    343 a.h,
    344 a.i,
    345 a.line {
    346   text-decoration: none;
    347 }
    348 
    349 #blob a {
    350   color: #888;
    351 }
    352 #blob a:hover {
    353   color: #ffeb9b;
    354 }
    355 
    356 .git table {
    357   width: auto;
    358   border-collapse: collapse;
    359 }
    360 .git table thead td {
    361   color: #b5e853;
    362 }
    363 .git table td {
    364   padding: 0.1em 0.5em;
    365   vertical-align: top;
    366   white-space: nowrap;
    367 }
    368 .git table td:first-child {
    369   padding-left: 0;
    370 }
    371 .git table td:last-child {
    372   padding-right: 0;
    373 }
    374 
    375 #branches tr:hover td,
    376 #tags tr:hover td,
    377 #index tr:hover td,
    378 #log tr:hover td,
    379 #files tr:hover td {
    380   background-color: #333;
    381 }
    382 
    383 #index tr td:nth-child(2),
    384 #tags tr td:nth-child(3),
    385 #branches tr td:nth-child(3),
    386 #log tr td:nth-child(2) {
    387   white-space: normal;
    388 }
    389 
    390 .git td.num {
    391   text-align: right;
    392 }
    393 
    394 /* Hunk header */
    395 .git pre a.h {
    396   color: #b5e853;
    397 }
    398 
    399 /* Added lines */
    400 .git .A,
    401 .git span.i,
    402 .git pre a.i {
    403   color: #9e9;
    404 }
    405 
    406 /* Deleted lines */
    407 .git .D,
    408 .git span.d,
    409 .git pre a.d {
    410     color: #e99;
    411 }
    412 
    413 .git pre a.h:hover,
    414 .git pre a.i:hover,
    415 .git pre a.d:hover {
    416   text-decoration: none;
    417 }
    418 
    419 
    420 /* Clearfix */
    421 
    422 .cf:before, .cf:after {
    423   content:"";
    424   display:table;
    425 }
    426 
    427 .cf:after {
    428   clear:both;
    429 }
    430 
    431 .cf {
    432   zoom:1;
    433 }