MediaWiki:Common.css: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
span.chem-dh { font-size:90%; margin-left: 1em; }
span.chem-dh { font-size:90%; margin-left: 1em; }
span.chem-z { font-size: 0; line-height: 0; }
span.chem-z { font-size: 0; line-height: 0; }
span.nowacl-g { font-weight: bold; font-family:fixed; color:#b1e13e;}
span.nowacl-b { font-weight: bold; font-family:fixed; color:#000;}


div.chem-arrow-block {
div.chem-arrow-block {

Revision as of 00:36, 22 September 2019

span.chem { white-space: nowrap; font-family: helvetica, arial, sans-serif; margin:0; border:0; padding:0;}
span.chem sub    { vertical-align: baseline; position: relative; top: 0.8ex; font-size: 70%; }
span.chem sub.l2 { vertical-align: baseline; position: relative; top: 1.3ex; font-size: 64%; }
span.chem-ph { font-size: 100%; font-family: times, serif; font-style: italic; }
span.chem-dh { font-size:90%; margin-left: 1em; }
span.chem-z { font-size: 0; line-height: 0; }
span.nowacl-g { font-weight: bold; font-family:fixed; color:#b1e13e;}
span.nowacl-b { font-weight: bold; font-family:fixed; color:#000;}

div.chem-arrow-block {
        vertical-align: middle;
        position: relative;
        display: inline-block;
        min-width: 2em;

        white-space: nowrap;
        text-align: center;
        font-size: 65%;

        padding-left: 1.0em;
        padding-right: 1.0em;
}
div.chem-shaft {
        background-color: black;
        width: calc( 100% + 1em);
        margin-left: -.50em; /* Shift left into padding above */
        margin-top: 1px;
        height: 0.35ex;
}
div.chem-head {
        width: 1em;
        height: 0.80ex;
        margin-top: -0.25ex;
        margin-right: -0.5em;
        float:right;
        background-repeat:no-repeat;
        background-size: contain;
        background-image:url('data:image/gif;base64,R0lGODdhDAAIAIABAAAAAP///ywAAAAADAAIAAACEISDmcag2OKKtFo62wtspwIAOw==');
}

table.elements td { width: 5%; text-align: center; color:#404040;}
table.elements td sup { font-size: 8pt; }
table.elements td.AM { background: skyblue; }
table.elements td.AEM { background: lightblue; }
table.elements td.NG { background: aquamarine; }
table.elements td.M { background: orange; }
table.elements td.H { background: lightgreen; }
table.elements td.NM { background: yellow; }
table.elements td.SM { background: gold; }
table.elements td.RE { background: pink; }
table.elements td.PGM { background: lightcoral; }
table.elements td.RGM { background: indianred; }
table.elements tr.lanth td.w { background: white; text-align: right; }
table.elements tr.actin td.w { background: white; text-align: right; }
table.elements tr.lanth td { background: pink; }
table.elements tr.actin td { background: lightgrey; }
table.elements tr.s td { margin-top: 1em; font-size: 10pt; }

table.dtab {
	clear: right;
	width: 20%;
	float: right;
	margin: 0;
	margin-left: 1em;
	background: black;
	border-spacing: 1px;
	font-family: arial, helvetica, sans-serif;
	font-size: 90%;
}
table.dtab th {
	margin: 1px;
	padding: 0.1em;
	text-align: center;
	font-weight: normal;
	background-color: #f0f0f0;
}
table.dtab td {
	margin: 1px;
	padding: 0.1em;
	text-align: left;
	background-color: #fafafa;
	font-weight: bold;
}
table.dtab caption {
	font-weight: bold;
	font-size: 110%;
	background-color: #f0f0f0;
	border: 1px solid black;
	border-bottom: 0px;
}