slitaz-base-files view rootfs/usr/share/doc/slitaz-doc.css @ rev 273

slitaz-doc.css: small changes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 04 00:23:36 2015 +0300 (2015-06-04)
parents a04fbd11b6e7
children 42d6df56a10f
line source
1 /* CSS style for SliTaz Doc */
3 body {
4 font: 100% "DejaVu Sans", Ubuntu, "Droid Sans", "Liberation Sans", FreeSans, sans-serif;
5 margin: 0;
6 -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto;
7 }
9 h1 { font-size: 150%; font-weight: 400; margin: 0; padding: 0.3em; }
10 h2 { font-size: 200%; font-weight: 300; margin: 1em 0 0 0; }
11 h3 { font-size: 150%; font-weight: 400; margin: 1em 0 0 0; }
12 p { margin: 0.5em 0; }
14 a, a:link { text-decoration: none; }
15 a:hover, a:focus { border-bottom: 1px solid; }
16 a[href^="http"]::after {
17 content: '\21b1';
18 position: relative;
19 top: -2pt;
20 }
22 img { border: none; vertical-align: middle; }
24 pre {
25 padding: 0.6em;
26 border: 1px solid; border-radius: 0.3em;
27 overflow-x: auto;
28 }
30 header, #header { border-bottom: 4px solid; }
32 #content {
33 margin: 2.5em auto;
34 width:90%; max-width:72ex;
35 text-align: justify;
36 }
38 footer, #footer {
39 text-align: center;
40 padding: 1.2em;
41 border-top: 1px solid #ddd;
42 }
44 /* Languages */
46 #lang {
47 float: right;
48 padding: 0.5em;
49 font-size: small;
50 }
52 #lang a {
53 text-decoration: none; border: none;
54 padding: 0 0.2ex;
55 }
57 td, th { vertical-align: top; }
59 .year:after {
60 /* content: "2007-2014"; */
61 content: "2015";
62 }
64 fieldset {
65 border: 1pt solid #888;
66 border-radius: 0.3rem;
67 }
69 pre, code, tt { font-size: 1.2rem; line-height: 1rem; }
71 /* colors */
72 h1 { color: hsl( 0, 0%, 75%); }
73 h2 { color: hsl(210, 90%, 45%); }
74 h3 { color: hsl( 30, 90%, 45%); }
75 a:link { color: hsl(210, 40%, 45%); }
76 a:visited { color: hsl(300, 40%, 45%); }
77 a:hover,
78 a:focus { color: hsl( 30, 40%, 45%); }
79 pre, code { background-color: hsl(180, 15%, 90%); border-color: hsl(180, 15%, 60%); }
80 header,
81 #header { background-color: hsl( 0, 0%, 15%); }
82 #footer, footer, #header, header
83 { border-color: hsl(0, 0%, 75%); }
84 code, tt { color: hsl( 0, 0%, 30%); }
85 pre tt { color: hsl( 30, 90%, 30%); } /* shell prompt */
86 pre em { color: hsl(180, 90%, 30%); }