Homepage
Activities
Events
Blogs
Lists
Develop
Translate
Chat
Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.css
(view source)
Revision as of 13:32, 27 July 2010
475 bytes added
,
13:32, 27 July 2010
update for toc float right default
Line 9:
Line 9:
code, pre, tt {
code, pre, tt {
font-size: 115%;
font-size: 115%;
−
line-height: 1.2em;
+
line-height: 1.2em;
overflow: auto;
overflow: auto;
}
}
Line 25:
Line 25:
}
}
−
/* When <div class="
nonumtoc
"> is used on the table of contents,
+
/* When <div class="
numtoc
"> is used on the table of contents,
−
the ToC will display
without
numbers
+
the ToC will display
with
numbers
.
.
copied here 08 Nov 2009 by [[User:FGrose]] from [[wikipedia:MediaWiki:Common.css]]
copied here 08 Nov 2009 by [[User:FGrose]] from [[wikipedia:MediaWiki:Common.css]]
+
edited to default to float on the right with nonumbers 26 July 2010
*/
*/
−
.
nonumtoc
.tocnumber { display: none; }
+
table
.
toc {
−
.
nonumtoc
#toc ul,
+
float: right;
−
.
nonumtoc
.toc ul {
+
clear: right;
+
margin-left: 1.4em;
+
margin-bottom: .5em;
+
background-color: #f9f9f9;
+
width: auto;
+
}
+
.tocnumber { display: none
; }
+
#toc li, .toc li,
+
.numtoc #toc li,
+
.numtoc .toc li {
+
padding: 0em 0.3em 0em 0.3em;
+
}
+
#toc ul,
+
.toc ul {
+
line-height: 1.5em;
+
list-style: none;
+
margin: .3em 0 0;
+
padding: 0;
+
}
+
#toc ul ul,
+
.toc ul ul {
+
margin: 0 0 0 2em;
+
}
+
.numtoc .tocnumber { display: inline
; }
+
.
numtoc
#toc ul,
+
.
numtoc
.toc ul {
line-height: 1.5em;
line-height: 1.5em;
list-style: none;
list-style: none;
Line 38:
Line 64:
padding: 0;
padding: 0;
}
}
−
.
nonumtoc
#toc ul ul,
+
.
numtoc
#toc ul ul,
−
.
nonumtoc
.toc ul ul {
+
.
numtoc
.toc ul ul {
margin: 0 0 0 2em;
margin: 0 0 0 2em;
}
}
FGrose
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
8,288
edits
Navigation menu
Personal tools
Log in
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Sugar
Downloads
Get started
FAQs
News
Get involved
Activity pages
Submit bugs
Get the source
About Sugar Labs
Donate to Sugar Labs
Contact info
Teams
Activity Team
Design Team
Documentation Team
Development Team
Infrastructure Team
Marketing Team
Platform Team
Translation Team
Wiki Team
Quick Links
Oversight Board
Governance
Human Interface Guidelines
people.sugarlabs.org
Recent changes
Categories
Service index
Wiki help
Code of Conduct
Local Labs
About local labs
Projects
Sugar Network
Sugar Creation Kit
Sugar on a Stick
Sugarizer
TOAST
Using the Wiki
Special pages
Printable version
Google translations
Afrikaans
አማርኛ
العربية
azərbaycanca
Bahasa Indonesia
Bahasa Melayu
Sunda
беларуская
বাংলা
български
bosanski
català
Cebuano
čeština
Chi-Chewa
corsu
Cymraeg
dansk
Deutsch
eesti
Ελληνικά
English
español
Esperanto
euskara
فارسی
français
Frysk
Gaeilge
Gàidhlig
galego
ગુજરાતી
Hausa
Hawaiʻi
한국어
עברית
हिन्दी
հայերեն
hmn
hrvatski
Igbo
isiXhosa
isiZulu
íslenska
italiano
jw
ქართული
ಕನ್ನಡ
қазақша
ភាសាខ្មែរ
Kiswahili
Kreyòl ayisyen
Кыргызча
kurdî
ລາວ
Latina
latviešu
Lëtzebuergesch
lietuvių
magyar
македонски
മലയാളം
Malti
Māori
монгол
मराठी
မြန်မာဘာသာ
Nederlands
नेपाली
日本語
norsk
ਪੰਜਾਬੀ
پښتو
polski
português
română
русский
Gagana Samoa
Sesotho
سنڌي
chiShona
shqip
සිංහල
slovenčina
slovenščina
Soomaaliga
српски / srpski
suomi
svenska
tj
Tagalog
ไทย
тоҷикӣ
தமிழ்
తెలుగు
Tiếng Việt
Türkçe
українська
oʻzbekcha/ўзбекча
اردو
ייִדיש
Yorùbá
中文(台灣)
中文(中国大陆)