MediaWiki:Mobile.css: Difference between revisions

From Everyday Enlightenment
imported>Jacob Robertson
No edit summary
imported>Jacob Robertson
No edit summary
Line 82: Line 82:
   width: 100%;
   width: 100%;
   display: table;
   display: table;
  height: 100%;
}
div.em-bubble-container-row1 {
  width: 100%;
  display: table-row;
  height: 95%;
}
}
div.em-bubble {
div.em-bubble {
Line 94: Line 100:
   text-align: center;
   text-align: center;
   background-image: linear-gradient(to right, #fcbba1, #ffdb8b);
   background-image: linear-gradient(to right, #fcbba1, #ffdb8b);
}
div.em-bubble-container-row2{
  width: 100%;
  display: table-row;
  height: 5%;
}
div.em-pathways {
  position: relative;
  padding: 0em;
  margin: 0em;
  bottom: -.25em;
}
div.em-bubble-outer {
  position: relative;
  top: .85em;
}
:where(
td.em-hide-ee-yes, td.em-hide-milestones-yes, td.em-hide-msarea-yes,
td.em-hide-deluded-yes, td.em-hide-learning-yes, td.em-hide-training-yes, td.em-hide-masterful-yes, td.em-hide-enlightened-yes,
td.em-hide-beacons-yes, td.em-hide-attention-yes, td.em-hide-adaptation-yes, td.em-hide-association-yes,
div.em-hide-pathways-yes, div.em-hide-skills-yes, div.em-hide-trails-yes, div.em-hide-guides-yes
):where(:not(:hover))
{
  grayscale: 35%;
  opacity: 55%;
}
}


Line 290: Line 322:
   margin-block-end: 0em;
   margin-block-end: 0em;
   color: #000080;
   color: #000080;
}
/**************************************** WIKIPEDIA CSS *******************************************/
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}

Revision as of 02:53, 4 July 2023

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

/********************************************************************************************/
/* NOTE - ADD THIS ALL TO [[MediaWiki:Mobile.css]] AS WELL OR IT WILL NOT SHOW UP ON MOBILE.*/
/********************************************************************************************/

.em-table td, .em-table a:link, .em-table a:visited, .em-table a:active {
  color: #590000;
}
.em-table a:hover {
  color: #666600;
  text-decoration: none;
}
td.em-ee {
  background-color: #ffeb80;
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
  border-bottom-left-radius: .5em;
  border-bottom-right-radius: .5em;
}
td.em-header {
  border: 1px solid #fa8484;
  padding: 0.2em 1em 0.2em 1em;
  font-weight: bold;
  height: 1em;
  text-align: center;
}
td.em-milestones {
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
  background-color: #fdcb96;
}
td.em-beacons {
  background-color: #fecb96;
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
}
td.em-bc {
  background-color: #fedb8b;
}
td.em-attention {
}
td.em-adaptation {
}
span.em-bphrase {
  font-style: italic;
  font-weight: normal;
}
td.em-association {
  border-bottom-left-radius: .5em;
  border-bottom-right-radius: .5em;
}

td.em-msc {
  background-image: linear-gradient(to right, #fa8484, #ffeb80);
  border: 1px solid #fa8484;
  border-bottom-left-radius: .5em;
  border-bottom-right-radius: .5em;
  text-align: center;
}

td.em-msh {
}
td.em-msh1 {
  background-color: #fa8484;
}
td.em-msh2 {
  background-color: #fbacac;
}
td.em-msh3 {
  background-color: #fcbba1;
}
td.em-msh4 {
  background-color: #fecb96;
}
td.em-msh5 {
  background-color: #ffdb8b;
}


div.em-bubble-container {
  width: 100%;
  display: table;
  height: 100%;
}
div.em-bubble-container-row1 {
  width: 100%;
  display: table-row;
  height: 95%;
}
div.em-bubble {
  display: table-cell;
  border: solid white 2px;
  border-radius: 50%; 
  height: 5em; 
  width: 4.5em; 
  vertical-align: middle; 
  padding: .5em;
  font-weight: bold;
  text-align: center;
  background-image: linear-gradient(to right, #fcbba1, #ffdb8b);
}
div.em-bubble-container-row2{
  width: 100%;
  display: table-row;
  height: 5%;
}
div.em-pathways {
  position: relative; 
  padding: 0em; 
  margin: 0em; 
  bottom: -.25em;
}
div.em-bubble-outer {
  position: relative; 
  top: .85em;
}

:where(
td.em-hide-ee-yes, td.em-hide-milestones-yes, td.em-hide-msarea-yes, 
td.em-hide-deluded-yes, td.em-hide-learning-yes, td.em-hide-training-yes, td.em-hide-masterful-yes, td.em-hide-enlightened-yes, 
td.em-hide-beacons-yes, td.em-hide-attention-yes, td.em-hide-adaptation-yes, td.em-hide-association-yes, 
div.em-hide-pathways-yes, div.em-hide-skills-yes, div.em-hide-trails-yes, div.em-hide-guides-yes
):where(:not(:hover))
{
  grayscale: 35%;
  opacity: 55%;
}

/**************** OLD STUFF MAYBE DELETE ********************/
.ee-chart-table td {
  height: .125em;
  padding-top: 0em;
  padding-bottom: 0em;
  padding-left: 0em;
  padding-right: 0em;
  color: #000080;
}

td.ee-chart-zone {
  border: 1px solid white;
  padding-left: .75em;
  padding-right: .75em;
  font-size: 1em;
  font-style: italic;
  height: 15%;
}
td.ee-chart-header {
  border: 1px solid white;
  padding: .5em .75em .5em .75em;
  font-weight: bold;
  height: 1em; 
}
td.ee-chart-stages-header {
  border: 1px solid white;
  padding: 0.2em 1em 0.2em 1em;
  font-weight: bold;
  height: 1em;
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
}
td.ee-chart-themes {
  border: 1px solid white;
  padding: 0em .5em 0em .5em;
  font-size: 1em;
  font-weight: bold;
  height: 1em; 
}
td.ee-chart-quality-row-header {
  border: 1px solid white;
  font-size: 1em;
  font-weight: bold;
  height: 1.5em;
}
td.ee-chart-corner-tl {
  border-top-left-radius: .5em;
}
td.ee-chart-corner-tr {
  border-top-right-radius: .5em;
}
td.ee-chart-corner-bl {
  border-bottom-left-radius: .5em;
}
td.ee-chart-corner-br {
  border-bottom-right-radius: .5em;
}
td.ee-chart-left-spacer {
  font-size: .1em;
  padding-top: 0em;
  padding-bottom: 0em;
  padding-left: 0em;
  padding-right: 0em;
  height: .1em; 
}
td.ee-chart-themes-spacer {
  font-size: .1em;
  padding-top: 0em;
  padding-bottom: 0em;
  padding-left: 0em;
  padding-right: 2em;
  height: .1em; 
}
td.ee-chart-ee, td.ee-chart-ee:visited {
  font-size: 1.05em;
  border: 1px solid white;
  font-weight: bold;
  border-radius: .5em;
}
:where(
td.ee-chart-hide-zones-yes, td.ee-chart-hide-stages-yes, 
td.ee-chart-hide-qualities-yes, td.ee-chart-hide-focus-yes, td.ee-chart-hide-relation-yes, td.ee-chart-hide-pursuit-yes, td.ee-chart-hide-adaptation-yes,
td.ee-chart-hide-deluded-yes, td.ee-chart-hide-learning-yes, td.ee-chart-hide-training-yes, td.ee-chart-hide-masterful-yes, td.ee-chart-hide-enlightened-yes,
td.ee-chart-hide-themes-yes
):where(:not(:hover))
{
  grayscale: 35%;
  opacity: 55%;
}

td.ee-chart-color-title {
  background-color: #ffeb80;
}
td.ee-chart-color-themes {
  background-color: #fcbba1;
}
td.ee-chart-color-themes-col {
  background-color: #fdcb96;
}
td.ee-chart-color-qualities {
  background-color: #fecb96;
}
td.ee-chart-color-qualities-col {
  background-color: #fedb8b;
}
td.ee-chart-color-stages {
  background-color: #fdcb96;
}
td.ee-chart-color-deluded {
  background-color: #fa8484;
}
td.ee-chart-color-deluded-col {
  background-color: #fbacac;
}
td.ee-chart-color-learning {
  background-color: #fbacac;
}
td.ee-chart-color-learning-col {
  background-color: #fcbba1;
}
td.ee-chart-color-training {
  background-color: #fcbba1;
}
td.ee-chart-color-training-col {
  background-color: #fdcb96;
}
td.ee-chart-color-masterful {
  background-color: #fecb96;
}
td.ee-chart-color-masterful-col {
  background-color: #fedb8b;
}
td.ee-chart-color-enlightened {
  background-color: #ffdb8b;
}
td.ee-chart-color-enlightened-col {
  background-color: #ffeb80;
}

.ee-exercise-chart-table {
  vertical-align: middle; 
  text-align: center; 
  table-layout: fixed;
}
.ee-exercise-chart-table td {
  border: 1px solid white;
  font-size: 1em;
  color: #000080;
}
td.ee-exercise-chart-name {
  background-color: #fcbba1;
}
td.ee-exercise-chart-stage {
  background-color: #fecb96;
}
td.ee-exercise-chart-theme {
  background-color: #fdcb96;
}
td.ee-exercise-chart-quality {
  background-color: #fedb8b;
}

hr.ee-chart-hr {
  border: 0px solid transparent;
  border-top: 1px solid white;
  background-color: transparent;
}

.ee-chart-highlighted-term-yes a {
  font-size: 125%;
  color: #501c91;  
}
td.ee-chart-exercise-type {
  padding: .15em .35em .15em .35em;
  font-size: 1em;
  font-style: italic;
  font-weight: normal;
}
td.ee-chart-exercise-header {
  padding: .15em .35em .15em .35em;
  font-weight: bold;
}
td.ee-chart-exercise-name h2, td.ee-chart-exercise-name h2 a {
  font-size: 1.1em;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
  padding-bottom: 0em;
  padding-top: 0em;
  margin-bottom: 0em;
  border-bottom: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
  color: #000080;
}


/**************************************** WIKIPEDIA CSS *******************************************/

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}