MediaWiki:Common.css
From Asenjo
Revision as of 00:11, 25 September 2014 by Natxo (Talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .cli-demo { position: relative; width: 700px; min-height: 300px; padding: 5px; margin: 1em 0px; fon...")
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */
.cli-demo {
position: relative;
width: 700px;
min-height: 300px;
padding: 5px;
margin: 1em 0px;
font-family: courier, fixed;
font-size: 13px;
white-space: pre-wrap;
border: 1px solid gray;
border-radius: 8px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: black;
color: lightgray;
}
.cli-demo-console {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 40px;
padding: 5px;
overflow: auto;
}
.cli-demo-content {
}
.cli-demo-caret {
background: lightgray;
}
.cli-demo-control {
position: absolute;
left: 0px;
right: 0px;
bottom: 0px;
height: 30px;
padding: 5px;
background: gray;
color: black;
}
.cli-demo-button {
margin: 1px 2px;
padding: 5px 10px;
vertical-align: bottom;
border: 1px solid white;
border-radius: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: dimgray;
color: white;
}
.cli-demo-button:hover {
background: lightgray;
color: black;
}
.cli-demo-input {
font-weight: bold;
color: white;
}
.cli-demo-input:hover {
background: #303233;
}
.cli-demo-output:hover {
background: #303233;
}