PageStyle
Page Style
UI Elements
To ensure consistent style across this wiki, every page should share the same UI elements.
Do this manually, if you want to be sad.
Or, put the following code at the top your page, and be happy!
Header
<<Include(UbuntuGNOME/Header)>>
Table of Translations
Add to the table of translations:
<tablestyle="margin: 0 0 2.5rem 0 !important;">
Table of Contents
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem 1.25rem 1.5rem; line-height: 200%;"><<TableOfContents>>||
Ordering of Elements
- Header
- Table of Translations (if applicable)
- Table of Contents
Like so:
<<Include(UbuntuGNOME/Header)>> ||<tablestyle="margin: 0 0 2.5rem 0 !important;">[[URL | LANGUAGE 1]]||[[URL | LANGUAGE 2]]||...|| ||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem 1.25rem 1.5rem; line-height: 200%;"><<TableOfContents>>||
Section Headings
In lieu of editing the CSS, use <<BR>>s (line-breaks) to create proper vertical whitespace around headings:
= Heading 1 = <<BR>> # text <<BR>> == Heading 2 == <<BR>> # text <<BR>> === Heading 3 === # text
Footer Spacing
Always put two line-breaks at the end of the page:
# text text text # the end <<BR>><<BR>>
UbuntuGNOME/PageStyle (last edited 2016-11-16 18:32:50 by awjinahn)