cookbook: Additional selectors in CSS stylesheet

Added some selectors for docbook element types
[properties and types], so those elements can be used in recipes
This commit is contained in:
Elliot Smith 2010-07-06 15:42:32 +01:00
parent dfe7c554fd
commit fe7385cb7d

View File

@ -1,6 +1,6 @@
/* /*
Generic XHTML / DocBook XHTML CSS Stylesheet. Generic XHTML / DocBook XHTML CSS Stylesheet.
Browser wrangling and typographic design by Browser wrangling and typographic design by
Oyvind Kolas / pippin@gimp.org Oyvind Kolas / pippin@gimp.org
@ -42,7 +42,7 @@
body { body {
font-family: Verdana, Sans, sans-serif; font-family: Verdana, Sans, sans-serif;
min-width: 640px; min-width: 640px;
width: 80%; width: 80%;
margin: 0em auto; margin: 0em auto;
@ -120,7 +120,7 @@ h6 {
padding-top: 256px; padding-top: 256px;
/* background-image: url("images/clutter-logo.png"); */ /* background-image: url("images/clutter-logo.png"); */
background-position: right top; background-position: right top;
float: right; float: right;
margin-top: -256px; margin-top: -256px;
padding-right: 50px; padding-right: 50px;
margin-left: 50px; margin-left: 50px;
@ -243,7 +243,7 @@ div.legalnotice p.legalnotice-title {
p { p {
line-height: 1.5em; line-height: 1.5em;
margin-top: 0em; margin-top: 0em;
} }
dl { dl {
@ -297,7 +297,7 @@ p a[id] {
padding: 0px; padding: 0px;
display: inline; display: inline;
background-image: none; background-image: none;
} }
a { a {
text-decoration: underline; text-decoration: underline;
@ -339,10 +339,10 @@ div.table p.title b{
font-weight: normal; font-weight: normal;
} }
.mediaobject .caption, .mediaobject .caption,
.mediaobject .caption p { .mediaobject .caption p {
text-align: center; text-align: center;
font-size: 80%; font-size: 80%;
padding-top: 0.5em; padding-top: 0.5em;
padding-bottom: 0.5em; padding-bottom: 0.5em;
} }
@ -370,6 +370,10 @@ span.application {
font-style: italic; font-style: italic;
} }
span.property, span.type {
font-family: monospace;
}
.programlisting { .programlisting {
font-family: monospace; font-family: monospace;
font-size: 80%; font-size: 80%;
@ -607,7 +611,7 @@ b.keycap,
.keycap { .keycap {
border: 1px solid; border: 1px solid;
} }
div.navheader, div.heading{ div.navheader, div.heading{
border-bottom: 1px solid; border-bottom: 1px solid;
@ -681,7 +685,7 @@ hr {
background-color: #8bd12e; background-color: #8bd12e;
} }
.glossary dl dt, .glossary dl dt,
.variablelist dl dt, .variablelist dl dt,
.variablelist dl dt span.term { .variablelist dl dt span.term {
color: #044; color: #044;
@ -770,8 +774,8 @@ h6,
h7{ h7{
} }
div.preface .titlepage .title, div.preface .titlepage .title,
div.colophon .title, div.colophon .title,
div.chapter .titlepage .title { div.chapter .titlepage .title {
background-image: url("images/title-bg.png"); background-image: url("images/title-bg.png");
background-position: bottom; background-position: bottom;
@ -938,7 +942,7 @@ table {
.tip, .tip,
.note { .note {
background: #91ae35; background: #91ae35;
color: #fff; color: #fff;
padding: 20px; padding: 20px;
margin: 20px; margin: 20px;
} }
@ -949,11 +953,11 @@ table {
margin: 0em; margin: 0em;
font-size: 2em; font-size: 2em;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
} }
.tip a, .tip a,
.note a { .note a {
color: #fff; color: #fff;
text-decoration: underline; text-decoration: underline;
} }