style.css - drkhsh_at - files used to generate www.drkhsh.at
 (HTM) git clone https://git.drkhsh.at/drkhsh_at.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       style.css (5662B)
       ---
            1 @font-face {
            2         font-family: DepartureMono-Regular;
            3         src: url("/fonts/DepartureMono-Regular.woff2") format("woff2"),
            4                 url("/fonts/DepartureMono-Regular.woff") format("woff");
            5         font-weight: normal;
            6         font-style: normal;
            7         font-display: fallback;
            8 }
            9 
           10 /* HTML5 semantic tags: some (older) browsers display this inline by default */
           11 article, figcaption, figure, header, main, footer, nav {
           12         display: block;
           13 }
           14 
           15 * { margin:0;padding:0;text-decoration:none;box-sizing:border-box;color:#000 }
           16 html { background-image:url(./halftone.gif);background-repeat:repeat }
           17 body { background:#D7D7D7;font-family:DepartureMono-Regular;font-size:14px;overflow-x:hidden }
           18 body > *, body main > *, main figure > div > *, main p, main q, main cite, main pre { margin-bottom:30px }
           19 body .right { float:right }
           20 body a.self, body a.parent { font-style:italic }
           21 main a:hover, main a:hover > *, nav main a:hover > *, header a:hover { background-color:#000;color:#fff;text-decoration:none }
           22 table td, table th { vertical-align:top;padding:2.5px 5px;text-align:left }
           23 table td > pre, table th > pre { background:none;padding:0;margin:0 }
           24 table tr img { margin-bottom:0; display:block }
           25 hr { clear:both;border:0 }
           26 pre { tab-size: 2 }
           27 header { float:left;margin:30px 60px 30px 30px; max-width: 624px }
           28 header img { display:block }
           29 nav { width: 100%; font-size: 12px; font-family: serif; margin: 0}
           30 nav a { display: inline-block; padding: 5px }
           31 nav a:hover { text-decoration: underline }
           32 main { margin-left:30px;max-width:624px;clear:both;position:relative; padding-right: 5px }
           33 main a { text-decoration:underline; overflow-wrap: break-word }
           34 main a[target="_blank"] { text-decoration-style:dotted }
           35 main article { border-left:1px dotted #000;padding-left:25px;clear:both }
           36 main cite { display:block;clear:both }
           37 main cite:before { content:"— " }
           38 main iframe { width:100% }
           39 main h1, main h2, main h3, main h4, main h5 { max-width:400px }
           40 main ul, main ol { margin:0 0 30px 30px }
           41 main ul ul { margin-bottom:0 }
           42 main ul li, main ol li { line-height:25px;padding:0 5px }
           43 main figure img, main center img { display:block;margin:0 }
           44 main figure figcaption { padding:15px 0 }
           45 main figure:first-child { max-width:100vw;margin-left:-30px;width:800px }
           46 main figure:first-child figcaption { padding-left:30px }
           47 main p { line-height:160% }
           48 main sup { line-height:12px }
           49 main ::selection { background-color:#72dec2;color:#000;text-decoration:none }
           50 main q { font-family:serif;font-size:18px;font-style:italic;display:block;max-width:400px }
           51 main img, main svg { max-width:100%;height: auto;display:inline-block;margin:0 0 25px }
           52 main pre { overflow:auto;background:#efefef;padding:10px;font-size:80% }
           53 main pre code, main pre i { color:#888 }
           54 main code { white-space:pre }
           55 main p code { white-space: normal; overflow-wrap: break-word }
           56 main a code { white-space: normal; overflow-wrap: break-word }
           57 main pre { border-left:2px dotted white }
           58 main hr { clear:both }
           59 main kbd { font-size:12px;display:inline-block;padding:0 5px;font-weight:bold;border-radius:4px;line-height:20px;border:2px solid #222 }
           60 footer { padding:30px;line-height:30px;clear:both;margin:0;border-top:2px solid black }
           61 footer a { display:inline-block;margin-right:3px }
           62 footer a:hover { text-decoration:underline }
           63 footer img { vertical-align:middle;margin:0 3px }
           64 footer div.right img { margin-left:10px }
           65 blockquote, q { font-style: italic; max-width: 500px; padding-left: 15px }
           66 
           67 #list, #list tr td { border: 0; padding-left: 0; padding-right: 15px }
           68 .logo { margin-bottom: 15px }
           69 .grid {list-style-type: none;width: 100%;display: grid;grid-template-columns: repeat(3, 1fr);}
           70 .article {padding: 10px;margin: 0;}
           71 .qr { display: block }
           72 .footer { display: flex; width: 100%; line-height: 1.5 }
           73 .footer-links { margin-right: 15px }
           74 .button { text-decoration: none }
           75 .right { float: right }
           76 .pagination { list-style-type: none; display: flex; justify-content: center }
           77 .icon { width: 10px; height: 10px; margin: 0 7px 0 7px; display: inline-block}
           78 
           79 @keyframes blink {
           80         0% { opacity: 1.0; }
           81         50% { opacity: 0.0; }
           82         100% { opacity: 1.0; }
           83 }
           84 @-moz-webkit-keyframes blink {
           85         0% { opacity: 1.0; }
           86         50% { opacity: 0.0; }
           87         100% { opacity: 1.0; }
           88 }
           89 main > h1::after { animation: blink 1s step-end infinite; -moz-webkit-animation: blink 1s step-end infinite; content: "█"; padding-left: 0.1rem; }
           90 
           91 /* Dark */
           92 @media (prefers-color-scheme:dark) {
           93         * { color:#fff }
           94         body { background:#000 }
           95         main a:hover, main a:hover > *, nav a:hover > *, header a:hover { background-color:#fff;color:#000;text-decoration:none }
           96         input { color:#000 }
           97         img[src*="svg"], img[src*="png"] { filter:invert(1) hue-rotate(180deg) }
           98         main pre { background:#111 }
           99         main table { border-style:solid }
          100         main th, main td { border-style:dotted }
          101         main article { border-left-color: white }
          102         .nodark { filter:invert(0) hue-rotate(0deg) !important;background:transparent !important }
          103         footer { border-top:2px solid white }
          104         footer * { color:white }
          105 }
          106 
          107 /* Mobile */
          108 @media only screen and (max-width: 1024px) {
          109         .article, .grid { grid-column-start: span 3;}
          110 }
          111 
          112 .pentaculum-icon img { display: inline-block; vertical-align: bottom }
          113 a.pentaculum-icon:hover { text-decoration: none }
          114 a.pentaculum-icon { text-decoration: none }
          115 .pentaculum-nav { font-size: 1.5rem; text-decoration: none }
          116 .footer-webrings { margin-bottom: 15px }
          117 .webring img { height: 2rem; width: 2rem; vertical-align: bottom }
          118 .webring { text-decoration: none }
          119 
          120 * { cursor: url("/cursor.png"), auto; }
          121 
          122 .terms-item.size-1 { font-size: 1rem; }
          123 .terms-item.size-2 { font-size: 1.25rem; }
          124 .terms-item.size-3 { font-size: 1.5rem; }
          125 .terms-item.size-4 { font-size: 1.75rem; }
          126 .terms-item.size-5 { font-size: 2rem; }