MediaWiki:Mobile.css: Difference between revisions
imported>Jacob Robertson No edit summary |
imported>Jacob Robertson No edit summary |
||
Line 103: | Line 103: | ||
border-bottom-left-radius: .5em; | border-bottom-left-radius: .5em; | ||
border-bottom-right-radius: .5em; | border-bottom-right-radius: .5em; | ||
} | |||
.em-pathways a { | |||
vertical-align: middle; | |||
} | } | ||
.PageType { | .PageType { | ||
font-style: italic; | font-style: italic; | ||
Line 336: | Line 330: | ||
display: grid; | display: grid; | ||
grid-template-columns: auto auto auto; | grid-template-columns: auto auto auto; | ||
grid-template-rows: | grid-template-rows: 20% 60% 20%; | ||
gap: 2px; | gap: 2px; | ||
grid-area: 3 / 2 / 6 / 7; | grid-area: 3 / 2 / 6 / 7; | ||
Line 358: | Line 352: | ||
} | } | ||
.em-bc-association { | .em-bc-association { | ||
grid-area: 5 / 1; | grid-area: 5 / 1 / 7 / 2; | ||
} | } | ||
.em-mc-deluded { | .em-mc-deluded { | ||
Line 391: | Line 385: | ||
} | } | ||
.em-pathways { | .em-pathways { | ||
grid-area: | grid-area: 6 / 2 / 7 / 7; | ||
font-style: italic; | font-style: italic; | ||
font-weight: bold; | font-weight: bold; | ||
border: 1px solid var(--map-outlines); | |||
background-color: var(--milestone-dark); | |||
border-bottom-left-radius: .5em; | |||
border-bottom-right-radius: .5em; | |||
} | |||
.em-pathways a { | |||
vertical-align: middle; | |||
} | } | ||
Revision as of 03:00, 10 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.*/ /********************************************************************************************/ :root { --map-outlines: #48514Bff; --map-hover: #white; --beacons-dark: #75867Aff; --beacons-middle: #8EA485ff; --beacons-light: #C9DBBBff; --milestone-darkest: #E0642Eff; --milestone-dark: #F99F53ff; --milestone-middle: #FED68Eff; --milestone-light: #FFF1ACff; --milestone-lightest: #FDDB63ff; } @media screen and (orientation:portrait) { .em-shrinker { display: inline-block; } .em-caption { font-style: italic; font-weight: normal; text-align: center; color: var(--beacons-dark); } .em-container { display: grid; gap: 2px; text-align: center; } .em-pathways-container { display: grid; grid-template-rows: auto auto auto 10%; grid-template-columns: 20% 60% 20%; gap: 2px; grid-area: 4 / 2 / 9 / 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-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: 9 / 2 / 10 / 4; font-style: italic; font-weight: bold; border: 1px solid var(--map-outlines); background-color: var(--milestone-dark); border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; } .em-pathways a { vertical-align: middle; } .PageType { font-style: italic; font-weight: normal; color: var(--beacons-dark); } .em-table td, .em-table a:link, .em-table a:visited { color: var(--map-outlines); } .em-table a:hover, .em-table a:active { color: var(--map-hover); 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 var(--map-outlines); 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: var(--beacons-middle); border-top-left-radius: .5em; border-top-right-radius: .5em; } .em-bc { background-color: var(--beacons-light); padding: .1px; } .em-bc br { display: block; height: .2em; } .em-attention { border-bottom-left-radius: .5em; } .em-adaptation { } .em-association { border-bottom-right-radius: .5em; } .em-bphrase { zzwhite-space: nowrap; padding-top: 0em; font-style: italic; font-weight: normal; font-size: .9em; padding-left: .5em; padding-right: .5em; } .em-msc { background-image: linear-gradient(to right, var(--milestone-darkest), var(--milestone-lightest)); border: 1px solid var(--map-outlines); 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: var(--milestone-darkest); } .em-msh2 { background-color: var(--milestone-dark); } .em-msh3 { background-color: var(--milestone-middle); } .em-msh4 { background-color: var(--milestone-light); } .em-msh5 { background-color: var(--milestone-lightest); 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, var(--milestone-dark), var(--milestone-light)); } .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%; } .em-info-header { border-top-left-radius: .5em; border-top-right-radius: .5em; background-color: var(--milestone-middle); } .em-info-body td, .em-info-body th { border: 1px solid var(--milestone-darkest); padding: .25em .25em .25em .5em; } .em-info-body a { color: var(--map-outlines); } .em-info-label { background-color: var(--milestone-light); font-style: italic; } .em-info-data { background-color: var(--milestone-lightest); font-style: normal; } .em-info-below { border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; background-color: var(--milestone-middle); .em-info-header { border-top-left-radius: .5em; border-top-right-radius: .5em; background-color: var(--milestone-middle); } .em-info-body td, .em-info-body th { border: 1px solid var(--milestone-darkest); padding: .25em .25em .25em .5em; } .em-info-body a { color: var(--map-outlines); } .em-info-label { background-color: var(--milestone-light); font-style: italic; } .em-info-data { background-color: var(--milestone-lightest); font-style: normal; } .em-info-below { border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; background-color: var(--milestone-middle); } } @media all and (orientation:landscape) { .em-shrinker { display: inline-block; } .em-caption { font-style: italic; font-weight: normal; text-align: center; color: var(--beacons-dark); } .em-container { display: grid; grid-template-columns: auto auto auto auto auto auto; gap: 2px; text-align: center; } .em-pathways-container { display: grid; grid-template-columns: auto auto auto; grid-template-rows: 20% 60% 20%; gap: 2px; grid-area: 3 / 2 / 6 / 7; padding: .5em; } .em-ee { grid-area: 1 / 1; } .em-ms { grid-area: 1 / 2 / 2 / 7; } .em-beacons { grid-area: 2 / 1; } .em-bc-attention { grid-area: 3 / 1; } .em-bc-adaptation { grid-area: 4 / 1; } .em-bc-association { grid-area: 5 / 1 / 7 / 2; } .em-mc-deluded { grid-area: 2 / 2; } .em-mc-learning { grid-area: 2 / 3; } .em-mc-training { grid-area: 2 / 4; } .em-mc-masterful { grid-area: 2 / 5; } .em-mc-enlightened { grid-area: 2 / 6; } .em-top-spacer { grid-area: 1 / 1 / 2 / 4; } .em-bottom-spacer { grid-area: 3 / 1 / 4 / 4; } .em-trails { grid-area: 2 / 1; } .em-guides { grid-area: 2 / 2; } .em-skills { grid-area: 2 / 3; } .em-pathways { grid-area: 6 / 2 / 7 / 7; font-style: italic; font-weight: bold; border: 1px solid var(--map-outlines); background-color: var(--milestone-dark); border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; } .em-pathways a { vertical-align: middle; } /************* good stuff *****/ .PageType { font-style: italic; font-weight: normal; color: var(--beacons-dark); } .em-table td, .em-table a:link, .em-table a:visited { color: var(--map-outlines); } .em-table a:hover, .em-table a:active { color: var(--map-hover); text-decoration: none; } .em-ee { background-color: var(--milestone-lightest); 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 var(--map-outlines); 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: var(--milestone-middle); } .em-beacons { background-color: var(--beacons-middle); border-top-left-radius: .5em; border-top-right-radius: .5em; } .em-bc { background-color: var(--beacons-light); padding: .1px; } .em-bc br { display: block; height: 0em; } .em-bc a { padding: 0em; } .em-attention { padding: .2em; } .em-adaptation { padding: .2em; } .em-association { border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; padding: .2em; } .em-bc > span.em-bphrase { font-style: italic; font-weight: normal; padding: .1em .1em .2em .1em; } .em-msc { background-image: linear-gradient(to right, var(--milestone-darkest), var(--milestone-lightest)); border: 1px solid var(--milestone-darkest); 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: var(--milestone-darkest); border-bottom-left-radius: .5em; } .em-msh2 { background-color: var(--milestone-dark); } .em-msh3 { background-color: var(--milestone-middle); } .em-msh4 { background-color: var(--milestone-light); } .em-msh5 { background-color: var(--milestone-lightest); 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, var(--milestone-dark), var(--milestone-light)); } .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%; } .em-info-header { border-top-left-radius: .5em; border-top-right-radius: .5em; background-color: var(--milestone-middle); } .em-info-body td, .em-info-body th { border: 1px solid var(--milestone-darkest); padding: .25em .25em .25em .5em; } .em-info-body a { color: var(--map-outlines); } .em-info-label { background-color: var(--milestone-light); font-style: italic; } .em-info-data { background-color: var(--milestone-lightest); font-style: normal; } .em-info-below { border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; background-color: var(--milestone-middle); } } /**************************************** 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; }