Difference between revisions of "MediaWiki:Common.css"

From Funtoo
Jump to navigation Jump to search
 
(Created page with ".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; overfl...")
(7 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;
}


/* Note boxes from dokuwiki's note plugin */
.code_input {
.fancynote, .fancyimportant, .fancywarning, .fancytip {
color:#ff8040;
  margin-top: 0.75em;
font-weight:700;
  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 {
.code_red {
  border: 1px solid #99D;
color:red;
  background-color: #eef;
  background-image: url(/images/3rdparty/note.png);
}
}


.fancyimportant {
.code_blue {
  border: 1px solid #ffd300;
color:#88f;
  background-color: #ffc;
  background-image: url(/images/3rdparty/important.png);
}
}


.fancywarning {
.code_green {
  border: 1px solid #d99;
color:#0f0;
  background-color: #fdd;
  background-image: url(/images/3rdparty/warning.png);
}
}


.fancytip {
.code_yellow {
  border: 1px solid #9d9;
color:#ff0;
  background-color: #dfd;
  background-image: url(/images/3rdparty/tip.png);
}
}

Revision as of 23:09, April 13, 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:#ff8040;
font-weight:700;
}

.code_red {
color:red;
}

.code_blue {
color:#88f;
}

.code_green {
color:#0f0;
}

.code_yellow {
color:#ff0;
}