MediaWiki talk:Common.css: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (CSS addition for the {{real world}} template...)
 
m (ArchiveTool: Archiving to MediaWiki_talk:Common.css/Archive 1.)
Line 1: Line 1:
==CSS Updates?==
{{ArchCat}}
A couple of CSS updates that might be worth adding.
 
For the {{tl|real world}} template, you might want something like this to have it appear in the upper right corner of the article:
 
<pre>
/***********************************************************
** DIV: ARTICLETYPE
*/
div.articletype {
font-size: smaller;
padding-top: 0em;
padding-bottom: 0em;
float: right;
position: absolute;
right: 1em;
top: 0em;
white-space: nowrap;
text-align: center;
border:1px solid #AAAAAA;
background-color: #222222;
line-height: 130%;
margin: 1em auto 0.5em auto;
clear:both;
}
 
div.articletype table {
background-color: transparent;
float: left;
padding: 1px;
}
</pre>
 
Also, it's worth putting a <nowiki><pre></nowiki> tag at the top (in a commented out section!) and its closing tag at the bottom of the CSS file.  That allows it to look a bit cleaner when viewing the "page" itself, rather than having everything line wrapping.  -- [[User:Sulfur|Sulfur]] 22:13, 10 March 2007 (UTC)

Revision as of 20:54, 18 April 2012

Archive.png
Archives: #1, #2