Åtgärder

MediaWiki

Skillnad mellan versioner av "Pivot.css"

Från DAU-handboken

 
(3 mellanliggande versioner av samma användare visas inte)
Rad 30: Rad 30:
     /* SND - changed to #fff from #f0f0f0*/
     /* SND - changed to #fff from #f0f0f0*/
     background-color: #fff;
     background-color: #fff;
     /* SND - removed left border */
     /* SND - hide left border */
     border-left: 1px solid #fff;
     border-left: none;
     border-right: 1px solid #ccc;
     border-right: 1px solid #ccc;
}
}


 
#toc, .toc {
    /* background-color: #c6d8e5; */
}
/* Style here are only to highlight functionality of Pivot */
/* Style here are only to highlight functionality of Pivot */



Nuvarande version från 16 mars 2022 kl. 09.40

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

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

/* sidebar background color */
body {
    /* SND - background-color: #c6d8e5;*/
    background-color: #fff;
}

/* SND - added color to sidebar */
#sidebar {
	background-color: #c6d8e5;
}


/* controls the main body area styling */
#p-cactions {
    padding-top: 1.5em;
    padding-bottom: .5em;
    /* SND - changed to #fff from #f0f0f0*/
    background-color: #fff;
    /* SND - hide left border */
    border-left: none;
    border-right: 1px solid #ccc;
}

#toc, .toc {
    /* background-color: #c6d8e5; */
}
/* Style here are only to highlight functionality of Pivot */

/* make the main page subheaders solid bars */
.subheader {
    background: #649DD2;
    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;
}