Difference between revisions of "MediaWiki:Common.css"

From Asenjo
Jump to: navigation, search
(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...")
(No difference)

Revision as of 00:11, 25 September 2014

/* 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;
}