Difference between revisions of "MediaWiki:Common.css"

From Funtoo
Jump to: navigation, search
(making console output the same size as file listings, and also cleaning up css)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
.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 {overflow-x:auto;overflow-y:hidden;border:1.5px solid #ccc;border-radius:5px;line-height:1.2em;margin:0;padding:10px;}.code {font-family:'andale mono', 'lucida console', monospace;font-size:12px;border:none;border-radius:10px;background-color:#073642;color:#aaa;overflow-x:auto;overflow-y:hidden;line-height:1.5em;}.code b {color:#fff;font-weight:700;}.code_input {color:#e34692;font-weight:700;}.code_red {color:red;}.code_blue {color:#88f;}.code_green {color:#0f0;}.code_yellow {color:#ff0;}h1,h2,h3,h4,h5,h6 {color:#406060;font-family:Lucida Grande, Lucida Unicode, sans-serif;background:none;font-weight:600;padding-top:.5em;padding-bottom:.17em;width:auto;margin:0;}span.mwheadline h1 {font-size:188%;}h2 {font-size:150%;}h3,h4,h5,h6 {border-bottom:none;font-weight:700;}h3 {font-size:132%;}h4 {font-size:116%;}h5 {font-size:100%;}h6 {font-size:80%;}.editsection {font-weight:400;}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;}p img {margin:0;}.donate {background-color:#F8F8FF;line-height:15px;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;margin:.5em 1em;padding:1em;}.boxy {background-color:#fcfcfc;color:#000;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;margin:1em;padding:.05em .5em .5em 1em;}.boxy2 {background-color:#ffe;color:#000;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;margin:1em;padding:.05em .5em .5em 1em;}#toc,.toc,.mw-warning {float:right;border:1px solid #AAA;background-color:#F9F9F9;font-size:11px;font-family:Lucida Grande,'Lucida Sans Unicode','Helvetica Neue',Helvetica,'Myriad Pro',Myriad,Geneva,Arial,sans-serif;margin:15px;padding:5px;}.boxy a,.boxy2 a,.toc a {font-weight:400;color:#a33;}
 
+
/* Note boxes from dokuwiki's note plugin */
+
.fancynote, .fancyimportant, .fancywarning, .fancytip {
+
  margin-top: 0.75em;
+
  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 09:23, 18 February 2014

.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 {overflow-x:auto;overflow-y:hidden;border:1.5px solid #ccc;border-radius:5px;line-height:1.2em;margin:0;padding:10px;}.code {font-family:'andale mono', 'lucida console', monospace;font-size:12px;border:none;border-radius:10px;background-color:#073642;color:#aaa;overflow-x:auto;overflow-y:hidden;line-height:1.5em;}.code b {color:#fff;font-weight:700;}.code_input {color:#e34692;font-weight:700;}.code_red {color:red;}.code_blue {color:#88f;}.code_green {color:#0f0;}.code_yellow {color:#ff0;}h1,h2,h3,h4,h5,h6 {color:#406060;font-family:Lucida Grande, Lucida Unicode, sans-serif;background:none;font-weight:600;padding-top:.5em;padding-bottom:.17em;width:auto;margin:0;}span.mwheadline h1 {font-size:188%;}h2 {font-size:150%;}h3,h4,h5,h6 {border-bottom:none;font-weight:700;}h3 {font-size:132%;}h4 {font-size:116%;}h5 {font-size:100%;}h6 {font-size:80%;}.editsection {font-weight:400;}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;}p img {margin:0;}.donate {background-color:#F8F8FF;line-height:15px;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;margin:.5em 1em;padding:1em;}.boxy {background-color:#fcfcfc;color:#000;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;margin:1em;padding:.05em .5em .5em 1em;}.boxy2 {background-color:#ffe;color:#000;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;margin:1em;padding:.05em .5em .5em 1em;}#toc,.toc,.mw-warning {float:right;border:1px solid #AAA;background-color:#F9F9F9;font-size:11px;font-family:Lucida Grande,'Lucida Sans Unicode','Helvetica Neue',Helvetica,'Myriad Pro',Myriad,Geneva,Arial,sans-serif;margin:15px;padding:5px;}.boxy a,.boxy2 a,.toc a {font-weight:400;color:#a33;}