Difference between revisions of "MediaWiki:Pivot.css"

From Open Electrical by SMPex
(Created page with "→‎Custom colors - top bar: .tab-bar { background: #517398; } →‎style the labels: ul.side-nav label { background: #517398; color: #fff; padding: .25em .5em; } →‎sidebar background color: body { background-color: #dceaea; } →‎controls the main body area styling: #p-cactions { padding-top: 1.5em; padding-bottom: .5em; background-color: #f6f6f6; border-left: 1px solid #ccc; border-right: 1px solid #ccc; }")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Custom colors - top bar*/
/* Custom colors */
/* top bar color */
.tab-bar {
.tab-bar {
     background: #517398;
     background: #517398;
Line 23: Line 24:
     border-left: 1px solid #ccc;
     border-left: 1px solid #ccc;
     border-right: 1px solid #ccc;
     border-right: 1px solid #ccc;
}
/* Style here are only to highlight functionality of Pivot */
/* make the main page subheaders solid bars */
.subheader {
    background: #517398;
    color: #fff;
    text-align: center;
    padding: .5em;
}
.row.display .columns:nth-child(2),
.row.display .columns.small-centered,
.row.display .columns.large-centered {
    background: #e1e1e1 none repeat scroll 0% 0%;
}
.row.display {
    background: #eee none repeat scroll 0% 0%;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 2rem;
    border: 1px solid #c6c6c6;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.row.display-end {
    background: #fff none repeat scroll 0% 0%;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 2rem;
    border: 1px solid #c6c6c6;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.row.display-end .columns {
    background: #e1e1e1 none repeat scroll 0% 0%;
    border-left: 1px solid #c6c6c6;
}
pre.code {
    background-color: #FAFAFA;
    border-color: #dfdfdf;
    border-style: solid;
    border-width: 1px;
    color: #444;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    font-weight: normal;
    padding: .75em;
    font-size: .85rem;
}
/* Table of Contents */
@media only screen and (min-width: 769px) {
    #toc,
    .toc {
        float: right;
        margin: .5em 0 .5em .5em;
    }
}
/* Fix edit bar of VisualEditor at least for MediaWiki 1.31 and later */
.oo-ui-tool .oo-ui-tool-link {
    padding-top: 0;
}
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel,
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
    padding-top: 1em;
}
}

Latest revision as of 16:32, 21 January 2022

/* Custom colors */
/* top bar color */
.tab-bar {
    background: #517398;
}

/* style the labels */
ul.side-nav label {
    background: #517398;
    color: #fff;
    padding: .25em .5em;
}

/* sidebar background color */
body {
    background-color: #dceaea;
}

/* controls the main body area styling */
#p-cactions {
    padding-top: 1.5em;
    padding-bottom: .5em;
    background-color: #f6f6f6;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}


/* Style here are only to highlight functionality of Pivot */
/* make the main page subheaders solid bars */
.subheader {
    background: #517398;
    color: #fff;
    text-align: center;
    padding: .5em;
}

.row.display .columns:nth-child(2),
.row.display .columns.small-centered,
.row.display .columns.large-centered {
    background: #e1e1e1 none repeat scroll 0% 0%;
}
.row.display {
    background: #eee none repeat scroll 0% 0%;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 2rem;
    border: 1px solid #c6c6c6;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.row.display-end {
    background: #fff none repeat scroll 0% 0%;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 2rem;
    border: 1px solid #c6c6c6;
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.row.display-end .columns {
    background: #e1e1e1 none repeat scroll 0% 0%;
    border-left: 1px solid #c6c6c6;
}
pre.code {
    background-color: #FAFAFA;
    border-color: #dfdfdf;
    border-style: solid;
    border-width: 1px;
    color: #444;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    font-weight: normal;
    padding: .75em;
    font-size: .85rem;
}

/* Table of Contents */
@media only screen and (min-width: 769px) {
    #toc,
    .toc {
        float: right;
        margin: .5em 0 .5em .5em;
    }
}

/* Fix edit bar of VisualEditor at least for MediaWiki 1.31 and later */
.oo-ui-tool .oo-ui-tool-link {
    padding-top: 0;
}
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel,
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
    padding-top: 1em;
}