stagit

personal fork of static git page generator
git clone https://a3nm.net/git/stagit/
Log | Files | Refs | README | LICENSE

style.css (1283B)


      1 body {
      2 	color: #000;
      3 	background-color: #fff;
      4 	font-family: monospace;
      5 }
      6 
      7 h1, h2, h3, h4, h5, h6 {
      8 	font-size: 1em;
      9 	margin: 0;
     10 }
     11 
     12 img, h1, h2 {
     13 	vertical-align: middle;
     14 }
     15 
     16 img {
     17 	border: 0;
     18 }
     19 
     20 a {
     21 	text-decoration: none;
     22 }
     23 
     24 a:hover {
     25 	text-decoration: underline;
     26 }
     27 
     28 #blob a {
     29 	color: #777;
     30 }
     31 
     32 #blob a:hover {
     33 	color: blue;
     34 	text-decoration: none;
     35 }
     36 
     37 table th {
     38 	font-weight: bold;
     39         text-align: left;
     40 }
     41 
     42 table td, table th {
     43 	padding: 0 0.4em;
     44 }
     45 
     46 #content table td, #content table th {
     47 	vertical-align: top;
     48 	white-space: nowrap;
     49 }
     50 
     51 #branches tr:hover td,
     52 #tags tr:hover td,
     53 #index tr:hover td,
     54 #log tr:hover td,
     55 #files tr:hover td {
     56 	background-color: #eee;
     57 }
     58 
     59 #index tr td:nth-child(2),
     60 #tags tr td:nth-child(3),
     61 #branches tr td:nth-child(3),
     62 #log tr td:nth-child(2) {
     63 	white-space: normal;
     64 }
     65 
     66 table th.num {
     67 	text-align: right;
     68 }
     69 
     70 .desc {
     71 	color: #777;
     72 }
     73 
     74 hr {
     75 	border: 0;
     76 	border-top: 1px solid #777;
     77 	height: 1px;
     78 }
     79 
     80 pre {
     81 	font-family: monospace;
     82 }
     83 
     84 pre a.h {
     85 	color: #00a;
     86 }
     87 
     88 span.i,
     89 pre a.i {
     90 	color: #070;
     91 }
     92 
     93 span.d,
     94 pre a.d {
     95 	color: #e00;
     96 }
     97 
     98 pre a.h:hover,
     99 pre a.i:hover,
    100 pre a.d:hover {
    101 	text-decoration: none;
    102 }
    103 
    104 @media screen and (max-width: 600px) {
    105   table th:nth-child(n+3), table td:nth-child(n+3) {
    106     display: none;
    107   }
    108   pre {
    109     font-size: 60%;
    110   }
    111 }
    112