MediaWiki talk:Common.css: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (CSS addition for the {{real world}} template...)
 
No edit summary
Tag: sourceedit
 
(4 intermediate revisions by 2 users not shown)
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:
<div id=license>If you'd like to leave behind comments on how we can improve our CSS coding, please feel free to do so, below.  Note, however, that a lot of our notations have been removed from the code for reasons of efficiency.  You might want to take a look at [[Tardis:CSS notes]] to get an idea of our overall standards and goals.</div>


<pre>
== Notes from the Article Prototype experience ==
/***********************************************************
Leaving behind changes made in early 2015 for Article Prototype, because these changes are also to the good of mobile design. There's still a need to make sure that infobox exterior includes the word "infobox" but infobox interior classes do not{{user:CzechOut/Sig}}{{User:CzechOut/TimeFormat}} 23:19: Tue 24 Feb 2015</span>
** 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)

Latest revision as of 23:19, 24 February 2015

Archive.png
Archives: #1, #2
If you'd like to leave behind comments on how we can improve our CSS coding, please feel free to do so, below. Note, however, that a lot of our notations have been removed from the code for reasons of efficiency. You might want to take a look at Tardis:CSS notes to get an idea of our overall standards and goals.

Notes from the Article Prototype experience[[edit source]]

Leaving behind changes made in early 2015 for Article Prototype, because these changes are also to the good of mobile design. There's still a need to make sure that infobox exterior includes the word "infobox" but infobox interior classes do not.
czechout<staff />    23:19: Tue 24 Feb 2015