Åtgärder

MediaWiki

Pivot.css

Från DAU-handboken

OBS: Efter du har publicerat sidan kan du behöva tömma din webbläsares cache för att se ändringarna.

  • Firefox / Safari: Håll ned Skift och klicka på Uppdatera sidan eller tryck antingen Ctrl-F5 eller Ctrl-R (⌘-R på Mac)
  • Google Chrome: Tryck Ctrl-Skift-R (⌘-Shift-R på Mac)
  • Internet Explorer / Edge: Håll ned Ctrl och klicka på Uppdatera eller tryck Ctrl-F5

Opera: Tryck Ctrl-F5.

/* 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 - removed left border */
    border-left: 1px solid #fff !important;
    border-right: 1px solid #ccc;
}


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