Changeset e7392f2


Ignore:
Timestamp:
05/22/2004 12:24:24 AM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
d0eda1b
Parents:
a34ad80
Message:

New CSS code, thanks to Jeroem.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3684 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs.css

    ra34ad80 re7392f2  
     1/* Global settings */
    12body {
    2   font-weight: normal;
    3   font-size: medium;
    4   font-family: verdana, tahoma, helvetica, arial, sans-serif;
     3  font-family: sans-serif;
    54  text-align: left;
    6 }
    7 
    8 .toc ul, .index ul,.navheader ul, .navfooter ul {
    9         list-style: none;
    10 }
    11 
    12 .navheader, .navfooter {
    13   font-size: smaller;
     5  background: #fff;
     6  color: #333;
     7  margin: 1em;
     8  padding: 0;
     9  font-size: 1em;
     10  line-height: 1.2em
     11}
     12
     13a:link { color: #22b; }
     14a:visited { color: #7e4988; }
     15a:hover, a:focus { color: #d30e08; }
     16a:active { color: #6b77b1;}
     17
     18/* Headers */
     19h1, h2, b, strong {
     20  color: #000;
     21  font-weight: bold;
     22}
     23
     24h3, h4, h5, h6 {
     25  color: #222;
     26}
     27
     28h1 { font-size: 200%; text-align: center; }
     29h2 { font-size: 170%; padding-top: 0; margin-top: 0.5em; }
     30h2.subtitle { text-align: center; }
     31h3 { font-size: 140%; }
     32h4 { font-size: 110%;}
     33h5, h6 { font-size: 110%; font-style: italic; }
     34
     35/* Navigation */
     36div.headertitles h4 {
     37  margin-bottom: 0px auto;
     38}
     39
     40div.headertitles h3 {
     41  margin-top: 0px auto;
     42}
     43
     44div.navheader, div.navfooter {
     45  background: #ecedef;
    1446  text-align: center;
    15 }
    16 
    17 .headerlinks {
    18   border-bottom : solid 2px green;
    19   padding-bottom: 0.5em;
    20 }
    21 
    22 .navfooter {
    23   border-top : solid 2px green;
    24   padding-top: 0.5em;
    25   margin-top: 0.5em;
    26 }
    27 
    28 .prev {
    29    float     : left;
    30    text-align: left;
    31 }
    32 
    33 .next {
    34    float     : right;
    35    text-align: right;
    36    padding-right: 2em;
    37 }
    38 
    39 .up, .home {
    40    width  : 10em;
    41    margin: 0px auto;
     47  padding: 0.2em 1em;
     48  border-bottom: 1px solid #dbddec;
     49}
     50
     51div.navfooter {
     52  border-bottom: 0;
     53  border-top: 1px solid #dbddec;
     54}
     55
     56div.navheader ul, div.navfooter ul {
     57  padding: .3em;
     58  text-align: center;
     59  position: relative;
     60  background: #dbddec;
     61}
     62
     63div.navheader ul li, div.navfooter ul li {
     64  display: inline;
     65}
     66
     67div.navheader ul li.prev a, div.navfooter ul li.prev a {
     68  position: absolute;
     69  left: 0;
     70  text-align: left;
     71  padding: 0 .5em;
     72}
     73
     74div.navheader ul li.next a, div.navfooter ul li.next a {
     75  position: absolute;
     76  right: 0;
     77  text-align: right;
     78  padding: 0 .5em;
     79  background: #dbddec;
     80}
     81
     82div.navheader ul li.home, div.navheader ul li.up,
     83div.navfooter ul li.home, div.navfooter ul li.up {
     84  padding: 0;
     85  margin: 0;
     86  display: block;
     87}
     88
     89/* TOC & Index*/
     90
     91div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
     92  list-style: none;
     93}
     94
     95div.toc, div.dedication {
     96  padding-left: 1em;
    4297}
    4398
    4499li.preface {
    45         margin-left: 2.5em;
    46 }
    47 
    48 div.book div.titlepage h1.title {
    49     font-weight: bold;
    50     font-size: xx-large;
    51     text-align: center;
    52 }
    53 
    54 div.book div.titlepage h2.subtitle {
    55     font-weight: bold;
    56     font-size: x-large;
    57     text-align: center;
    58 }
    59 
    60 div.book div.titlepage h3.author {
    61     font-size: large;
    62 }
    63 
    64 div.book div.dedication div.titlepage h2.title {
     100  margin-left: 1em;
     101}
     102
     103div.toc ul li h3, div.toc ul li h4 {
     104  margin: .4em;
     105}
     106
     107.item {
     108    width: 15em;
     109    float: left;
     110}
     111
     112.secitem {
    65113    font-weight: normal;
    66     font-size: x-large;
    67 }
    68 
    69 div.chapter div.titlepage h2.title {
    70     font-weight: bold;
    71     font-size: x-large;
    72     text-align: left;
    73 }
    74 
    75 div.sect1 div.titlepage h2.title {
    76     font-weight: bold;
    77     font-size: x-large;
    78     text-align: left;
    79 }
    80 
    81 tt {
    82     font-family: courier, monospace;
    83 }
    84 
    85 pre.screen {
    86     color: black;
    87     background-color: #dddddd;
    88 }
    89 
    90 pre.synopsis {
    91     color: black;
    92     background-color: #dddddd;
    93 }
    94 
     114    width: 14em;
     115    float: left;
     116}
     117
     118/* Admonitions */
    95119div.admonition {
    96120  border: medium solid;
     
    99123}
    100124
     125div.admonhead img {
     126  padding: .3em;
     127}
     128
    101129div.admonhead h3 {
    102         display: inline;
    103         margin-left: 1.5em;
     130  display: inline;
     131  margin-left: 1.5em;
    104132}
    105133
    106134div.admonbody {
    107         margin: .5em;
    108 }
    109 
    110 .command {
    111     font-family: courier, monospace;
    112 }
    113 
    114 .item {
    115     width: 15em;
    116     float: left;
    117 }
    118 
    119 .secitem {
    120     font-weight: normal;
    121     width: 12.5em;
    122     float: left;
    123 }
    124 
    125 .materials dd {
    126         margin-bottom: 1em;
     135  margin: .5em;
     136}
     137
     138/* Monospaced elements */
     139tt, code, kbd, pre, .command {
     140  font-family: monospace;
     141  font-size: 1em;
     142}
     143
     144pre.screen {
     145  color: #600;
     146  background-color: #ffffe0;
     147  border: 1px solid #eeeed0;
     148  padding: .5em 2em;
     149  margin: 0;
     150  font-weight: bold;
     151}
     152
     153/* variablelist & segmentedlist */
     154div.variablelist dd {
     155  margin-bottom: 1em;
     156}
     157
     158div.variablelist dd p {
     159  margin-top: 0px;
     160}
     161
     162div.segmentedlist {
     163  margin-top: 1em;
     164}
     165
     166div.segmentedlist p {
     167  margin: 0px auto;
     168}
     169
     170dl.materials dd {
    127171  margin-left: 0px auto;
    128172}
    129173
    130 .materials dd p {
    131         margin-top: 0px auto;
    132 }
     174/* Indented blocks */
     175p, ul, dl, code, blockquote {
     176  padding-left: 1em;
     177}
     178
     179/* Sections */
     180div.wrap h1 {
     181  background: #f5f6f7;
     182  padding: 0.8em 0 0.5em 0;
     183  margin: 0;
     184}
     185
     186div.package {
     187  background: #f5f6f7;
     188  border-bottom: .3em solid #dbddec;
     189  padding: 0 0.5em 1em 0.5em;
     190  margin: 0;
     191}
     192
     193div.installation {
     194  background:   #fefefe;
     195  padding: 0 0.5em 0.5em 0.5em;
     196  margin: .5em 0 .5em 0;
     197}
     198
     199div.content {
     200  background: #f5f6f7;
     201  border-top: .3em solid #dbddec;
     202  padding: 1em 0.5em 0.5em 0.5em;
     203  margin: .5em 0 .5em 0;
     204}
     205
     206div.installation h2, div.content h2 {
     207  padding-top: 0.4em;
     208  margin: 0;
     209}
     210
     211div.book, div.preface, div.part, div.chapter, div.sect1, div.index {
     212  background:   #fefefe;
     213  padding-bottom: 0.5em;
     214}
     215
     216div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.index h1 {
     217  background: #f5f6f7;
     218  border-bottom: .1em solid #dbddec;
     219  margin: 0px auto;
     220  padding: .5em;
     221}
     222
     223div.book h1 {
     224  background: #f5f6f7;
     225  margin: 0px auto;
     226  padding: 0.5em;
     227}
     228
     229div.book h2.subtitle {
     230  background: #dbddec;
     231  margin: 0px auto;
     232  padding: 0.2em;
     233}
     234div.authorgroup, div p.copyright, div.abstract {
     235  background: #f5f6f7;
     236  margin: 0px auto;
     237  padding:  0 0.5em;
     238}
     239
     240hr {
     241  background: #dbddec;
     242  height: .3em;
     243  border: 0px;
     244  margin: 0px auto;
     245}
Note: See TracChangeset for help on using the changeset viewer.