MediaWiki:Common.less/documentation.less

From Old School RuneScape Wiki
Jump to: navigation, search
// <pre>
/* ==================================
       [[Template:Documentation]]
   ================================== */
.documentation {
    background-color: #ebebeb;
    color: #000;
    border-left: 15px solid #898989;
    margin-top: 1em;
    padding: 5px 15px;

    .doc-header {
        border-bottom: 1px solid #898989;
        margin-bottom: 2px;
        padding-bottom: 8px;
        padding-top: 6px;
    }

    .doc-title {
        font-size: 1.25em;
        font-weight: bold;
    }

    .doc-editlinks {
        font-size: 0.85em;
        margin-left: 10px;
    }

    .doc-transclusion {
        clear: both;
        font-size: 0.85em;
        margin-bottom: 15px;
    }

    a,
    a:visited,
    a:active {
        color: #6c6c6c;
    }
}

/* ==================================
       Templatedata tag / [[Template:TemplateData]]
   ================================== */

.mw-templatedata-doc-params dl {
    column-count: 3;
    border-top: 1px solid @BODY_BORDER;
    margin-bottom: 0.7em;
}
.mw-templatedata-doc-params dt::after {
    content: ":";
}
.mw-templatedata-doc-params dd,
.mw-templatedata-doc-params dt {
    margin: 0.1em 2em;
    min-width: auto;
}
.mw-templatedata-doc-muted {
    color: #888;
    font-style: italic;
}