Ignore:
Timestamp:
01/07/2005 05:14:15 AM (19 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d8dc77a
Parents:
bad8b53
Message:

Update stylesheets and fix Python references

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3217 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/blfs.css

    rbad8b53 r3fe8b511  
     1/* Global settings */
    12body {
    2   font-weight: normal;
    3   font-size: medium;
    43  font-family: verdana, tahoma, helvetica, arial, sans-serif;
    54  text-align: left;
    6 }
    7 
    8 .toc ul, .index ul {
    9         list-style: none;
    10 }
    11 
    12 .navheader {
    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
     28strong {
     29  color: #55f;  /* Light Blue */
     30}
     31
     32h1 { font-size: 173%; text-align: center; }
     33h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; }
     34h2.subtitle { text-align: center; }
     35h3 { font-size: 120%; }
     36h4 { font-size: 110%;}
     37h5, h6 { font-size: 110%; font-style: italic; }
     38
     39/* Navigation */
     40div.headertitles h4 {
     41  margin-bottom: 2px;
    1442  text-align: center;
    15   padding-bottom: 0.5em;
    16   border-bottom: solid 2px #080;
    17 }
    18 
    19 .navheader p {
    20   margin: 1em 0em;
    21 }
    22 
    23 .navfooter {
    24   font-size: smaller;
     43}
     44
     45div.headertitles h3 {
     46  margin-top: 2px;
    2547  text-align: center;
    26   padding-top: 0.5em;
    27   border-top: solid 2px #080;
    28 }
    29 
    30 div.sect3 li {
    31   /* padding: 0em; */
     48}
     49
     50div.navheader, div.navfooter {
     51  background: #ecedef;
     52  padding: 0.1em 1em;
     53  border-bottom: 1px solid #dbddec;
     54}
     55
     56div.navfooter {
     57  border-bottom: 0;
     58  border-top: 1px solid #dbddec;
     59}
     60
     61div.navheader ul, div.navfooter ul {
     62  padding: .2em .5em .5em 0;
     63  margin-left: 0px;
     64  margin-right: 2px;
     65  position: relative;
     66  background: #dbddec;
     67}
     68
     69div.navheader ul li, div.navfooter ul li {
     70  display: inline;
     71  width: 40%;
     72}
     73
     74div.navheader ul li.prev, div.navfooter ul li.prev {
     75  position: absolute;
     76  display: block;
     77  left: 0;
     78  text-align: left;
     79  padding: 0.2em 1em;
     80  margin-left: 6px;
     81}
     82
     83div.navheader ul li.next, div.navfooter ul li.next {
     84  position: absolute;
     85  display: block;
     86  text-align: right;
     87  right: 5px;
     88  padding: 0.2em 0.5em;
     89  margin-right: 7px;
     90}
     91
     92div.navheader ul li.prev p, div.navfooter ul li.prev p,
     93div.navheader ul li.next p, div.navfooter ul li.next p {
     94  padding: 0;
     95  margin: 1px 0px;
     96}
     97
     98div.navheader ul li.home, div.navheader ul li.up,
     99div.navfooter ul li.home, div.navfooter ul li.up {
     100  text-align: center;
     101  padding: 0;
     102  margin: 0px auto;
     103  display: block;
     104  color: #dbddec;
     105}
     106
     107/* TOC & Index*/
     108
     109div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
     110  list-style: none;
     111}
     112
     113div.toc, div.dedication {
     114  padding-left: 1em;
     115}
     116
     117li.preface {
     118  margin-left: 1em;
     119}
     120
     121div.toc ul li h3, div.toc ul li h4 {
     122  margin: .4em;
     123}
     124
     125.item {
     126    width: 17em;
     127    float: left;
     128}
     129
     130.secitem {
     131    font-weight: normal;
     132    width: 16em;
     133    float: left;
     134}
     135
     136/* Admonitions */
     137div.note, div.tip {
     138  background-color: #fffff6;
     139  border: 2px solid #dbddec;
     140  width: 90%;
     141  margin: .5em auto;
     142}
     143
     144div.important, div.warning, div.caution {
     145  background-color: #fffff6;
     146  border: medium solid #400;
     147  width: 90%;
     148  margin: 1.5em auto;
     149  color: #600;
     150  font-size: larger;
     151}
     152
     153div.important h3, div.warning h3, div.caution h3 {
     154  color: #900;
     155}
     156
     157div.admonhead img {
     158  padding: .3em;
     159}
     160
     161div.admonhead h3 {
     162  display: inline;
     163  margin-left: 1.5em;
     164}
     165
     166div.admonbody {
     167  margin: .5em;
     168}
     169
     170div.important em, div.warning em, div.caution em {
     171  color: #000;
     172  font-weight: bold;
     173}
     174
     175div.important tt, div.warning tt, div.caution tt {
     176  font-weight: bold;
     177}
     178
     179/* variablelist & segmentedlist */
     180dl {
     181  margin: 0;
     182  padding: 0;
     183}
     184
     185dt {
     186  display: list-item;
     187  font-weight: bold;
     188  margin: .33em 0 0 1em;
     189  padding: 0;
     190}
     191
     192div.content dt {
     193  list-style: none;
     194}
     195
     196dd  {
     197  margin: 0 0 1em 3em;
     198  padding: 0;
     199}
     200
     201div.variablelist dd {
     202  margin-bottom: 1em;
     203}
     204
     205div.variablelist dd p {
     206  margin-top: 0px;
     207}
     208
     209dl.materials dd {
     210  margin-left: 0px;
     211}
     212
     213div.segmentedlist {
     214  margin-top: 1em;
     215}
     216
     217div.segmentedlist p {
     218  margin: 0px auto;
     219}
     220
     221/* itemizedlist */
     222
     223div.itemizedlist {
     224  margin-left: 1em;
    32225}
    33226
     
    38231}
    39232
    40 .prev {
    41   width: 40%;
    42   float: left;
    43   text-align: left;
     233/* Indented blocks */
     234p, ul, dl, code, blockquote {
    44235  padding-left: 1em;
    45236}
    46237
    47 .next {
    48   width: 40%;
    49   float: right;
    50   text-align: right;
    51   padding-right: 1em;
    52 }
    53 
    54 p, h1, h2, h3, h4, h5, h6 {
    55   margin: 0.5em 0em;
    56 }
    57 
    58 h4 {
    59   font-size: 90%;
    60   padding-left: 0em;
    61 }
    62 
    63 
    64 div.navheader ul li, div.navfooter ul li {
    65         display: inline;
    66   padding: 4em;
    67 }
    68 
    69 li.preface {
    70         margin-left: 2.5em;
    71 }
    72 
    73 div.book div.titlepage h1.title {
    74     font-weight: bold;
    75     font-size: xx-large;
    76     text-align: center;
    77 }
    78 
    79 div.book div.titlepage h2.subtitle {
    80     font-weight: bold;
    81     font-size: x-large;
    82     text-align: center;
    83 }
    84 
    85 div.book div.titlepage h3.author {
    86     font-size: large;
    87 }
    88 
    89 div.book div.dedication div.titlepage h2.title {
    90     font-weight: normal;
    91     font-size: x-large;
    92 }
    93 
    94 div.chapter div.titlepage h2.title {
    95     font-weight: bold;
    96     font-size: x-large;
    97     text-align: left;
    98 }
    99 
    100 div.sect1 div.titlepage h2.title {
    101     font-weight: bold;
    102     font-size: x-large;
    103     text-align: left;
    104 }
    105 
    106 div.appendix  p.title {
    107     font-weight: bold;
    108     font-size: large;
    109     text-align: center;
    110 }
    111 
    112 
    113 tt {
    114     font-family: courier, monospace;
    115     font-size: 110%;
     238/* Monospaced elements */
     239tt, code, kbd, pre, .command {
     240  font-family: monospace;
     241}
     242
     243pre.userinput {
     244  color: #101310;
     245  background-color: #e5e5e5;
     246  border: 1px solid #050505;
     247  padding: .5em 1em;
     248  margin: 0 2em;
     249}
     250
     251.literal {
     252  font-weight: normal;
    116253}
    117254
    118255pre.screen {
    119     color: black;
    120     background-color: #dddddd;
    121     font-family: Courier, monospace;
    122         font-size: 13px;
    123 }
    124 
    125 pre.screen {
    126   padding: 0.5em 1.5em;
    127   line-height: 110%;
    128 }
    129 
    130 pre.synopsis {
    131     color: black;
    132     background-color: #dddddd;
    133 }
    134 
    135 div.admonition {
    136   border: medium solid;
    137   width: 90%;
    138   margin: .5em auto;
    139 }
    140 
    141 div.admonhead h3 {
    142         display: inline;
    143         margin-left: 1.5em;
    144 }
    145 
    146 div.admonbody {
    147         margin: .5em;
    148 }
    149 
    150 b.command {
    151     font-family: courier, monospace;
    152 }
    153 
    154 .item {
    155     width: 15em;
    156     float: left;
    157 }
    158 
    159 .secitem {
    160     font-weight: normal;
    161     width: 12.5em;
    162     float: left;
    163 }
     256  color: #000;
     257  background-color: #e9e9e9;
     258  border: 1px solid #050505;
     259  padding: .5em 1em;
     260  margin: 0 2em;
     261}
     262
     263/* Sections */
     264div.wrap h1, div.glossary h2 {
     265  background: #f5f6f7;
     266  padding: 1em 0 0.5em 0;
     267  margin: 0px auto;
     268}
     269
     270div.glossary h2 {
     271  text-align: center;
     272   font-size: 173%;
     273   padding-top: 0.4em;
     274   border-bottom: .1em solid #dbddec;
     275}
     276
     277div.package {
     278  background: #f5f6f7;
     279  border-bottom: 0.2em solid #dbddec;
     280  padding: 0.5em 0.5em 0.3em 0.5em;
     281  margin: 0px auto;
     282}
     283
     284div.installation {
     285  padding: 0 0.5em 0.3em 0.5em;
     286  margin: 0.5em 0 0.5em 0;
     287}
     288
     289div.configuration {
     290  background:   #fefefe;
     291  border-top: 0.2em solid #dbddec;
     292  padding: 0.5em;
     293  margin: 0.5em 0 .5em 0;
     294}
     295
     296div.content {
     297  background: #f5f6f7;
     298  border-top: 0.2em solid #dbddec;
     299  padding: 0.5em 0.5em 1em 0.5em;
     300  margin: 0.5em 0 .5em 0;
     301}
     302
     303div.installation h2, div.content h2 {
     304  padding-top: 0.3em;
     305  margin: 0;
     306}
     307
     308div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index {
     309  padding-bottom: 0.5em;
     310}
     311
     312div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1, div.index h1 {
     313  background: #f5f6f7;
     314  border-bottom: .1em solid #dbddec;
     315  margin: 0px auto;
     316  padding: .5em;
     317}
     318
     319div.book h1 {
     320  background: #f5f6f7;
     321  margin: 0px auto;
     322  padding: 0.5em;
     323}
     324
     325div.book h2.subtitle {
     326  background: #dbddec;
     327  margin: 0px auto;
     328  padding: 0.2em;
     329}
     330div.authorgroup, div p.copyright, div.abstract, div p.pubdate, div.revhistory {
     331  background: #f5f6f7;
     332  margin: 0px auto;
     333  padding:  1em 0.5em;
     334}
     335
     336hr {
     337  background: #dbddec;
     338  height: .3em;
     339  border: 0px;
     340  margin: 0px auto;
     341  padding: 0;
     342}
     343
     344/* Last edited info */
     345p.updated {
     346  font-size: small;
     347  font-weight: bold;
     348  font-style: italic;
     349}
Note: See TracChangeset for help on using the changeset viewer.