Changeset 44850bb for stylesheets/lfs-xsl/lfs.css
- Timestamp:
- 01/26/2024 01:55:51 PM (8 months ago)
- Branches:
- 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 360fdfca
- Parents:
- ea93c11
- git-author:
- Pierre Labastie <pierre.labastie@…> (01/26/2024 01:53:30 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (01/26/2024 01:55:51 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/lfs.css
rea93c11 r44850bb 1 1 /* Global settings */ 2 2 body { 3 font-family: verdana, tahoma, helvetica,arial, sans-serif;3 font-family: verdana, tahoma, arial, sans-serif; 4 4 text-align: left; 5 5 background: #fff; … … 8 8 padding: 0; 9 9 font-size: 1em; 10 line-height: 1.2em 10 line-height: 1.2em; 11 11 } 12 12 … … 39 39 } 40 40 41 42 /* Sections */ 43 div.sect1, div.appendix { 44 padding-left: .3em; 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; 45 71 } 46 72 … … 64 90 border-bottom: 0.2em solid #dbddec; 65 91 padding-top: .1em; 92 /* margin-top: 0;*/ 93 } 94 /* 95 .lfs .package p:first-child { 66 96 margin-top: 0; 67 } 97 }*/ 68 98 69 99 .lfs .configuration { … … 75 105 background: #f5f6f7; 76 106 border-top: 0.2em solid #dbddec; 107 border-bottom: 0.2em solid #dbddec; 77 108 padding-bottom: .1em; 78 margin-bottom: 0; 79 } 80 109 margin-bottom: .5em; 110 } 81 111 82 112 /* Headers */ … … 97 127 } 98 128 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 111 129 .wrap h1 { 112 130 background: #f5f6f7; … … 158 176 159 177 div.navheader { 160 border-bottom: 1px solid #dbddec; 161 position: sticky; 162 top: 0; 163 } 164 178 border-bottom: .1em solid #dbddec; 179 } 180 181 /* no need for a footer now that the header is always visible */ 165 182 div.navfooter { 166 border-top: 1px solid #dbddec; 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 167 191 } 168 192 … … 180 204 181 205 div.navheader ul, div.navfooter ul { 182 padding: .2em .5em .5em 0;206 padding: .2em .5em .5em .5em; /*top right bottom left*/ 183 207 margin: .5em 0; 184 208 position: relative; … … 197 221 text-align: left; 198 222 padding: 0.2em 1em; 199 margin-left: 6px;223 margin-left: .4em; 200 224 } 201 225 … … 204 228 display: block; 205 229 text-align: right; 206 right: 5px;207 padding: 0.2em 0.5em;208 margin-right: 7px;230 right: 0; 231 padding: 0.2em 1em; 232 margin-right: .4em; 209 233 } 210 234 … … 212 236 div.navheader ul li.next p, div.navfooter ul li.next p { 213 237 padding: 0; 214 margin: 1px 0px;238 margin: .1em 0; 215 239 } 216 240 … … 219 243 text-align: center; 220 244 padding: 0; 221 margin: 0 pxauto;245 margin: 0 auto; 222 246 display: block; 223 247 color: #dbddec;
Note:
See TracChangeset
for help on using the changeset viewer.