Skillnad mellan versioner av "Pivot.css"
Från DAU-handboken
(Skapade sidan med '→Custom colors: →top bar color: .tab-bar { background: #517398; } →style the labels: ul.side-nav label { background: #517398; color: #fff; padding...') |
Xmilpa (diskussion | bidrag) |
||
(14 mellanliggande versioner av 2 användare visas inte) | |||
Rad 2: | Rad 2: | ||
/* top bar color */ | /* top bar color */ | ||
.tab-bar { | .tab-bar { | ||
background: # | background: #1F3963; | ||
} | } | ||
/* style the labels */ | /* style the labels */ | ||
ul.side-nav label { | ul.side-nav label { | ||
background: # | background: #649DD2; | ||
color: #fff; | color: #fff; | ||
padding: .25em .5em; | padding: .25em .5em; | ||
Rad 14: | Rad 14: | ||
/* sidebar background color */ | /* sidebar background color */ | ||
body { | body { | ||
background-color: # | /* SND - background-color: #c6d8e5;*/ | ||
background-color: #fff; | |||
} | } | ||
/* SND - added color to sidebar */ | |||
#sidebar { | |||
background-color: #c6d8e5; | |||
} | |||
/* controls the main body area styling */ | /* controls the main body area styling */ | ||
Rad 21: | Rad 28: | ||
padding-top: 1.5em; | padding-top: 1.5em; | ||
padding-bottom: .5em; | padding-bottom: .5em; | ||
background-color: # | /* SND - changed to #fff from #f0f0f0*/ | ||
border-left: | background-color: #fff; | ||
/* SND - hide left border */ | |||
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 */ | ||
/* make the main page subheaders solid bars */ | /* make the main page subheaders solid bars */ | ||
.subheader { | .subheader { | ||
background: # | background: #649DD2; | ||
color: #fff; | color: #fff; | ||
text-align: center; | text-align: center; |
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; }