slitaz-base-files 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 91fcb259b3bf
children 42d6df56a10f
files rootfs/usr/share/doc/slitaz-doc.css
line diff
     1.1 --- a/rootfs/usr/share/doc/slitaz-doc.css	Mon May 25 21:14:15 2015 +0300
     1.2 +++ b/rootfs/usr/share/doc/slitaz-doc.css	Thu Jun 04 00:23:36 2015 +0300
     1.3 @@ -1,44 +1,33 @@
     1.4  /* CSS style for SliTaz Doc */
     1.5  
     1.6 -html { min-height: 102%; }
     1.7  body {
     1.8  	font: 100% "DejaVu Sans", Ubuntu, "Droid Sans", "Liberation Sans", FreeSans, sans-serif;
     1.9  	margin: 0;
    1.10  	-moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto;
    1.11  }
    1.12  
    1.13 -h1 { margin: 0; padding: 0.4em; color: #fff; font-size: 125%; }
    1.14 -h2 { color: #215090; }
    1.15 -h3 { color: #215090; font-size: 140%; }
    1.16 +h1 { font-size: 150%; font-weight: 400; margin: 0; padding: 0.3em; }
    1.17 +h2 { font-size: 200%; font-weight: 300; margin: 1em 0 0 0; }
    1.18 +h3 { font-size: 150%; font-weight: 400; margin: 1em 0 0 0; }
    1.19 +p  { margin: 0.5em 0; }
    1.20  
    1.21 -a, a:link, a:visited {
    1.22 -	color: #436976;
    1.23 -	text-decoration: none;
    1.24 -	border-bottom: 1px dotted #7cd;
    1.25 -}
    1.26 -a:hover, a:focus {
    1.27 -	color: #d66018;
    1.28 -	border-bottom: 1px solid;
    1.29 -}
    1.30 -a[href^="http:"] {
    1.31 -	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKAgMAAADqYMegAAAADFBMVEUkJCT///8kJCRDaXZbtgmAAAAAA3RSTlMAAIAXzkf+AAAAI0lEQVQIHWNYGsCwS4Bh/wKG/Q0M6ycwzJ7AEAZGUQEMkQEAn7cJ51TmPjwAAAAASUVORK5CYII=") no-repeat right top;
    1.32 -	padding-right: 8px;
    1.33 +a, a:link { text-decoration: none; }
    1.34 +a:hover, a:focus { border-bottom: 1px solid; }
    1.35 +a[href^="http"]::after {
    1.36 +	content: '\21b1';
    1.37 +	position: relative;
    1.38 +	top: -2pt;
    1.39  }
    1.40  
    1.41  img { border: none; vertical-align: middle; }
    1.42  
    1.43  pre {
    1.44 -	padding: 0.8em;
    1.45 -	border: 1px solid #ddd; border-radius: 0.4em;
    1.46 +	padding: 0.6em;
    1.47 +	border: 1px solid; border-radius: 0.3em;
    1.48 +	overflow-x: auto;
    1.49  }
    1.50 -pre, code { background-color: #f8f8f8; }
    1.51 -code, tt { color: #666; }
    1.52 -pre tt { color: #d62; /* shell prompt */ }
    1.53  
    1.54 -header, #header {
    1.55 -	background-color: #111111;
    1.56 -	border-bottom: 4px solid #cfcfcf;
    1.57 -}
    1.58 +header, #header { border-bottom: 4px solid; }
    1.59  
    1.60  #content {
    1.61  	margin: 2.5em auto;
    1.62 @@ -69,5 +58,29 @@
    1.63  
    1.64  .year:after {
    1.65  	/* content: "2007-2014"; */
    1.66 -	content: "2014";
    1.67 +	content: "2015";
    1.68  }
    1.69 +
    1.70 +fieldset {
    1.71 +	border: 1pt solid #888;
    1.72 +	border-radius: 0.3rem;
    1.73 +}
    1.74 +
    1.75 +pre, code, tt { font-size: 1.2rem; line-height: 1rem; }
    1.76 +
    1.77 +/* colors */
    1.78 +h1        { color: hsl(  0,  0%, 75%); }
    1.79 +h2        { color: hsl(210, 90%, 45%); }
    1.80 +h3        { color: hsl( 30, 90%, 45%); }
    1.81 +a:link    { color: hsl(210, 40%, 45%); }
    1.82 +a:visited { color: hsl(300, 40%, 45%); }
    1.83 +a:hover,
    1.84 +a:focus   { color: hsl( 30, 40%, 45%); }
    1.85 +pre, code { background-color: hsl(180, 15%, 90%); border-color: hsl(180, 15%, 60%); }
    1.86 +header,
    1.87 +#header   { background-color: hsl(  0,  0%, 15%); }
    1.88 +#footer, footer, #header, header
    1.89 +		  { border-color: hsl(0, 0%, 75%); }
    1.90 +code, tt  { color: hsl(  0,  0%, 30%); }
    1.91 +pre tt    { color: hsl( 30, 90%, 30%); } /* shell prompt */
    1.92 +pre em    { color: hsl(180, 90%, 30%); }