colorful rat Ratfactor.com > Dave's Repos

zstd-browse2

Turns the Zig standard library into an HTML mini-site.
git clone http://ratfactor.com/repos/zstd-browse2/zstd-browse2.git

zstd-browse2/styles.css

Download raw file: styles.css

1 /* zstd-browse2 styles very closely mimic those of docco.coffee */ 2 body { 3 margin: 0; 4 padding: 0; 5 color: #000; 6 background-color: #FFF; 7 font-size: 15px; 8 height: 100%; 9 } 10 table { 11 border-collapse: collapse; 12 width: 100%; 13 height: 100%; 14 } 15 code { background: #F5EEE5; } /* inline `foo` in docs */ 16 pre { margin: 0; } /* wraps right column code - for Lynx browser display! */ 17 td.doc { 18 min-width: 450px; 19 max-width: 450px; 20 padding: 10px 20px 1px 30px; 21 overflow-x: hidden; 22 vertical-align: top; 23 } 24 #footer { 25 text-align: center; 26 padding: 2em 0; 27 } 28 td.code { 29 width: 100%; 30 padding: 14px 15px 16px 25px; 31 vertical-align: top; 32 background: #F5EEE5; 33 border-left: 1px solid #CAC9C4; 34 color: #333; 35 } 36 h1 { /* filename */ 37 font-size: 1.3em; color: #777; 38 border-bottom: 1px solid #cac9c4; 39 } 40 h2 { /* top-level public item */ 41 font-size: 1.5em; 42 margin-top: 0; 43 } 44 .method h2 { /* struct method */ 45 font-size: 1.1em; 46 padding-left: 1em; 47 border-left: 4px solid #CAC9C4; 48 } 49 .value h2 { /* public value */ 50 font-size: 1.1em; 51 } 52 .value { 53 padding: 0 20px 0 30px; 54 } 55 .test-decl h2, .test-str h2, .test-str h3 { 56 background: #f5eee5; 57 } 58 .test-str h2 { margin-bottom: 0; } 59 .test-str h3 { margin-top: 0; font-size: 1.0em }