MediaWiki:Mobile.css

From Everyday Enlightenment
Revision as of 19:26, 4 July 2023 by imported>Jacob Robertson

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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-shrinker {
  display: inline-block;
}
.em-caption {
  font-style: italic; 
  font-weight: normal;
  text-align: center;
  color: #590000;
}
.em-container {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 2px;
  text-align: center;
}

.em-pathways-container {
  display: grid;
  grid-template-rows: auto auto auto 10%;
  grid-template-cols: 10% 80% 10%; 
  gap: 2px;
  grid-area: 4 / 2 / 10 / 4;
  padding: .5em;
}

.em-ee {
  grid-area: 1 / 1 / 2 / 4;
}
.em-ms {
  grid-area: 4 / 1 / 5 / 2;
}
.em-beacons {
  grid-area: 2 / 1 / 3 / 4;
}
.em-bc-attention {
  grid-area: 3 / 1;
}
.em-bc-adaptation {
  grid-area: 3 / 2;
}
.em-bc-association {
  grid-area: 3 / 3;
}
.em-bphrase {
  padding-top: .1em;
}
.em-mc-deluded {
  grid-area: 5 / 1;
}
.em-mc-learning {
  grid-area: 6 / 1;
}
.em-mc-training {
  grid-area: 7 / 1;
}
.em-mc-masterful {
  grid-area: 8 / 1;
}
.em-mc-enlightened {
  grid-area: 9 / 1;
}
.em-top-spacer {
  grid-area: 1 / 1 / 5 / 2;
}
.em-bottom-spacer {
  grid-area: 1 / 3 / 5 / 4;
}
.em-trails {
  grid-area: 1 / 2;
}
.em-guides {
  grid-area: 2 / 2;
}
.em-skills {
  grid-area: 3 / 2;
}
.em-pathways {
  grid-area: 4 / 1 / 5 / 4
  font-style: italic;
  padding-bottom: .8em;
}









/************* good stuff *****/
.PageType {
  font-style: italic;
  font-weight: normal;
  color: #590000;
}
.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;
}
.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;
}
.em-header {
  border: 1px solid #fa8484;
  padding: 0.2em 1em 0.2em 1em;
  font-weight: bold;
  zzheight: 1em;
  text-align: center;
}
.em-milestones {
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
  background-color: #fdcb96;
}
.em-beacons {
  background-color: #fecb96;
  border-top-left-radius: .5em;
  border-top-right-radius: .5em;
}
.em-bc {
  background-color: #fedb8b;
}
.em-attention {
  border-bottom-left-radius: .5em;
}
.em-adaptation {
}
.em-bphrase {
  font-style: italic;
  font-weight: normal;
}
.em-association {
  border-bottom-right-radius: .5em;
}

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

.em-msh {
}
.em-msh1 {
  background-color: #fa8484;
}
.em-msh2 {
  background-color: #fbacac;
}
.em-msh3 {
  background-color: #fcbba1;
}
.em-msh4 {
  background-color: #fecb96;
}
.em-msh5 {
  background-color: #ffdb8b;
  border-bottom-left-radius: .5em;
  border-bottom-right-radius: .5em;
}


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: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;

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

:where(
div.em-hide-ee-yes, div.em-hide-milestones-yes, div.em-hide-msarea-yes, 
div.em-hide-deluded-yes, div.em-hide-learning-yes, div.em-hide-training-yes, div.em-hide-masterful-yes, div.em-hide-enlightened-yes, 
div.em-hide-beacons-yes, div.em-hide-attention-yes, div.em-hide-adaptation-yes, div.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;
}