Difference between revisions of "MediaWiki:Common.css"

From DISCO3.CO.UK Knowledge Base
Jump to: navigation, search
Line 1: Line 1:
 
/** CSS placed here will be applied to all skins */
 
/** CSS placed here will be applied to all skins */
 +
 +
/* APPLE */
 +
 +
 +
.hide-for-desktop
 +
{
 +
  display:none;
 +
}
 +
 +
/* mobile browser fixes */
 +
@media only screen and (max-device-width: 480px) {
 +
 +
  .hide-apple
 +
  {
 +
    display:none;
 +
  }
 +
 +
  .hide-for-desktop
 +
  {
 +
    display:inline;
 +
  }
 +
 +
}
 +
 +
/* /APPLE */
 +
  
 
#bodyContent ul,#bodyContent ol
 
#bodyContent ul,#bodyContent ol

Revision as of 14:47, 11 November 2011

/** CSS placed here will be applied to all skins */

/* APPLE */


.hide-for-desktop
{
  display:none;
}

/* mobile browser fixes */
@media only screen and (max-device-width: 480px) {

  .hide-apple
  {
    display:none;
  }

  .hide-for-desktop
  {
    display:inline;
  }

}

/* /APPLE */


#bodyContent ul,#bodyContent ol
{
margin:1em 0 !important;
}

#bodyContent
{
font-size:85%;
line-height:1.6em;
}

.helpblock
{
margin:1em 0;
background-color:pink;
padding:1em;
padding-left:3em;
background-repeat:no-repeat;
background-position:1em center;
display:block;
font-style:italic;
}

.helpblock p
{
  margin:0;
}

.infoblock
{
 background-color:lightblue;
 background-image:url('http://www.disco3.co.uk/forum/templates/vbnew/images/icons/information.png');
}

.warnblock
{
 background-color:LemonChiffon;
 background-image:url('http://disco3.co.uk/forum/templates/vbnew/images/icons/error.png');
}

.stopblock
{
  background-color:pink;
  background-image:url('http://disco3.co.uk/forum/templates/vbnew/images/icons/stop.png');
}

#toc h2
{
  margin-top:0.5em !important;
}