MediaWiki:Common.css: Difference between revisions

Add money making guide specific rules
(Dark mode: Support CodeMirror extension)
(Add money making guide specific rules)
(One intermediate revision by the same user not shown)
Line 87: Line 87:
}
}


.infobox, .noticebox {
.infobox,
.noticebox {
float:right;
float:right;
clear:right;
clear:right;
Line 109: Line 110:
border-width:1px;
border-width:1px;
border-left:8px solid #0088dd !important;
border-left:8px solid #0088dd !important;
}
.mmgdisclaimer {
clear:both;
width:65%;
margin:0.5em auto;
overflow:auto;
background-color:#fef6e7;
border-left:15px solid #ffcc33;
border-top:none;
border-right:none;
border-bottom:none;
}
}


@media screen and (max-width:850px) {
@media screen and (max-width:850px) {
.infobox, .noticebox, .messagebox {
.infobox,
.noticebox,
.messagebox,
.mmgdisclaimer {
max-width:100%;
max-width:100%;
min-width:250px;
min-width:250px;
Line 132: Line 148:
}
}


/* Common text & table cell styles */
.col-1-left td:nth-child(1) { text-align: left; }
.col-1-left td:nth-child(1) { text-align: left; }
.col-2-left td:nth-child(2) { text-align: left; }
.col-2-left td:nth-child(2) { text-align: left; }
Line 162: Line 179:
.col-9-right td:nth-child(9) { text-align: right; }
.col-9-right td:nth-child(9) { text-align: right; }


/* Common text & table cell styles */
.table-positive {
.table-positive {
background-color: #90ee90;
background-color: #90ee90;
Line 186: Line 202:
.text-negative {
.text-negative {
color: red;
color: red;
}
.mmg-no-list li {
    list-style: none;
    margin-bottom: 0.1em;
}
.mmg-no-list ul, .mmg-no-list ol, .mmg-no-list li {
    margin-left: 0
}
}


Line 531: Line 554:
background-color:#1e2842;
background-color:#1e2842;
border-color:#091957;
border-color:#091957;
}
/* Money Making guide disclaimer */
.mmgdisclaimer {
background-color: #392e19;
  border-left: 15px solid #a37a00;
}
}
Line 1,049: Line 1,078:
.CodeMirror-gutter.CodeMirror-linenumbers {
.CodeMirror-gutter.CodeMirror-linenumbers {
background-color: #3c4653;
background-color: #3c4653;
border-color: #ff0000;
}
/* Selected text */
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
background-color: #3e445a;
}
}
/* Leading space */
/* Leading space */