Changeset 6809


Ignore:
Timestamp:
Mar 27, 2015, 1:24:27 PM (8 years ago)
Author:
Nicklas Nordborg
Message:

References #1931: Improve documention font sizes and images

Changed to a 11pt as default font size and use relative fonts in all other places.

Images can now only be max 100% wide when printing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/docbook/custom-styles/docbook/plain/css/docbook.css

    r6179 r6809  
    1212 */
    1313
     14@media print
     15{
     16  body
     17  {
     18    font-size: 11pt;
     19  }
     20 
     21  img
     22  {
     23    max-width: 100%;
     24  }
     25}
     26
     27
     28@media screen
     29{
     30 
     31  body
     32  {
     33    font-size: 11pt;
     34    margin-left: 10%;
     35    margin-right: 10%;
     36  }
     37 
     38}
    1439
    1540/* HTML and BODY section --------------------------------------------- {{{ */
     
    2348    margin-top:     1em;
    2449    margin-bottom:  1em;
    25     margin-left:    10%;
    26     margin-right:   10%;
    27    
    2850    font-family:    Arial, Sans-serif;
    2951}
     
    89111
    90112h3.author, p.othercredit {         /** This applies to document author on titlepage */
    91     font-size:      0.9em;
    92113    font-weight:    normal;
    93114    font-style:     oblique;
     
    111132
    112133div.toc, div.list-of-examples, div.list-of-figures {
    113     font-size:      0.8em;
     134  font-size: 80%;
    114135    margin-bottom:  3em;
    115136}
     
    196217
    197218pre.programlisting {
    198     font-size:      9pt;
    199219    padding-left:   1em;
    200220    margin-left:    1em;
     
    228248
    229249p.releaseinfo, .copyright {
    230     font-size:      0.7em;
     250    font-size:      80%;
    231251    text-align:     left;
    232252    margin:         0px;
     
    259279div.admonition th {
    260280    text-align:     left;
    261     font-size: 1.3em;
     281    font-size: 120%;
    262282}
    263283
     
    277297div.navheader, div.navheader table {
    278298    font-family:    sans-serif;
    279     font-size:      12px;
     299    font-size:      90%;
    280300}
    281301
    282302div.navfooter, div.navfooter table {
    283303    font-family:    sans-serif;
    284     font-size:      12px;
     304    font-size:      90%;
    285305}
    286306
     
    339359
    340360div.revhistory {
    341     font-size:      0.8em;
     361    font-size:      90%;
    342362    width:          90%;
    343363    margin-left:    5%;
     
    348368div.revhistory table {
    349369    font-family:    sans-serif;
    350     font-size:      12px;
    351370  border-collapse: collapse;
    352371}
Note: See TracChangeset for help on using the changeset viewer.