![]() |
CSS with MediaWiki is done via MediaWiki:Monobook.css and MediaWiki:Common.css.
skins/monobook/main.css-
skins/common/commonPrint.css
There are other files in skins/monobook/, and stylesheet files in skins/common/ as well.
-
<div style="background-image:url('yourimage.gif')">.....</div>
<div class=hiddenStructure> this won't show, but it's searchable! </div>
also:
-
printfooter
Existing links ∞
2018-05-22 – I’m not sure what this all is, so I’m going to wrap the raw content into a code block.
It was located at [[CSS/existing links]], where CSS was just a regular page. It was from 2006-09-24 or earlier.
Spoiler
Paragraph: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
* Bulleted list: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
# Ordered list: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
{|
|-
| Table: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
| Table: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
|-
| Table: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
| Table: [[sandbox|an existing link]] and [[sandbox/sandbox|another existing link]].
|}
* External links: `http://example.com` `[http://example.com external link]` `[http://example.com]`
* Visited external links: `http://example.com/foo` `[http://example.com/foo external link]` `[http://example.com/foo]`
</noinclude>
/*<pre><nowiki>*/
/* This resolves an issue with CSS not working correctly. It must be the first entry. */
thisneverworks {
}
/* By default, make links black */
#bodyContent a {
text-decoration: none;
color: black;
}
/* But external links are always visible */
#bodyContent a.external {
background: none;
padding-right: 0em;
text-decoration: none;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #36b;
}
#bodyContent a.external:hover {
text-decoration: none;
}
/* When visited, make links purple */
#bodyContent a:visited {
color: #5a3696 !important;
}
/* On mouseover (hover) over a link, make new links blue */
#bodyContent a:hover {
color: #002bb8;
}
/* On mouseover (hover), reveal new links
p = paragraph
ul = unordered list
li = list
td = tables
*/
#bodyContent p:hover a,
#bodyContent ul:hover a,
#bodyContent li:hover a,
#bodyContent td:hover a {
color: #002bb8;
text-decoration: underline;
}
/*</nowiki></pre>*/

