PageStyle
Differences between revisions 19 and 20
1817
Comment:
|
1862
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| | ||<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>>|| |
Line 32: | Line 32: |
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| | ||<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>>|| |
Line 47: | Line 47: |
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| | ||<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>>|| |
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, like so:
# text text text # the end <<BR>><<BR>>
UbuntuGNOME/PageStyle (last edited 2016-11-16 18:32:50 by awjinahn)