Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

Difference between revisions of "MediaWiki:Common.css"

From NoSQLZoo
Jump to: navigation, search
m
m (Reverted edits by 40166222 (talk) to last revision by Andr3w)
Line 1: Line 1:
 
/* MongoDB */
 
/* MongoDB */
body.ns-0, body.ns-1{
+
body.ns-0, body.ns-1{
    background-color: #EBF3EA;
+
    background-color: #EBF3EA;
 
}
 
}
body.ns-0 #mw-page-base, body.ns-1 #mw-page-base{
+
body.ns-0 #mw-page-base, body.ns-1 #mw-page-base{
    background-image: linear-gradient(#FFF 50%, #EBF3EA 100%);
+
background-image: linear-gradient(#FFF 50%, #EBF3EA 100%);
 
}
 
}
body.ns-0 div.guidelist div, body.ns-1 div.guidelist div{
+
body.ns-0 div.guidelist div, body.ns-1 div.guidelist div{
    background: #DAE5D9;
+
background: #DAE5D9;
 
}
 
}
body.ns-0 div.guidelist div.fc, body.ns-1 div.guidelist div.fc{
+
body.ns-0 div.guidelist div.fc, body.ns-1 div.guidelist div.fc{
    background: linear-gradient(#4fa94c , #439945);
+
background: linear-gradient(#4fa94c , #439945);
    border-color: #aeaf91;
+
border-color: #aeaf91;
    border: thin solid black;
+
        border: thin solid black;
 
}
 
}
body.ns-0 .mw-body, body.ns-1 .mw-body{
+
body.ns-0 .mw-body, body.ns-1 .mw-body{
    border-color: #4fa94c;
+
    border-color: #4fa94c;
 
}
 
}
body.ns-0 .q{
+
body.ns-0 .q{
    border-top: thin solid #439945;
+
border-top: thin solid #439945;
 
}
 
}
body.ns-0 .q .res{
+
body.ns-0 .q .res{
    background: #dae5d9;
+
    background: #dae5d9;
}
 
/* Neo4j */
 
body.ns-200, body.ns-201{
 
    background-color: #EAEAF3;
 
}
 
body.ns-200 #mw-page-base, body.ns-201 #mw-page-base{
 
    background-image: linear-gradient(#FFF 50%, #EBEAF3 100%);
 
}
 
body.ns-200 div.guidelist div, body.ns-201 div.guidelist div{
 
    background: #DAD9E5;
 
}
 
body.ns-200 div.guidelist div.fc, body.ns-201 div.guidelist div.fc{
 
    background: linear-gradient(#4c4fa9, #434599);
 
    border-color: #91aeaf;
 
    border: thin solid black;
 
}
 
body.ns-200 .mw-body, body.ns-201 .mw-body{
 
    border-color: #4f4ca9;
 
}
 
body.ns-200 .q{
 
    border-top: thin solid #434599;
 
}
 
body.ns-200 .q .res{
 
    background: #dae5d9;
 
}
 
/* CodeMirror */
 
/*---------------------------------------------------------------*/
 
/* BASICS */
 
.CodeMirror {
 
    /* Set height, width, borders, and global font properties here */
 
    font-family: monospace;
 
    height: auto!important;
 
    color: black;
 
    direction: ltr;
 
    border-width: 1px 1px 1px 0px;
 
    border-color: grey;
 
    border-style: solid;
 
}
 
 
 
.CodeMirror, .CodeMirror-scroll, .CodeMirror-gutters {
 
      min-height: 150px !important;
 
 
}
 
}
  
/* PADDING */
+
/* CouchDB */
.CodeMirror-lines {
+
body.ns-100, body.ns-101{
    padding: 4px 0;
+
     background-color: #F3EAEA;
    /* Vertical padding around content */
 
}
 
.CodeMirror pre {
 
    padding: 0 4px;
 
    /* Horizontal padding of content */
 
}
 
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
 
    background-color: white;
 
    /* The little square between H and V scrollbars */
 
}
 
/* GUTTER */
 
.CodeMirror-gutters {
 
    border-right: 1px solid #ddd;
 
    background-color: #f7f7f7;
 
    white-space: nowrap;
 
}
 
.CodeMirror-linenumbers {
 
}
 
.CodeMirror-linenumber {
 
    padding: 0 3px 0 5px;
 
    min-width: 20px;
 
    text-align: right;
 
    color: #999;
 
    white-space: nowrap;
 
}
 
.CodeMirror-guttermarker {
 
    color: black;
 
}
 
.CodeMirror-guttermarker-subtle {
 
    color: #999;
 
}
 
/** CodeMirror **/
 
/* CURSOR */
 
.CodeMirror-cursor {
 
    border-left: 1px solid black;
 
    border-right: none;
 
    width: 0;
 
}
 
/* Shown when moving in bi-directional text */
 
.CodeMirror div.CodeMirror-secondarycursor {
 
    border-left: 1px solid silver;
 
}
 
.cm-fat-cursor .CodeMirror-cursor {
 
    width: auto;
 
    border: 0 !important;
 
    background: #7e7;
 
}
 
.cm-fat-cursor div.CodeMirror-cursors {
 
    z-index: 1;
 
}
 
.cm-fat-cursor-mark {
 
    background-color: rgba(20, 255, 20, 0.5);
 
    -webkit-animation: blink 1.06s steps(1) infinite;
 
    -moz-animation: blink 1.06s steps(1) infinite;
 
    animation: blink 1.06s steps(1) infinite;
 
}
 
.cm-animate-fat-cursor {
 
    width: auto;
 
    border: 0;
 
    -webkit-animation: blink 1.06s steps(1) infinite;
 
    -moz-animation: blink 1.06s steps(1) infinite;
 
    animation: blink 1.06s steps(1) infinite;
 
    background-color: #7e7;
 
}
 
@-moz-keyframes blink {
 
    0% {
 
    }
 
    50% {
 
        background-color: transparent;
 
    }
 
    100% {
 
    }
 
}
 
@-webkit-keyframes blink {
 
    0% {
 
    }
 
    50% {
 
        background-color: transparent;
 
    }
 
    100% {
 
    }
 
}
 
@keyframes blink {
 
    0% {
 
    }
 
    50% {
 
        background-color: transparent;
 
    }
 
    100% {
 
    }
 
}
 
/* Can style cursor different in overwrite (non-insert) mode */
 
.CodeMirror-overwrite .CodeMirror-cursor {
 
}
 
.cm-tab {
 
    display: inline-block;
 
    text-decoration: inherit;
 
}
 
.CodeMirror-rulers {
 
    position: absolute;
 
    left: 0;
 
    right: 0;
 
    top: -50px;
 
    bottom: -20px;
 
    overflow: hidden;
 
}
 
.CodeMirror-ruler {
 
    border-left: 1px solid #ccc;
 
    top: 0;
 
    bottom: 0;
 
    position: absolute;
 
}
 
/** CodeMirror **/
 
/* DEFAULT THEME */
 
.cm-s-default .cm-header {
 
    color: blue;
 
}
 
.cm-s-default .cm-quote {
 
    color: #090;
 
}
 
.cm-negative {
 
    color: #d44;
 
}
 
.cm-positive {
 
    color: #292;
 
}
 
.cm-header, .cm-strong {
 
    font-weight: bold;
 
}
 
.cm-em {
 
    font-style: italic;
 
}
 
.cm-link {
 
    text-decoration: underline;
 
}
 
.cm-strikethrough {
 
    text-decoration: line-through;
 
}
 
.cm-s-default .cm-keyword {
 
    color: #708;
 
}
 
.cm-s-default .cm-atom {
 
    color: #219;
 
}
 
.cm-s-default .cm-number {
 
    color: #164;
 
}
 
.cm-s-default .cm-def {
 
    color: #00f;
 
}
 
.cm-s-default .cm-variable, .cm-s-default .cm-punctuation, .cm-s-default .cm-property, .cm-s-default .cm-operator {
 
}
 
.cm-s-default .cm-variable-2 {
 
    color: #05a;
 
}
 
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {
 
    color: #085;
 
}
 
.cm-s-default .cm-comment {
 
    color: #a50;
 
}
 
.cm-s-default .cm-string {
 
    color: #a11;
 
}
 
.cm-s-default .cm-string-2 {
 
    color: #f50;
 
}
 
.cm-s-default .cm-meta {
 
    color: #555;
 
}
 
.cm-s-default .cm-qualifier {
 
    color: #555;
 
}
 
.cm-s-default .cm-builtin {
 
    color: #30a;
 
}
 
.cm-s-default .cm-bracket {
 
    color: #997;
 
}
 
.cm-s-default .cm-tag {
 
    color: #170;
 
}
 
.cm-s-default .cm-attribute {
 
    color: #00c;
 
}
 
.cm-s-default .cm-hr {
 
    color: #999;
 
}
 
.cm-s-default .cm-link {
 
    color: #00c;
 
}
 
.cm-s-default .cm-error {
 
    color: #f00;
 
}
 
.cm-invalidchar {
 
    color: #f00;
 
}
 
.CodeMirror-composing {
 
    border-bottom: 2px solid;
 
}
 
/* Default styles for common addons */
 
div.CodeMirror span.CodeMirror-matchingbracket {
 
    color: #0b0;
 
}
 
div.CodeMirror span.CodeMirror-nonmatchingbracket {
 
    color: #a22;
 
}
 
.CodeMirror-matchingtag {
 
    background: rgba(255, 150, 0, .3);
 
}
 
.CodeMirror-activeline-background {
 
    background: #e8f2ff;
 
}
 
/* STOP */
 
/* The rest of this file contains styles related to the mechanics of the editor. You probably shouldn't touch them. */
 
.CodeMirror {
 
    position: relative;
 
    overflow: hidden;
 
    background: white;
 
}
 
.CodeMirror-scroll {
 
    overflow: hidden !important;
 
    /* Things will break if this is overridden */
 
     /* 30px is the magic margin used to hide the element's real scrollbars */
 
    /* See overflow: hidden in .CodeMirror */
 
    margin-bottom: -30px;
 
    margin-right: -30px;
 
    padding-bottom: 30px;
 
    height: 100%;
 
    outline: none;
 
    /* Prevent dragging from highlighting the element */
 
    position: relative;
 
}
 
.CodeMirror-sizer {
 
    position: relative;
 
    border-right: 30px solid transparent;
 
}
 
/* The fake, visible scrollbars. Used to force redraw during scrolling before actual scrolling happens, thus preventing shaking and flickering artifacts. */
 
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
 
    position: absolute;
 
    z-index: 6;
 
    display: none;
 
}
 
.CodeMirror-vscrollbar {
 
    right: 0;
 
    top: 0;
 
    overflow-x: hidden;
 
    overflow-y: scroll;
 
}
 
.CodeMirror-hscrollbar {
 
    bottom: 0;
 
    left: 0;
 
    overflow-y: hidden;
 
    overflow-x: scroll;
 
}
 
.CodeMirror-scrollbar-filler {
 
    right: 0;
 
    bottom: 0;
 
}
 
.CodeMirror-gutter-filler {
 
    left: 0;
 
    bottom: 0;
 
}
 
.CodeMirror-gutters {
 
    position: absolute;
 
    left: 0;
 
    top: 0;
 
    min-height: 100%;
 
    z-index: 3;
 
}
 
.CodeMirror-gutter {
 
    white-space: normal;
 
    height: 100%;
 
    display: inline-block;
 
    vertical-align: top;
 
    margin-bottom: -30px;
 
}
 
.CodeMirror-gutter-wrapper {
 
    position: absolute;
 
    z-index: 4;
 
    background: none !important;
 
    border: none !important;
 
}
 
.CodeMirror-gutter-background {
 
    position: absolute;
 
    top: 0;
 
    bottom: 0;
 
    z-index: 4;
 
}
 
.CodeMirror-gutter-elt {
 
    position: absolute;
 
    cursor: default;
 
    z-index: 4;
 
}
 
.CodeMirror-gutter-wrapper ::selection {
 
    background-color: transparent
 
}
 
.CodeMirror-gutter-wrapper ::-moz-selection {
 
    background-color: transparent
 
}
 
.CodeMirror-lines {
 
    cursor: text;
 
    min-height: 1px;
 
    /* prevents collapsing before first draw */
 
}
 
.CodeMirror pre {
 
    /* Reset some styles that the rest of the page might have set */
 
    -moz-border-radius: 0;
 
    -webkit-border-radius: 0;
 
    border-radius: 0;
 
    border-width: 0;
 
    background: transparent;
 
    font-family: inherit;
 
    font-size: inherit;
 
    margin: 0;
 
    white-space: pre;
 
    word-wrap: normal;
 
    line-height: inherit;
 
    color: inherit;
 
    z-index: 2;
 
    position: relative;
 
    overflow: visible;
 
    -webkit-tap-highlight-color: transparent;
 
    -webkit-font-variant-ligatures: contextual;
 
    font-variant-ligatures: contextual;
 
}
 
.CodeMirror-wrap pre {
 
    word-wrap: break-word;
 
    white-space: pre-wrap;
 
    word-break: normal;
 
}
 
.CodeMirror-linebackground {
 
    position: absolute;
 
    left: 0;
 
    right: 0;
 
    top: 0;
 
    bottom: 0;
 
    z-index: 0;
 
}
 
.CodeMirror-linewidget {
 
    position: relative;
 
    z-index: 2;
 
    padding: 0.1px;
 
    /* Force widget margins to stay inside of the container */
 
}
 
.CodeMirror-widget {
 
}
 
.CodeMirror-rtl pre {
 
    direction: rtl;
 
}
 
.CodeMirror-code {
 
    font-family: "Lucida Console", "Lucida Sans Typewriter", monospace !important;
 
    font-size: 16px;
 
    outline: none;
 
}
 
/* Force content-box sizing for the elements where we expect it */
 
.CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber {
 
    -moz-box-sizing: content-box;
 
    box-sizing: content-box;
 
}
 
.CodeMirror-measure {
 
    position: absolute;
 
    width: 100%;
 
    height: 0;
 
    overflow: hidden;
 
    visibility: hidden;
 
}
 
.CodeMirror-cursor {
 
    position: absolute;
 
    pointer-events: none;
 
}
 
.CodeMirror-measure pre {
 
    position: static;
 
}
 
div.CodeMirror-cursors {
 
    visibility: hidden;
 
    position: relative;
 
    z-index: 3;
 
}
 
div.CodeMirror-dragcursors {
 
    visibility: visible;
 
}
 
.CodeMirror-focused div.CodeMirror-cursors {
 
    visibility: visible;
 
}
 
.CodeMirror-selected {
 
    background: #d9d9d9;
 
}
 
.CodeMirror-focused .CodeMirror-selected {
 
    background: #d7d4f0;
 
}
 
.CodeMirror-crosshair {
 
    cursor: crosshair;
 
}
 
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
 
    background: #d7d4f0;
 
}
 
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
 
    background: #d7d4f0;
 
}
 
.cm-searching {
 
    background-color: #ffa;
 
    background-color: rgba(255, 255, 0, .4);
 
}
 
/* Used to force a border model for a node */
 
.cm-force-border {
 
    padding-right: .1px;
 
}
 
@media print {
 
    /* Hide the cursor when printing */
 
    .CodeMirror div.CodeMirror-cursors {
 
        visibility: hidden;
 
    }
 
}
 
/* See issue #2901 */
 
.cm-tab-wrap-hack:after {
 
    content: '';
 
}
 
/* Help users use markselection to safely style text background */
 
span.CodeMirror-selectedtext {
 
    background: none;
 
}
 
/* foldgutter */
 
.CodeMirror-foldmarker {
 
    color: blue;
 
    text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
 
    font-family: arial;
 
    line-height: .3;
 
    cursor: pointer;
 
}
 
.CodeMirror-foldgutter {
 
    width: .7em;
 
}
 
.CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded {
 
    cursor: pointer;
 
}
 
.CodeMirror-foldgutter-open:after {
 
    content: "\25BE";
 
}
 
.CodeMirror-foldgutter-folded:after {
 
    content: "\25B8";
 
}
 
/* The lint marker gutter */
 
.CodeMirror-lint-markers {
 
    width: 16px;
 
}
 
.CodeMirror-lint-tooltip {
 
    background-color: #ffd;
 
    border: 1px solid black;
 
    border-radius: 4px 4px 4px 4px;
 
    color: black;
 
    font-family: monospace;
 
    font-size: 10pt;
 
    overflow: hidden;
 
    padding: 2px 5px;
 
    position: fixed;
 
    white-space: pre;
 
    white-space: pre-wrap;
 
    z-index: 100;
 
    max-width: 600px;
 
    opacity: 0;
 
    transition: opacity .4s;
 
    -moz-transition: opacity .4s;
 
    -webkit-transition: opacity .4s;
 
    -o-transition: opacity .4s;
 
    -ms-transition: opacity .4s;
 
}
 
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
 
    background-position: left bottom;
 
    background-repeat: repeat-x;
 
}
 
.CodeMirror-lint-mark-error {
 
    background-image: url("data:image/png;
 
    base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
 
}
 
.CodeMirror-lint-mark-warning {
 
    background-image: url("data:image/png;
 
    base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
 
}
 
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
 
    background-position: center center;
 
    background-repeat: no-repeat;
 
    cursor: pointer;
 
    display: inline-block;
 
    height: 16px;
 
    width: 16px;
 
    vertical-align: middle;
 
    position: relative;
 
}
 
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
 
    padding-left: 18px;
 
    background-position: top left;
 
    background-repeat: no-repeat;
 
}
 
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
 
    background-image: url("data:image/png;
 
    base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
 
}
 
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
 
    background-image: url("data:image/png;
 
    base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
 
}
 
.CodeMirror-lint-marker-multiple {
 
    background-image: url("data:image/png;
 
    base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
 
    background-repeat: no-repeat;
 
    background-position: right bottom;
 
    width: 100%;
 
    height: 100%;
 
}
 
/* MDN-LIKE Theme - Mozilla Ported to CodeMirror by Peter Kroon <plakroon@gmail.com> Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues GitHub: @peterkroon The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation */
 
.cm-s-mdn-like.CodeMirror {
 
    color: #999;
 
    background-color: #fff;
 
}
 
.cm-s-mdn-like div.CodeMirror-selected {
 
    background: #cfc;
 
}
 
.cm-s-mdn-like .CodeMirror-line::selection, .cm-s-mdn-like .CodeMirror-line > span::selection, .cm-s-mdn-like .CodeMirror-line > span > span::selection {
 
    background: #cfc;
 
}
 
.cm-s-mdn-like .CodeMirror-line::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span > span::-moz-selection {
 
    background: #cfc;
 
}
 
.cm-s-mdn-like .CodeMirror-gutters, .cm-s-neo .CodeMirror-gutters {
 
    background: #f8f8f8;
 
    border-left: 6px solid rgba(0,83,159,0.65);
 
    color: #333;
 
}
 
.cm-s-mdn-like .CodeMirror-linenumber, .cm-s-neo .CodeMirror-linenumber {
 
    color: #aaa;
 
    padding-left: 8px;
 
}
 
.cm-s-mdn-like .CodeMirror-cursor {
 
    border-left: 2px solid #222;
 
}
 
.cm-s-mdn-like .cm-keyword {
 
    color: #6262FF;
 
}
 
.cm-s-mdn-like .cm-atom {
 
    color: #F90;
 
}
 
.cm-s-mdn-like .cm-number {
 
    color: #ca7841;
 
}
 
.cm-s-mdn-like .cm-def {
 
    color: #8DA6CE;
 
 
}
 
}
.cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag {
+
body.ns-100 #mw-page-base, body.ns-101 #mw-page-base{
    color: #690;
+
background-image: linear-gradient(#FFF 50%, #F3EAEA 100%);
 
}
 
}
.cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def, .cm-s-mdn-like span.cm-type {
+
body.ns-100 div.guidelist div, body.ns-101 div.guidelist div{
     color: #07a;
+
     background: #E5D9D9;
 
}
 
}
.cm-s-mdn-like .cm-variable {
+
body.ns-100 div.guidelist div.fc, body.ns-101 div.guidelist div.fc{
    color: #07a;
+
background: linear-gradient(#DE080F , #BC101D);
 +
border-color: #aeaf91;
 +
        border: thin solid black;
 
}
 
}
.cm-s-mdn-like .cm-property {
+
body.ns-100 .mw-body, body.ns-101 .mw-body{
    color: #905;
+
    border-color: #DE080F;
 
}
 
}
.cm-s-mdn-like .cm-qualifier {
+
body.ns-100 .q{
    color: #690;
+
border-top: thin solid #994343;
 
}
 
}
.cm-s-mdn-like .cm-operator {
+
body.ns-100 .q .res{
    color: #cda869;
+
    background: #e5d9d9;
 
}
 
}
.cm-s-mdn-like .cm-comment {
+
button{
    color:#777;
+
float: left;
    font-weight:normal;
+
line-height: 1.3;
 +
        padding: 5px 8px;
 
}
 
}
.cm-s-mdn-like .cm-string {
+
button.run {
    color:#07a;
+
background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%);
    font-style:italic;
+
background-color: #306AA0;
 +
border-radius: 6px;
 +
border-color: #245580;
 +
border-width: 1px;
 +
color: #FFF;
 +
cursor: pointer;
 +
font-size: 18px;
 
}
 
}
.cm-s-mdn-like .cm-string-2 {
+
button.other {
    color:#bd6b18;
+
border-radius: 0.5ex;
 +
cursor: pointer;
 +
display: inline;
 +
border: 1px solid;
 +
float: right;
 +
font-size: 14px;
 +
margin-left: 0.25em;
 
}
 
}
/*?*/
+
div.guidelist{
.cm-s-mdn-like .cm-meta {
+
float: right;
    color: #000;
+
width: 32ex;
 +
border-left: 1px solid;
 +
border-right: 1px solid;
 +
background-color: #F0F0FF;
 +
border-collapse: collapse;
 +
border-bottom: 1px solid;
 +
        margin-bottom: 2%;
 +
padding-left: 0px;
 
}
 
}
/*?*/
+
div.guidelist div.fc {
.cm-s-mdn-like .cm-builtin {
+
    padding: 1em;
    color: #9B7536;
+
    background-color: #000;
 +
    color: #FFF;
 
}
 
}
/*?*/
+
div.guidelist div {
.cm-s-mdn-like .cm-tag {
+
    padding: 0ex 1em;
    color: #997643;
+
    border-bottom: 1px solid;
 
}
 
}
.cm-s-mdn-like .cm-attribute {
+
body.ns-0 div.res.waiting,
    color: #d6bb6d;
+
body.ns-100 div.res.waiting{
 +
  background-image: url(//sqlzoo.net/design/ajax-loader-2.gif);
 +
  background-repeat: no-repeat;
 +
  background-position: center center;
 +
  height: 180px;
 
}
 
}
/*?*/
+
h1#firstHeading{
.cm-s-mdn-like .cm-header {
+
    overflow-x: hidden;
    color: #FF6400;
 
 
}
 
}
  .cm-s-mdn-like .cm-hr {
+
pre{
    color: #AEAEAE;
+
white-space: pre-wrap;   /* CSS 3 */
 +
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
 +
white-space: -pre-wrap;   /* Opera 4-6 */
 +
white-space: -o-pre-wrap; /* Opera 7 */
 +
word-wrap: break-word;   /* Internet Explorer 5.5+ */
 
}
 
}
.cm-s-mdn-like .cm-link {
+
span.id{font-size:300%;padding-right:1ex}
    color:#ad9361;
+
textarea{
    font-style:italic;
+
        background: #F9F9F9;
    text-decoration:none;
+
        font-family: Lucida Console,Lucida Sans Typewriter,monospace;
 +
        font-size: 16px;
 +
margin: 1em 0;
 +
min-height: 150px;
 
}
 
}
.cm-s-mdn-like .cm-error {
+
.strong{
    border-bottom: 1px solid red;
+
  font-weight:bold;
 
}
 
}
div.cm-s-mdn-like .CodeMirror-activeline-background {
+
.tease {
    background: #efefff;
+
color: #1D365D;
 +
font-style: italic;
 +
cursor: pointer;
 +
padding: 0.2ex;
 
}
 
}
div.cm-s-mdn-like span.CodeMirror-matchingbracket {
+
.q{
    outline:1px solid grey;
+
border-top: thin solid #ee8301;
    color: inherit;
+
margin-bottom: 9em;
 +
        width: 100%;
 
}
 
}
.cm-s-mdn-like.CodeMirror, .cm-s-neo.CodeMirror {
+
.q .ans, .q .def, .q .res{
    background-image: url("data:image/png;
+
font-weight: normal;
    base64,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");
+
display: none;
 
}
 
}
/* Fullscreen */
+
.q .res{
.CodeMirror-fullscreen {
+
background: #dae5d9;
    position: fixed;
+
border: solid thin black;
    top: 0;  
+
border-radius: 0.5ex;
    left: 13em;  
+
border-style: inset;
    right: 0;  
+
border-width: 1px;
    bottom: 0;
+
box-shadow: 1px 1px 3px #3b434e;
    height: auto;
+
color: #3b434e;
    z-index: 9;
+
clear:both;
 +
height: auto;
 +
margin-top: 1ex;
 +
max-width: 100%;
 +
overflow: auto;
 +
padding: 1em;
 +
resize: both;
 
}
 
}
 
+
.setup{
/* Hints */
+
    display: none;
.CodeMirror-hints {
 
    position: absolute;
 
    z-index: 10;
 
    overflow: hidden;
 
    list-style: none;
 
    margin: 0;
 
    padding: 2px;
 
    -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
    -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
    box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
    border-radius: 3px;
 
    border: 1px solid silver;
 
    background: white;
 
    font-size: 90%;
 
    font-family: monospace;
 
    max-height: 20em;
 
    overflow-y: auto;
 
 
}
 
}
.CodeMirror-hint {
+
.tease{
    margin: 0;
+
        color:#1d365d;
    padding: 0 4px;
+
        font-style:italic;
    border-radius: 2px;
+
        cursor:pointer;
    white-space: pre;
+
        padding: 0.2ex;
    color: black;
 
    cursor: pointer;
 
 
}
 
}
li.CodeMirror-hint-active {
+
@media all and (max-width: 768px){
    background: #08f;
+
div.vectorTabs{padding: 0;}
    color: white;
+
        .guidelist{display: none;}
 +
.mw-body{
 +
border-left: 0;
 +
margin-left: 0;
 +
}
 +
        div#footer{margin-left: 0;}
 +
#mw-panel{display:none;}
 
}
 
}
 
+
#ca-watch.icon a, #ca-unwatch.icon a {
/* Dialog */
+
background-repeat: no-repeat;
.CodeMirror-dialog {
+
margin: 0px;
  position: absolute;
+
padding: 3.1em 0px 0px;
  left: 0; right: 0;
+
display: block;
  background: inherit;
+
width: 26px;
  z-index: 15;
+
height: 0px;
  padding: .1em .8em;
+
overflow: hidden;
  overflow: hidden;
+
background-position: 5px 60%;
  color: inherit;
 
 
}
 
}
 
+
#cog-cont ul{
.CodeMirror-dialog-top {
+
        position: absolute;
  border-bottom: 1px solid #eee;
+
        background-color: #FFF;
  top: 0;
+
        border: thin solid #000;
 +
        padding: 1em;
 +
        right: 1em;
 +
        top: 32px;
 +
        list-style: none;
 
}
 
}
 
+
#p-personal{
.CodeMirror-dialog-bottom {
+
        right:50px;
  border-top: 1px solid #eee;
 
  bottom: 0;
 
 
}
 
}
 
+
#p-search{
.CodeMirror-dialog input {
+
    float:none;
  border: none;
 
  outline: none;
 
  background: transparent;
 
  width: 20em;
 
  color: inherit;
 
  font-family: monospace;
 
 
}
 
}
  
.CodeMirror-dialog button {
+
.qcorrect{
   font-size: 70%;
+
   background-image: url(//sqlzoo.net/design/done9.png);
 
}
 
}
 
+
.qincorrect {
/* Tern */
+
   background-image:url(//sqlzoo.net/design/undone9.png);
.CodeMirror-Tern-completion {
 
   padding-left: 22px;
 
  position: relative;
 
  line-height: 1.5;
 
 
}
 
}
.CodeMirror-Tern-completion:before {
+
.qcorrect, .qincorrect {
 +
  width: 3em;
 +
  height: 3em;
 
   position: absolute;
 
   position: absolute;
  left: 2px;
+
   margin: 0em 0 0 5em;
  bottom: 2px;
+
  background-size: 3em;
  border-radius: 50%;
+
  background-repeat: no-repeat;
  font-size: 12px;
+
  background-position: center;
  font-weight: bold;
 
  height: 15px;
 
  width: 15px;
 
  line-height: 16px;
 
  text-align: center;
 
  color: white;
 
  -moz-box-sizing: border-box;
 
  box-sizing: border-box;
 
}
 
.CodeMirror-Tern-completion-unknown:before {
 
  content: "?";
 
  background: #4bb;
 
}
 
.CodeMirror-Tern-completion-object:before {
 
  content: "O";
 
  background: #77c;
 
}
 
.CodeMirror-Tern-completion-fn:before {
 
  content: "F";
 
  background: #7c7;
 
}
 
.CodeMirror-Tern-completion-array:before {
 
  content: "A";
 
  background: #c66;
 
}
 
.CodeMirror-Tern-completion-number:before {
 
  content: "1";
 
  background: #999;
 
}
 
.CodeMirror-Tern-completion-string:before {
 
  content: "S";
 
  background: #999;
 
}
 
.CodeMirror-Tern-completion-bool:before {
 
  content: "B";
 
  background: #999;
 
}
 
 
 
.CodeMirror-Tern-completion-guess {
 
  color: #999;
 
}
 
 
 
.CodeMirror-Tern-tooltip {
 
  border: 1px solid silver;
 
  border-radius: 3px;
 
  color: #444;
 
  padding: 2px 5px;
 
  font-size: 90%;
 
  font-family: monospace;
 
  background-color: white;
 
  white-space: pre-wrap;
 
 
 
  max-width: 40em;
 
  position: absolute;
 
  z-index: 10;
 
  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
  box-shadow: 2px 3px 5px rgba(0,0,0,.2);
 
 
 
  transition: opacity 1s;
 
  -moz-transition: opacity 1s;
 
  -webkit-transition: opacity 1s;
 
  -o-transition: opacity 1s;
 
  -ms-transition: opacity 1s;
 
}
 
 
 
.CodeMirror-Tern-hint-doc {
 
  max-width: 25em;
 
   margin-top: -3px;
 
}
 
 
 
.CodeMirror-Tern-fname { color: black; }
 
.CodeMirror-Tern-farg { color: #70a; }
 
.CodeMirror-Tern-farg-current { text-decoration: underline; }
 
.CodeMirror-Tern-type { color: #07c; }
 
.CodeMirror-Tern-fhint-guess { opacity: .7; }
 
 
 
/* neo theme for codemirror */
 
 
 
/* Color scheme */
 
 
 
.cm-s-neo.CodeMirror {
 
  background-color:#ffffff;
 
  color:#2e383c;
 
  line-height:1.4375;
 
}
 
.cm-s-neo .cm-comment { color:#75787b; }
 
.cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; }
 
.cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; }
 
.cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; }
 
.cm-s-neo .cm-string { color:#b35e14; }
 
.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; }
 
 
 
 
 
/* Editor styling */
 
 
 
.cm-s-neo pre {
 
  padding:0;
 
}
 
 
 
.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }
 
.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }
 
 
 
/*---------------------------------------------------------------*/
 
/* Universal */
 
button{
 
    float: left;
 
    line-height: 1.3;
 
    padding: 5px 8px;
 
}
 
button.run {
 
    background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%);
 
    background-color: #306AA0;
 
    border-radius: 6px;
 
    border-color: #245580;
 
    border-width: 1px;
 
    color: #FFF;
 
    cursor: pointer;
 
    font-size: 18px;
 
}
 
button.other {
 
    border-radius: 0.5ex;
 
    cursor: pointer;
 
    display: inline;
 
    border: 1px solid;
 
    float: right;
 
    font-size: 14px;
 
    margin-left: 0.25em;
 
}
 
code {
 
    background-color: #e6e6e6;
 
}
 
div.guidelist{
 
    float: right;
 
    width: 32ex;
 
    border-left: 1px solid;
 
    border-right: 1px solid;
 
    background-color: #F0F0FF;
 
    border-collapse: collapse;
 
    border-bottom: 1px solid;
 
    margin-bottom: 2%;
 
    padding-left: 0px;
 
}
 
div.guidelist div.fc {
 
    padding: 1em;
 
    background-color: #000;
 
    color: #FFF;
 
}
 
div.guidelist div {
 
    padding: 0ex 1em;
 
    border-bottom: 1px solid;
 
}
 
div.res.waiting {
 
    background-image: url(//sqlzoo.net/design/ajax-loader-2.gif);
 
    background-repeat: no-repeat;
 
    background-position: center center;
 
    height: 180px;
 
}
 
h1#firstHeading{
 
    overflow-x: hidden;
 
}
 
pre{
 
    border-color: #949494;
 
    white-space: pre-wrap;
 
    /* CSS 3 */
 
    white-space: -moz-pre-wrap;
 
    /* Mozilla, since 1999 */
 
    white-space: -pre-wrap;
 
    /* Opera 4-6 */
 
    white-space: -o-pre-wrap;
 
    /* Opera 7 */
 
    word-wrap: break-word;
 
    /* Internet Explorer 5.5+ */
 
}
 
span.id{
 
    font-size:300%;
 
    padding-right:1ex
 
}
 
textarea{
 
    background: #F9F9F9;
 
    font-family: "Lucida Console", "Lucida Sans Typewriter", monospace;
 
    font-size: 16px;
 
    margin: 1em 0;
 
    min-height: 150px;
 
    resize: vertical;
 
}
 
.strong{
 
    font-weight:bold;
 
}
 
.tease {
 
    color: #1D365D;
 
    font-style: italic;
 
    cursor: pointer;
 
    padding: 0.2ex;
 
}
 
.q{
 
    border-top: thin solid #ee8301;
 
    margin-bottom: 9em;
 
    width: 100%;
 
}
 
.q .ans, .q .def, .q .res{
 
    font-weight: normal;
 
    display: none;
 
}
 
.q .res{
 
    background: #dae5d9;
 
    border: solid thin black;
 
    border-radius: 0.5ex;
 
    border-style: inset;
 
    border-width: 1px;
 
    box-shadow: 1px 1px 3px #3b434e;
 
    color: #3b434e;
 
    clear:both;
 
    height: auto;
 
    margin-top: 1ex;
 
    max-width: 100%;
 
    overflow: auto;
 
    padding: 1em;
 
    resize: both;
 
}
 
.setup{
 
    display: none;
 
}
 
.tease{
 
    color:#1d365d;
 
    font-style:italic;
 
    cursor:pointer;
 
    padding: 0.2ex;
 
}
 
@media all and (max-width: 768px){
 
    div.vectorTabs{
 
        padding: 0;
 
    }
 
    .guidelist{
 
        display: none;
 
    }
 
    .mw-body{
 
        border-left: 0;
 
        margin-left: 0;
 
    }
 
    div#footer{
 
        margin-left: 0;
 
    }
 
    #mw-panel{
 
        display:none;
 
    }
 
}
 
#ca-watch.icon a, #ca-unwatch.icon a {
 
    background-repeat: no-repeat;
 
    margin: 0px;
 
    padding: 3.1em 0px 0px;
 
    display: block;
 
    width: 26px;
 
    height: 0px;
 
    overflow: hidden;
 
    background-position: 5px 60%;
 
}
 
#cog-cont ul{
 
    position: absolute;
 
    background-color: #FFF;
 
    border: thin solid #000;
 
    padding: 1em;
 
    right: 1em;
 
    top: 32px;
 
    list-style: none;
 
}
 
#p-personal{
 
    right:50px;
 
}
 
#p-search{
 
    float:none;
 
}
 
.qcorrect{
 
    background-image: url(//sqlzoo.net/design/done9.png);
 
}
 
.qincorrect {
 
    background-image:url(//sqlzoo.net/design/undone9.png);
 
}
 
.qcorrect, .qincorrect {
 
    width: 3em;
 
    height: 3em;
 
    position: absolute;
 
    margin: 0em 0 0 5em;
 
    background-size: 3em;
 
    background-repeat: no-repeat;
 
    background-position: center;
 
 
}
 
}

Revision as of 16:25, 28 June 2018

/* MongoDB */
body.ns-0, body.ns-1{
    background-color: #EBF3EA;
}
body.ns-0 #mw-page-base, body.ns-1 #mw-page-base{
	background-image: linear-gradient(#FFF 50%, #EBF3EA 100%);
}
body.ns-0 div.guidelist div, body.ns-1 div.guidelist div{
	background: #DAE5D9;
}
body.ns-0 div.guidelist div.fc, body.ns-1 div.guidelist div.fc{
	background: linear-gradient(#4fa94c , #439945);
	border-color: #aeaf91;
        border: thin solid black;
}
body.ns-0 .mw-body, body.ns-1 .mw-body{
    border-color: #4fa94c;
}
body.ns-0 .q{
	border-top: thin solid #439945;
}
body.ns-0 .q .res{
    	background: #dae5d9;
}

/* CouchDB */
body.ns-100, body.ns-101{
    background-color: #F3EAEA;
}
body.ns-100 #mw-page-base, body.ns-101 #mw-page-base{
	background-image: linear-gradient(#FFF 50%, #F3EAEA 100%);
}
body.ns-100 div.guidelist div, body.ns-101 div.guidelist div{
     background: #E5D9D9;
}
body.ns-100 div.guidelist div.fc, body.ns-101 div.guidelist div.fc{
	background: linear-gradient(#DE080F , #BC101D);
	border-color: #aeaf91;
        border: thin solid black;
}
body.ns-100 .mw-body, body.ns-101 .mw-body{
    border-color: #DE080F;
}
body.ns-100 .q{
	border-top: thin solid #994343;
}
body.ns-100 .q .res{
    	background: #e5d9d9;
}
button{
	float: left;
	line-height: 1.3;
        padding: 5px 8px;
}
button.run {
	background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%);
	background-color: #306AA0;
	border-radius: 6px;
	border-color: #245580;
	border-width: 1px;
	color: #FFF;
	cursor: pointer;
	font-size: 18px;
}
button.other {
	border-radius: 0.5ex;
	cursor: pointer;
	display: inline;
	border: 1px solid;
	float: right;
	font-size: 14px;
	margin-left: 0.25em;
}
div.guidelist{
	float: right;
	width: 32ex;
	border-left: 1px solid;
	border-right: 1px solid;
	background-color: #F0F0FF;
	border-collapse: collapse;
	border-bottom: 1px solid;
        margin-bottom: 2%;
	padding-left: 0px;
}
div.guidelist div.fc {
    padding: 1em;
    background-color: #000;
    color: #FFF;
}
div.guidelist div {
    padding: 0ex 1em;
    border-bottom: 1px solid;
}
body.ns-0 div.res.waiting,
body.ns-100 div.res.waiting{
   background-image: url(//sqlzoo.net/design/ajax-loader-2.gif);
   background-repeat: no-repeat;
   background-position: center center;
   height: 180px;
}
h1#firstHeading{
    overflow-x: hidden;
}
pre{
	white-space: pre-wrap;	   /* CSS 3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;	  /* Opera 4-6 */
	white-space: -o-pre-wrap;	/* Opera 7 */
	word-wrap: break-word;	   /* Internet Explorer 5.5+ */
}
span.id{font-size:300%;padding-right:1ex}
textarea{
        background: #F9F9F9;
        font-family: Lucida Console,Lucida Sans Typewriter,monospace; 
        font-size: 16px;
	margin: 1em 0;
	min-height: 150px;
}
.strong{
  font-weight:bold;
}
.tease {
	color: #1D365D;
	font-style: italic;
	cursor: pointer;
	padding: 0.2ex;
}
.q{
	border-top: thin solid #ee8301;
	margin-bottom: 9em;
        width: 100%;
}
.q .ans, .q .def, .q .res{
	font-weight: normal;
	display: none;
}
.q .res{
	background: #dae5d9;
	border: solid thin black;
	border-radius: 0.5ex;
	border-style: inset;
	border-width: 1px;
	box-shadow: 1px 1px 3px #3b434e;
	color: #3b434e;
	clear:both;
	height: auto;
	margin-top: 1ex;
	max-width: 100%;
	overflow: auto;
	padding: 1em;
	resize: both;
}
.setup{
    display: none;
}
.tease{
        color:#1d365d;
        font-style:italic;
        cursor:pointer;
        padding: 0.2ex;
}
@media all and (max-width: 768px){
	div.vectorTabs{padding: 0;}
        .guidelist{display: none;}
	.mw-body{
		border-left: 0; 
		margin-left: 0;
	}
        div#footer{margin-left: 0;}
	#mw-panel{display:none;}
}
#ca-watch.icon a, #ca-unwatch.icon a {
	background-repeat: no-repeat;
	margin: 0px;
	padding: 3.1em 0px 0px;
	display: block;
	width: 26px;
	height: 0px;
	overflow: hidden;
	background-position: 5px 60%;
}
#cog-cont ul{
        position: absolute;
        background-color: #FFF;
        border: thin solid #000;
        padding: 1em;
        right: 1em;
        top: 32px;
        list-style: none;
}
#p-personal{
        right:50px;
}
#p-search{
    float:none;
}

.qcorrect{
  background-image: url(//sqlzoo.net/design/done9.png);
}
.qincorrect {
  background-image:url(//sqlzoo.net/design/undone9.png);
}
.qcorrect, .qincorrect {
  width: 3em;
  height: 3em;
  position: absolute;
  margin: 0em 0 0 5em;
  background-size: 3em;
  background-repeat: no-repeat;
  background-position: center;
}