diff options
Diffstat (limited to 'plugins/infra/org.eclipse.papyrus.infra.sync/doc/default.css')
-rw-r--r-- | plugins/infra/org.eclipse.papyrus.infra.sync/doc/default.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.sync/doc/default.css b/plugins/infra/org.eclipse.papyrus.infra.sync/doc/default.css new file mode 100644 index 00000000000..df978c5d914 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.sync/doc/default.css @@ -0,0 +1,59 @@ +/* + * Style sheet for the CSS2 specification + */ + +body { + padding: 2em 1em 2em 70px; + margin: 0; + font-family: sans-serif; + color: black; + background: white; + background-position: top left; + background-attachment: fixed; + background-repeat: no-repeat; +} + + +p { + margin-top: 0.6em; + margin-bottom: 0.6em; + margin-left: 2em; +} + +h1, h2, h3, h4, h5, h6 { text-align: left } + + +h1, h2, h3 { color: #005A9C; background: white } +h1 { font: 170% sans-serif } +h2 { font: 140% sans-serif } +h3 { font: 120% sans-serif } +h4 { font: bold 100% sans-serif } +h5 { font: italic 100% sans-serif } +h6 { font: small-caps 100% sans-serif } + +body{counter-reset: h1 h2 h3;} + + +h2:before { + content: counter(h2) " "; + counter-increment: h2; +} +h3:before { + content: counter(h2) "." counter(h3) " "; + counter-increment: h3; +} +h1 { + counter-reset: h2; +} +h2 { + counter-reset: h3; +} +h1.unnumbered, h2.unnumbered { + counter-reset: none; +} +h1.unnumbered:before, +h2.unnumbered:before, +h3.unnumbered:before{ + content: none; + counter-increment: none; +} |