MediaWiki:Monobook.css: Difference between revisions
From WikiROMS
Jump to navigationJump to search
No edit summary (change visibility) |
m not switching to mathML so the indentation is no longer needed (change visibility) Tag: Undo |
||
(14 intermediate revisions by the same user not shown) | |||
Line 126: | Line 126: | ||
.mwe-math-fallback-image-display{ | .mwe-math-fallback-image-display{ | ||
padding-left: | padding-left: 10em; | ||
text-align: left; | text-align: left; | ||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | } | ||
/* Support where MediaWiki lazy loaded images */ | |||
/*.mwe-math-mathml-inline ~ .lazy-image-placeholder, | |||
.mwe-math-mathml-display ~ .lazy-image-placeholder,*/ | |||
} | /* Support where MediaWiki doesn't lazy load images */ | ||
/*.mwe-math-mathml-inline + .mwe-math-fallback-image-inline, | |||
.mwe-math-mathml-display + .mwe-math-fallback-image-display { | |||
display: none !important; | |||
}*/ | |||
/* equation numbers */ | /* equation numbers */ | ||
Line 196: | Line 198: | ||
border-bottom: none; | border-bottom: none; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
/*height: 100%;*/ | |||
z-index: 2; | z-index: 2; | ||
} | |||
div#sidebar { | |||
position: absolute; | |||
left: 3px; | |||
top: 175px; | |||
} | } | ||
Line 220: | Line 229: | ||
padding: 0; | padding: 0; | ||
overflow: hidden; | overflow: hidden; | ||
position: absolute; | |||
} | } | ||
Line 255: | Line 265: | ||
h2 .editsection { font-size: 67%; font-weight: normal; } | h2 .editsection { font-size: 67%; font-weight: normal; } | ||
/* I don't think we ever used this so I am replacing it with the more | |||
** specific div.code for the light green background 2022-04-29 - Robertson | |||
code { | code { | ||
background-color: transparent; | background-color: transparent; | ||
margin-left: 3em; | margin-left: 3em; | ||
}*/ | |||
div.code { | |||
white-space: pre; | |||
font-family: monospace; | |||
margin: 1em 0 1em 0; | |||
padding: .5em; | |||
border: 1px dashed #2f6fab; | |||
color: black; | |||
background-color: #F0FFF0; | |||
line-height: 11.5pt; | |||
} | } | ||
div.box { | div.box { | ||
Line 266: | Line 288: | ||
border: 1px dashed #2f6fab; | border: 1px dashed #2f6fab; | ||
color: black; | color: black; | ||
background-color: transparent | background-color: transparent; | ||
line-height: 11.5pt; | line-height: 11.5pt; | ||
} | } | ||
Line 273: | Line 295: | ||
border: 1px dashed #2f6fab; | border: 1px dashed #2f6fab; | ||
color: black; | color: black; | ||
background-color: transparent | background-color: transparent; | ||
line-height: 1.1em; | line-height: 1.1em; | ||
} | } | ||
Line 453: | Line 475: | ||
.mw-specialpages-table td { | .mw-specialpages-table td { | ||
padding-top: 1em; | padding-top: 1em; | ||
} | |||
div#p-personal { | |||
padding-top: 8px; | |||
} | |||
div#p-logo { | |||
padding-top: 8px; | |||
} | |||
#column-one{ | |||
padding-top: unset; | |||
} | } |
Latest revision as of 02:47, 23 October 2024
/* CSS placed here will affect users of the Monobook skin */
.AdjointColor {
font-weight: bold;
color: #9900CC;
}
.TangentColor {
font-weight: bold;
color: #FF0000;
}
.aquamarine {
font-weight: bold;
color: #45AB74;
}
.darkTurquoise {
font-weight: bold;
color: #00CED1;
}
.forestGreen {
font-weight: bold;
color: #22AB22;
}
.limeGreen {
font-weight: bold;
color: #32CD32;
}
.darkGoldenrod {
font-weight: bold;
color: #BAA60B;
}
.peru {
font-weight: bold;
color: #CDA53F;
}
.sandyBrown{
font-weight: bold;
color: #F4A460;
}
.salmon {
font-weight: bold;
color: #FAA072;
}
.hotPink {
font-weight: bold;
color: #FF69B4;
}
.mediumOrchid {
font-weight: bold;
color: #BA55D3;
}
.red {
font-weight: bold;
color: #FF5555;
}
.orange {
font-weight: bold;
color: #FF6600;
}
.brown {
font-weight: bold;
color: #663333;
}
.green {
font-weight: bold;
color: #009900;
}
.olive {
font-weight: bold;
color: #929205;
}
.cyan {
font-weight: bold;
color: #02CBC9;
}
.blue {
font-weight: bold;
color: #0000FF;
}
.twilightBlue {
font-weight: bold;
color: #6666CC;
}
.purple {
font-weight: bold;
color: #9900CC;
}
.violet {
font-weight: bold;
color: #FF00FF;
}
.black {
font-weight: bold;
color: black;
}
.alphabet {
font-weight: bold;
font-family: "Courier New",monospace;
border: solid black 1px;
padding: 2px 6px 0 5px;
background-color: #F1E8CA;
}
.source {
background-color: #FFF;
}
div.para {
font-size: 10px;
line-height: 10px;
padding: 0;
margin: 0;
}
/* get the block equations out of the center*/
math[mode="display"], math[display="block"] {
text-align: left;
}
.mwe-math-mathml-display{
padding-left: 7em;
text-align: left;
}
.mwe-math-fallback-image-display{
padding-left: 10em;
text-align: left;
margin-left: 0 !important;
margin-right: 0 !important;
}
/* Support where MediaWiki lazy loaded images */
/*.mwe-math-mathml-inline ~ .lazy-image-placeholder,
.mwe-math-mathml-display ~ .lazy-image-placeholder,*/
/* Support where MediaWiki doesn't lazy load images */
/*.mwe-math-mathml-inline + .mwe-math-fallback-image-inline,
.mwe-math-mathml-display + .mwe-math-fallback-image-display {
display: none !important;
}*/
/* equation numbers */
table.eqno {
width: 100%;
}
table.eqno tr td:first-child + td {
text-align: right;
vertical-align: middle;
}
#bodyContent table {
background-color: transparent;
}
table.matlab td {
min-width: 95px;
padding-right: 15px;
vertical-align: top;
}
img.thumbborder {
border: 1px solid #dddddd;
}
/*#toolbar {float: left;}*/
#wikiPreview {
height: 400px;
overflow: auto !important;
padding-bottom: 10px;
margin-bottom: 10px;
}
div#column-content {
width: 100%;
height:100%;
float: none;
margin: 0 0 .6em 12.2em;
padding: 0;
}
#content {
margin: 0;
position: absolute;
top: 2.8em;
left: 12.2em;
right: 0;
bottom: 38px;
padding: 0 1em 1.5em 1em;
background: #f9f9f9 url('https://www.myroms.org/wiki/images/content-bg.jpg') 0 0 no-repeat fixed;
color: black;
overflow: auto;
border: 1px solid #aaa;
border-right: none;
border-bottom: none;
line-height: 1.5em;
/*height: 100%;*/
z-index: 2;
}
div#sidebar {
position: absolute;
left: 3px;
top: 175px;
}
body {
font: x-small sans-serif;
background: #f9f9f9 url('https://www.myroms.org/wiki/images/bg.jpg') 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
height: 100%;
max-height: 100%;
width: 100%;
overflow: hidden;
}
/* scale back up to a sane default */
div#globalWrapper {
font-size: 127%;
width: 100%;
height: 100%;
max-height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
position: absolute;
}
a {
text-decoration: none;
color: #0098CD;
background: none;
}
a:visited {
color: #9932CC;
}
a.new {
color: #45AB74 !important;
}
a.new:visited {
color: #45AB74 !important;
}
#p-personal a.new {
color: #03EB13;
}
#p-personal a.new:visited {
color: #03EB13;
}
h1, h2, h3, h4, h5, h6 {
color: black;
background: none;
font-weight: bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 2px solid #aaa;
}
h1 .editsection { font-size: 53%; font-weight: normal; }
h2 .editsection { font-size: 67%; font-weight: normal; }
/* I don't think we ever used this so I am replacing it with the more
** specific div.code for the light green background 2022-04-29 - Robertson
code {
background-color: transparent;
margin-left: 3em;
}*/
div.code {
white-space: pre;
font-family: monospace;
margin: 1em 0 1em 0;
padding: .5em;
border: 1px dashed #2f6fab;
color: black;
background-color: #F0FFF0;
line-height: 11.5pt;
}
div.box {
white-space: pre;
font-family: monospace;
margin: 1em 0 1em 0;
padding: .5em;
border: 1px dashed #2f6fab;
color: black;
background-color: transparent;
line-height: 11.5pt;
}
pre {
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: transparent;
line-height: 1.1em;
}
.firstHeading {
display: none;
font-weight: bold;
margin-bottom: 0;
}
/*
** content styles
*/
.alphabetlist {
width:15px;
text-align: center;
}
/* thumbnails */
div.thumb {
margin-bottom: .5em;
border-style: solid;
border-color: white;
border-width: 0px;
width: auto;
}
div.tleft {
float: left;
margin-right: .5em;
border-width: 0;
}
.portlet h3 {
background: transparent;
padding: 0 1em 0 .5em;
display: inline;
height: 1em;
text-transform: none;
font-size: 91%;
font-weight: bold;
white-space: nowrap;
border: none;
}
.pBody {
font-size: 95%;
background-color: transparent;
color: black;
border-collapse: collapse;
border: 1px solid #000;
padding: 0 .8em .3em .5em;
}
#p-cactions .pBody {
border: none;
}
.pBody a {
font-weight: bold;
color: #000000;
}
.pBody a:visited {
font-weight: bold;
color: #000;
}
#lastmod {
color: #000000;
font-weight: bold;
}
#viewcount {
color: #000000;
font-weight: bold;
}
#privacy a{
color: #2E0000;
font-weight: bold;
}
#about a{
color: #2E0000;
font-weight: bold;
}
#disclaimer a{
color: #2E0000;
font-weight: bold;
}
.portlet ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: none;
font-size: 95%;
}
/*
** the navigation portlet
*/
#p-navigation {
position: relative;
z-index: 3;
}
#p-navigation .pBody {
padding-right: 0;
}
#p-navigation a {
font-weight: bold;
display: block;
}
#p-navigation li.active a, #p-navigation li.active a:hover {
text-decoration: none;
font-weight: bold;
}
#p-personal li a {
text-decoration: none;
color: #13F3F3;
padding-bottom: .2em;
background: none;
}
#p-personal li a:hover {
background-color: black;
padding-bottom: .2em;
text-decoration: none;
}
/*
** footer
*/
div#footer {
width: 800px;
position: absolute;
bottom: 0;
left: 0;
overflow: auto;
background-color: transparent;
border-top: none;
border-bottom: none;
margin: .6em 0 0 12.2em;
padding: .4em 0 0 0;
text-align: center;
font-size: 90%;
z-index: 10;
}
div.bib { text-indent: -2em; margin-left: 2em; }
BODY.page-Bibliography p { text-indent: -2em; margin-left: 2em; }
.title {
font-size: 155%;
font-weight: bold;
margin-bottom: .5em;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 2px solid #aaa;
}
table.main {
background-color: transparent;
font-size: 13px;
}
#bodyContent {
font-size: 16px;
}
#bodyContent ol li {
padding-bottom: 10px;
}
#bodyContent ol li ul li {
padding-bottom: 0px;
}
/* Fix special pages output */
.mw-specialpages-table td {
padding-top: 1em;
}
div#p-personal {
padding-top: 8px;
}
div#p-logo {
padding-top: 8px;
}
#column-one{
padding-top: unset;
}