diff options
| author | Keith Packard <keithp@keithp.com> | 2015-11-01 04:18:34 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2015-11-01 06:02:14 -0800 | 
| commit | f2816b305fc9e18a1190e392d43ff489936f10f0 (patch) | |
| tree | 7149621ceeb38f1a3169bdbe9dc72c077639e18a /doc/am.css | |
| parent | 5b782c8f45ed6c34ed0e7f1aff6ac298c9a879ff (diff) | |
doc: Switch to free fonts. Publish fonts with docs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc/am.css')
| -rw-r--r-- | doc/am.css | 69 | 
1 files changed, 62 insertions, 7 deletions
| @@ -2,9 +2,65 @@    CSS stylesheet for XHTML produced by DocBook XSL stylesheets.  */ +@font-face { +    font-family: 'Open Sans'; +    src: url('fonts/OpenSans-Regular.ttf'); +    font-weight: normal; +    font-style: normal; +} + +@font-face { +    font-family: 'Open Sans'; +    src: url('fonts/OpenSans-Italic.ttf'); +    font-weight: normal; +    font-style: italic; +} + +@font-face { +    font-family: 'Open Sans'; +    src: url('fonts/OpenSans-Semibold.ttf'); +    font-weight: bold; +    font-style: normal; +} + +@font-face { +    font-family: 'Open Sans'; +    src: url('fonts/OpenSans-SemiboldItalic.ttf'); +    font-weight: bold; +    font-style: italic; +} + +@font-face { +    font-family: 'DejaVu Sans Mono'; +    src: url('fonts/DejaVuSansMono.ttf'); +    font-weight: normal; +    font-style: normal; +} + +@font-face { +    font-family: 'DejaVu Sans Mono'; +    src: url('fonts/DejaVuSansMono-Oblique.ttf'); +    font-weight: normal; +    font-style: oblique; +} + +@font-face { +    font-family: 'DejaVu Sans Mono'; +    src: url('fonts/DejaVuSansMono-Bold.ttf'); +    font-weight: bold; +    font-style: normal; +} + +@font-face { +    font-family: 'DejaVu Sans Mono'; +    src: url('fonts/DejaVuSansMono-BoldOblique.ttf'); +    font-weight: bold; +    font-style: oblique; +} +  body { -    font-family: "Frutiger LT Std 45 Light",sans-serif; -    font-size: 14pt; +    font-family: "Open Sans",sans-serif; +    font-size: 12pt;  }  code, pre { @@ -41,7 +97,7 @@ a:visited {  h1, h2, h3, h4, h5, h6  {    color: #0080ff; -  font-family: "Frutiger LT Std 45 Light",sans-serif; +  font-family: "Open Sans",sans-serif;  }  div.revhistory table { @@ -63,7 +119,7 @@ div.sidebar p.title  {    font-weight: normal;    color: #0080ff; -  font-family: "Frutiger LT Std 45 Light",sans-serif; +  font-family: "Open Sans",sans-serif;    margin-bottom: 0.2em;  } @@ -108,8 +164,8 @@ div.footnotes hr {  }  div.navheader th, div.navheader td, div.navfooter td { -    font-family: "Frutiger LT Std 45 Light",sans-serif; -    font-size: 14pt; +    font-family: "Open Sans",sans-serif; +    font-size: 12pt;      font-weight: normal;      color: #0080ff;  } @@ -244,7 +300,6 @@ div.revhistory table, th, td, tr {  }  div.revhistory th {    color: #0080ff; -  font-family: "Frutiger LT Std 45 Light",sans-serif;  }  /* Keep TOC and index lines close together. */ | 
