MediaWiki:Common.css: Difference between revisions

From PavHaki Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/*Global variables
*
*NOTES:
*- Use two spaces for indentation
*/


:root {
:root {
   --b: #A2A9B1; /*Border color used to match the default wiki skin*/
   --b: #A2A9B1; /*Border color used to match the default wiki skin*/
}
}
/*Formatting for infoboxes*/


div.infobox {
div.infobox {
   float:right;
   float:right;
   width:300px;
   width:302px;
   display:flex;
   display:flex;
   flex-direction:column;
   flex-direction:column;
   align-items:center;
   align-items:center;
   border:1px solid var(--b);
   border:1px solid var(--b);
}
div.image {
  width: 300px;
}
}

Revision as of 18:41, 16 September 2017

/*Global variables
 *
 *NOTES:
 *- Use two spaces for indentation
 */

:root {
  --b: #A2A9B1; /*Border color used to match the default wiki skin*/
}





/*Formatting for infoboxes*/

div.infobox {
  float:right;
  width:302px;
  display:flex;
  flex-direction:column;
  align-items:center;
  border:1px solid var(--b);
}

div.image {
  width: 300px;
}