xfwc

Log | Files | Refs

style.css (1318B)


      1 /* ~lickthecheese's lickhack css! */
      2 /* gpl affero v3 */
      3 body, hr {
      4 background: black;
      5 font-family: monospace;
      6 color: #aea;
      7 }
      8 
      9 div, pre, summary {
     10 	padding: 10px;
     11 }
     12 
     13 img.comic {
     14 	width:100%
     15 }
     16 
     17 div {
     18 border: 1px solid #aea;
     19 border-left: 6px solid #7b7;
     20 border-radius: 0px 15px 15px 0px;
     21 margin-top: 5px;
     22 }
     23 
     24 html {
     25 width: 700px;
     26 margin: 0 auto;
     27 }
     28 
     29 a {
     30 text-decoration: none;
     31 color: #aee;
     32 }
     33 
     34 a:hover {
     35 text-decoration: underline;
     36 }
     37 
     38 code, kbd, pre {
     39 background: #111;
     40 color: #aea;
     41 }
     42 
     43 pre {
     44 border-radius: 0px 10px 10px 0px;
     45 border: 1px solid #9d9;
     46 border-left: 6px solid #6a6;
     47 }
     48 
     49 summary {
     50 	cursor: pointer;
     51 }
     52 
     53 th, summary {
     54 	color: black;
     55 	background-color: #aea;
     56 }
     57 
     58 th, td, details {
     59 	border: 1px solid #9d9;
     60 }
     61 th, td {
     62 	padding: 5px;
     63 }
     64 
     65 table, details, details *:not(summary) {
     66 	border-collapse: collapse;
     67 	margin: 10px;
     68 }
     69 
     70 @media screen and (max-width:700px) {
     71 html {
     72 width: 100%;
     73 }
     74 }
     75 
     76 @media (prefers-reduced-motion: no-preference) {
     77 	@keyframes flash {
     78 		50% { opacity: 0; }
     79 	}
     80 	@keyframes reveal {
     81 		from { width: 1em; } /* Width of ::before */
     82 		  to { width: 100%; }
     83 	}
     84 	h1 {
     85 		overflow: hidden;
     86 		white-space: nowrap;
     87 		animation: reveal 8s linear;
     88 		text-overflow: "\2588";
     89 	}
     90 	h1::after {
     91 		content: "\2588";
     92 		animation: flash 1s step-end infinite;
     93 	}
     94 }
     95 
     96 
     97 
     98 
     99 #cnav {
    100 	text-align: center;
    101 	font-size: 2em;
    102 }
    103 
    104