MediaWiki:Common.css: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
div.lofe-m50 {min-width:50em;}
div.lofe-m50 {min-width:50em;}


/* Support side-by-side images and text. */
div.lofe-left {
  width:49%;
  float:left;
}
div.lofe-right {
  width:49%;
  float:right;
}


/* This code will be applied to all pages in the LOFE */
/* This code will be applied to all pages in the LOFE */

Revision as of 03:49, 18 August 2025

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


/* Basic markup for LOFE images and text */

.lofe-image, .lofe-image img {
  width:100%;
  max-width:50em;
}

.lofe-image img {height:auto;}

div.lofe-text {
  width:100%;
  max-width:50em;
}

/* Additional classes set the minimum (and maximum?) */
/* widths of the monospace text to avoid unwanted wrapping */

div.lofe-m30 {min-width:30em;}
div.lofe-m35 {min-width:35em;}
div.lofe-m40 {min-width:40em;}
div.lofe-m45 {min-width:45em;}
div.lofe-m50 {min-width:50em;}

/* Support side-by-side images and text. */

div.lofe-left {
  width:49%;
  float:left;
}

div.lofe-right {
  width:49%;
  float:right;
}

/* This code will be applied to all pages in the LOFE */
/* When migrating to live wiki, need to replace 3000 with actual ID. */

.ns-3000 #content, .ns-3001 #content { }

.ns-3000 #content .navbar, .ns-3001 #content .navbar {
  background-color:white;
}

/* Testing the possibility of removing the sidebar */

/*.ns-3000 #mw-panel {visibility: hidden;}
.ns-3000 #content {margin-left:0;}*/