PageStyle
Differences between revisions 1 and 21 (spanning 20 versions)
189
Comment:
|
← Revision 21 as of 2016-11-16 18:32:50 ⇥
1853
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="float: right; width: 40%; background: #F7F7F7; margin: 1rem 0 1rem 1rem; line-height: 200%;" style="border: none; padding: 1rem 1.5rem 1.5rem 1.5rem;"><<TableOfContents>>|| | ## page was renamed from UbuntuGNOME/TableOfContents <<Include(UbuntuGNOME/Header)>> ||<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 = <<BR>> == UI Elements == <<BR>> 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! :) <<BR>> === Header === {{{ <<Include(UbuntuGNOME/Header)>> }}} <<BR>> === Table of Translations === Add to the table of translations: {{{ <tablestyle="margin: 0 0 2.5rem 0 !important;"> }}} <<BR>> === 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>>|| }}} <<BR>> === Ordering of Elements === 1. Header 1. Table of Translations (if applicable) 1. 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>>|| }}} <<BR>> == Section Headings == <<BR>> 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 }}} <<BR>> == Footer Spacing == <<BR>> Always put two line-breaks at the end of the page: {{{ # text text text # the end <<BR>><<BR>> }}} <<BR>><<BR>> |
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)