Changeset c302db6 for stylesheets/lfs-xsl/lfs.css
- Timestamp:
- 01/22/2024 06:14:25 PM (4 months ago)
- Branches:
- 12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
- Children:
- a38df1e
- Parents:
- af52b6d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/lfs.css
raf52b6d7 rc302db6 39 39 } 40 40 41 /* Sect1: must stay when scrolling, so "fixed". The navheader 42 is higher for sect1 and chapter, so change top position.*/ 43 h1.sect1, h1.chapter { 44 top: 4.35em; 45 } 46 h1.preface, h1.part, h1.appendix, .glossary h1, .index h1 { 47 top: 3.53em; 48 } 41 /* Section titles */ 49 42 h1.sect1, h1.preface, h1.part, h1.chapter, h1.appendix, .glossary h1, .index h1 { 50 43 background: #f5f6f7; 51 44 border-bottom: .1em solid #dbddec; 52 padding: .2em 0;53 height: 1em;54 width: auto;55 position: fixed; 56 left:0.58em; 57 right:0.58em; 58 bottom: auto;59 } 60 61 /* Scrolling parts */ 45 margin-bottom:1em; 46 margin-top: 0; 47 padding: .4em; 48 } 49 50 /* Scrolling parts 51 The header is taller for sect1 and chapter pages than on the 52 other pages. Since we want a fix box, it's top has to be calculated 53 by trial and errors to fit below the static header fox.*/ 54 62 55 div.sect1, div.chapter { 63 top: 11. 2em;56 top: 11.9em; 64 57 } 65 58 div.appendix, div.preface, div.part, div.glossdiv, .index div.index { 66 top: 9.7em;59 top: 10.4em; 67 60 } 68 61 div.sect1, div.appendix, div.preface, div.part, div.chapter, div.glossdiv, .index div.index {
Note:
See TracChangeset
for help on using the changeset viewer.