Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/lfs.css

    r44850bb r2cf01ab7  
    11/* Global settings */
    22body {
    3   font-family: verdana, tahoma, arial, sans-serif;
     3  font-family: verdana, tahoma, helvetica, arial, sans-serif;
    44  text-align: left;
    55  background: #fff;
     
    88  padding: 0;
    99  font-size: 1em;
    10   line-height: 1.2em;
     10  line-height: 1.2em
    1111}
    1212
     
    3939}
    4040
    41 /* Section titles */
    42 h1.sect1, h1.preface, h1.part, h1.chapter, h1.appendix, .glossary h1, .index h1
    43  {
    44   background: #f5f6f7;
    45   border-bottom: .1em solid #dbddec;
    46   margin-bottom:1em;
    47   margin-top: 0;
    48   padding: .4em;
    49 }
    50 
    51 /* Scrolling parts
    52    The header is taller for sect1 and chapter pages than on the
    53    other pages.  Since we want fixed boxes, their top has to be calculated
    54    by trial and errors to fit below the static header box.*/
    55 
    56 div.sect1, div.chapter, div.appendix, div.wrap {
    57   top: 11.55em;
    58 }
    59 div.preface, div.part, .index div.index {
    60   top: 10.15em;
    61 }
    62 div.sect1, div.appendix, div.preface, div.part, div.chapter, div.wrap, .index div.index {
    63 /*  padding-left: .3em;*/
    64   overflow:auto;
    65   height: auto;
    66   position: fixed;
    67   left:1em;
    68   right:1em;
    69   bottom: 1em;
    70   border-bottom: 1em solid #dbddec;
     41
     42/* Sections */
     43div.sect1, div.appendix {
     44  padding-left: .3em;
    7145}
    7246
     
    9064  border-bottom: 0.2em solid #dbddec;
    9165  padding-top: .1em;
    92 /*  margin-top: 0;*/
    93 }
    94 /*
    95 .lfs .package p:first-child {
    9666  margin-top: 0;
    97 }*/
     67}
    9868
    9969.lfs .configuration {
     
    10575  background: #f5f6f7;
    10676  border-top: 0.2em solid #dbddec;
    107   border-bottom: 0.2em solid #dbddec;
    10877  padding-bottom: .1em;
    109   margin-bottom: .5em;
    110 }
     78  margin-bottom: 0;
     79}
     80
    11181
    11282/* Headers */
     
    12797}
    12898
     99.preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1, .glossary h1 {
     100  background: #f5f6f7;
     101  border-bottom: .1em solid #dbddec;
     102  margin-bottom: 1em;
     103  margin-top: 0;
     104  padding: .4em;
     105}
     106
     107.sect1 h1, .appendix h1 {
     108  margin-left: -.2em;
     109}
     110
    129111.wrap h1 {
    130112  background: #f5f6f7;
     
    176158
    177159div.navheader {
    178   border-bottom: .1em solid #dbddec;
    179 }
    180 
    181 /* no need for a footer now that the header is always visible */
     160  border-bottom: 1px solid #dbddec;
     161   position: sticky;
     162   top: 0;
     163}
     164
    182165div.navfooter {
    183   display:none;
    184 }
    185 
    186 /* Except for the first page (TOC), where the bottom is the only
    187    place where navigation is displayed. */
    188 
    189 div.book + div.navfooter {
    190   display:block
     166  border-top: 1px solid #dbddec;
    191167}
    192168
     
    204180
    205181div.navheader ul, div.navfooter ul {
    206   padding: .2em .5em .5em .5em; /*top right bottom left*/
     182  padding: .2em .5em .5em 0;
    207183  margin: .5em 0;
    208184  position: relative;
     
    221197  text-align: left;
    222198  padding: 0.2em 1em;
    223   margin-left: .4em;
     199  margin-left: 6px;
    224200}
    225201
     
    228204  display: block;
    229205  text-align: right;
    230   right: 0;
    231   padding: 0.2em 1em;
    232   margin-right: .4em;
     206  right: 5px;
     207  padding: 0.2em 0.5em;
     208  margin-right: 7px;
    233209}
    234210
     
    236212div.navheader ul li.next p, div.navfooter ul li.next p {
    237213  padding: 0;
    238   margin: .1em 0;
     214  margin: 1px 0px;
    239215}
    240216
     
    243219  text-align: center;
    244220  padding: 0;
    245   margin: 0 auto;
     221  margin: 0px auto;
    246222  display: block;
    247223  color: #dbddec;
Note: See TracChangeset for help on using the changeset viewer.