Difference between revisions of "MediaWiki:Common.css"

From Funtoo
Jump to: navigation, search
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/* Note boxes from dokuwiki's note plugin */
+
/* ConsoleOutput.php start */.shell, pre, .mw-code, code, tt, div.mw-geshi { font-size: 12px; font-family: 'andale mono','lucida console', monospace;}.shell, pre, .mw-code, div.mw-geshi { padding: 10px; border: none; margin: 0; overflow-x: auto; overflow-y: hidden; border: 1.5px solid #ccc; border-radius: 5px; line-height: 1.2em;}.code { font-family: 'andale mono', 'lucida console', monospace; font-size: 14px; border: none; border-radius: 10px; background-color: #073642; color: #aaaaaa; overflow-x: auto; overflow-y: hidden; line-height: 1.5em;}.code b { color: #ffffff; font-weight: bold;}.code_input { color: #e34692; font-weight: bold;}.code_red { color: #f00;}.code_blue { color: #88f;}.code_green { color: #0f0;}.code_yellow { color: #ff0;}/* ConsoleOutput.php end */
.fancynote, .fancyimportant, .fancywarning, .fancytip {
+
/* Funtoo stuff here *//* Structural Elements */h1,h2,h3,h4,h5,h6 {          color: #406060;        /* *        font-family: Baskerville, Palatino, Palatino Linotype, Georgia, Times New Roman, Times, serif; *                */        font-family: Lucida Grande, Lucida Unicode, sans-serif;        background: none;        font-weight: 600;        /* *        font-weight: bold; *                */        margin: 0;        padding-top: .5em;       padding-bottom: .17em;/*      border-bottom: 1px solid #aaa; */        width: auto;}span.mwheadline h1 { font-size: 188%; }h2 { font-size: 150%; }h3,h4,h5,h6 {          border-bottom: none;       font-weight: bold;}h3 { font-size: 132%; }h4 { font-size: 116%; }
  margin-top: 0.75em;
+
h5 { font-size: 100%; }h6 { font-size: 80%;  }/* Make edit sections (which are inside h# tags) normal-sized */.editsection {        font-weight: normal;}h1 .editsection {        font-size: 50%;}h2 .editsection {        font-size: 66.7%;}h3 .editsection {        font-size: 85.5%;}h5 .editsection {        font-size: 120%;}h6 .editsection {        font-size: 133%;}p {        margin: .4em 0 .5em 0;}p img {        margin: 0;}.donate {        margin-left: 1.0em;       margin-right: 1.0em;        margin-top: 0.5em;        margin-bottom: 0.5em;       background-color: #F8F8FF;       line-height: 15px;        padding: 1.0em 1.0em 1.0em 1.0em;        border: none;        border-top: 2px solid #C6C9E0;       border-bottom: 2px solid #C6C9E0;       overflow-x: auto;        overflow-y: hidden;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;        font-size: 12px;        font-weight: 500;}.boxy {       background-color: #fcfcfc;        color: #000000;        padding: .05em .5em .5em 1.0em;        margin: 1.0em;        border: 1px solid #C2CFDF;       border-left: 10px solid #C2CFDF;       font-size: 12px;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;        /*font-family: Tahoma, Arial, Helvetica, sans-serif;*/}.boxy2 {       background-color: #ffe;        color: #000000;        padding: .05em .5em .5em 1.0em;        margin: 1.0em;        border: 1px solid #C2CFDF;       border-left: 10px solid #C2CFDF;        font-size: 11px;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;}.boxy a {        font-weight: 400;        color: #a33;}.boxy2 a, .toc a {        font-weight: 400;        color: #a33;/*      991122; */}#toc, .toc, .mw-warning {float: right;margin: 15px;border: 1px solid #AAA;background-color: #F9F9F9;padding: 5px;font-size: 11px;font-family: Lucida Grande,'Lucida Sans Unicode','Helvetica Neue',Helvetica,'Myriad Pro',Myriad,Geneva,Arial,sans-serif;}
  margin-bottom: 0.75em;
+
  margin-left: auto;
+
  margin-right: auto;
+
  width: 85% !important;
+
  min-height: 40px;
+
  clear: both;
+
  text-align: justify;
+
  vertical-align: left;
+
  border-collapse: collapse;
+
  padding: 15px 20px 15px 80px;
+
  background-position: 20px 50%;
+
  background-repeat: no-repeat;
+
  -moz-border-radius: 15px;
+
  -khtml-border-radius: 15px;
+
  border-radius: 15px;
+
  line-height: 1.2em;
+
}
+
 
+
.fancynote {
+
  border: 1px solid #99D;
+
  background-color: #eef;
+
  background-image: url(/images/3rdparty/note.png);
+
}
+
 
+
.fancyimportant {
+
  border: 1px solid #ffd300;
+
  background-color: #ffc;
+
  background-image: url(/images/3rdparty/important.png);
+
}
+
 
+
.fancywarning {
+
  border: 1px solid #d99;
+
  background-color: #fdd;
+
  background-image: url(/images/3rdparty/warning.png);
+
}
+
 
+
.fancytip {
+
  border: 1px solid #9d9;
+
  background-color: #dfd;
+
  background-image: url(/images/3rdparty/tip.png);
+
}
+

Revision as of 22:25, 20 October 2013

/* CSS placed here will be applied to all skins */
 
/* ConsoleOutput.php start */.shell, pre, .mw-code, code, tt, div.mw-geshi {	font-size: 12px;	font-family: 'andale mono','lucida console',	monospace;}.shell, pre, .mw-code, div.mw-geshi {	padding: 10px;	border: none;	margin: 0;	overflow-x: auto;	overflow-y: hidden;	border: 1.5px solid #ccc;	border-radius: 5px;	line-height: 1.2em;}.code {	font-family: 'andale mono', 'lucida console', monospace;	font-size: 14px;	border: none;	border-radius: 10px;	background-color: #073642;	color: #aaaaaa;	overflow-x: auto;	overflow-y: hidden;	line-height: 1.5em;}.code b {	color: #ffffff;	font-weight: bold;}.code_input {	color: #e34692;	font-weight: bold;}.code_red {	color: #f00;}.code_blue {	color: #88f;}.code_green {	color: #0f0;}.code_yellow {	color: #ff0;}/* ConsoleOutput.php end */
/* Funtoo stuff here *//* Structural Elements */h1,h2,h3,h4,h5,h6 {           color: #406060;        /* *         font-family: Baskerville, Palatino, Palatino Linotype, Georgia, Times New Roman, Times, serif; *                 */        font-family: Lucida Grande, Lucida Unicode, sans-serif;        background: none;        font-weight: 600;        /* *         font-weight: bold; *                 */        margin: 0;        padding-top: .5em;        padding-bottom: .17em;/*      border-bottom: 1px solid #aaa; */        width: auto;}span.mwheadline h1 { font-size: 188%; }h2 { font-size: 150%; }h3,h4,h5,h6 {           border-bottom: none;        font-weight: bold;}h3 { font-size: 132%; }h4 { font-size: 116%; }
h5 { font-size: 100%; }h6 { font-size: 80%;  }/* Make edit sections (which are inside h# tags) normal-sized */.editsection {        font-weight: normal;}h1 .editsection {        font-size: 50%;}h2 .editsection {        font-size: 66.7%;}h3 .editsection {        font-size: 85.5%;}h5 .editsection {        font-size: 120%;}h6 .editsection {        font-size: 133%;}p {        margin: .4em 0 .5em 0;}p img {        margin: 0;}.donate {        margin-left: 1.0em;        margin-right: 1.0em;        margin-top: 0.5em;        margin-bottom: 0.5em;        background-color: #F8F8FF;        line-height: 15px;        padding: 1.0em 1.0em 1.0em 1.0em;        border: none;        border-top: 2px solid #C6C9E0;        border-bottom: 2px solid #C6C9E0;        overflow-x: auto;        overflow-y: hidden;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;        font-size: 12px;        font-weight: 500;}.boxy {        background-color: #fcfcfc;        color: #000000;        padding: .05em .5em .5em 1.0em;        margin: 1.0em;        border: 1px solid #C2CFDF;        border-left: 10px solid #C2CFDF;        font-size: 12px;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;        /*font-family: Tahoma, Arial, Helvetica, sans-serif;*/}.boxy2 {        background-color: #ffe;        color: #000000;        padding: .05em .5em .5em 1.0em;        margin: 1.0em;        border: 1px solid #C2CFDF;        border-left: 10px solid #C2CFDF;        font-size: 11px;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;}.boxy a {        font-weight: 400;        color: #a33;}.boxy2 a, .toc a {        font-weight: 400;        color: #a33;/*      991122; */}#toc, .toc, .mw-warning {float: right;margin: 15px;border: 1px solid #AAA;background-color: #F9F9F9;padding: 5px;font-size: 11px;font-family: Lucida Grande,'Lucida Sans Unicode','Helvetica Neue',Helvetica,'Myriad Pro',Myriad,Geneva,Arial,sans-serif;}