Changeset b40a88ae for stylesheets/lfs-xsl
- Timestamp:
- 01/21/2024 05:39:59 PM (8 months ago)
- Branches:
- 12.1, 12.2, gimp3, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
- Children:
- 07fda1c
- Parents:
- 0aa3d7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/lfs.css
r0aa3d7b rb40a88ae 39 39 } 40 40 41 42 /* Sections */ 43 div.sect1, div.appendix { 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: 3.5em; 45 } 46 h1.preface, h1.part, h1.appendix, .glossary h1, .index h1 { 47 top: 2.5em; 48 } 49 h1.sect1, h1.preface, h1.part, h1.chapter, h1.appendix, .glossary h1, .index h1 { 50 background: #f5f6f7; 51 border-bottom: .1em solid #dbddec; 52 padding: .2em 0; 53 margin-left: -.1em; 54 height: 1em; 55 width: 100%; 56 position: fixed; 57 left:0; 58 right:0; 59 bottom: auto; 60 } 61 62 /* Scrolling parts */ 63 div.sect1, div.chapter { 64 top: 9.5em; 65 } 66 div.appendix, div.preface, div.part, div.glossary, .index div.index { 67 top: 8.5em; 68 } 69 div.sect1, div.appendix, div.preface, div.part, div.chapter, div.glossary, .index div.index { 44 70 padding-left: .3em; 71 overflow:auto; 72 height: auto; 73 position: fixed; 74 left:0; 75 right:0; 76 bottom: 0; 45 77 } 46 78 … … 69 101 } 70 102 71 72 103 /* Headers */ 73 104 h1, h2, h3, h4, h5, h6, b, .strong { … … 87 118 } 88 119 89 .preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1, .glossary h1 {90 background: #f5f6f7;91 border-bottom: .1em solid #dbddec;92 margin-bottom: 1em;93 margin-top: 0;94 padding: .4em;95 }96 97 .sect1 h1, .appendix h1 {98 margin-left: -.2em;99 }100 101 120 .wrap h1 { 102 121 background: #f5f6f7; … … 147 166 } 148 167 168 /* Navigation window on top: fixed. Height is relative to 169 default font size. The 7.3em is obtained by trial and error.*/ 149 170 div.navheader { 150 171 border-bottom: 1px solid #dbddec; 151 position: sticky; 152 top: 0; 153 } 154 172 position: fixed; 173 top: 0; 174 left:0; 175 right:0; 176 bottom:auto; 177 height:7.3em 178 } 179 180 /* no need for a footer now that the header is always visible */ 155 181 div.navfooter { 156 border-top: 1px solid #dbddec;182 display:none; 157 183 } 158 184
Note:
See TracChangeset
for help on using the changeset viewer.