Wiki stylesheet modifications

From OpenOffice.org Wiki

Jump to: navigation, search
PAGE_TITLE: V2lraSBzdHlsZXNoZWV0IG1vZGlmaWNhdGlvbnM=

prettytable and wikitable

This code was added to skins/common/shared.css to allow prettytable and wikitable classes:

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

Handling long lines of code in code blocks

Added

overflow: auto;

to the pre definition in main.css in skins/myskin/main.css and skins/monobook/main.css (this was also added to skins/common/shared.css, but had no effect on the rendering of the pages).

Personal tools
Create a book