MediaWiki:Common.css: Forskjell mellom sideversjoner

Fra IThjelp
Ingen redigeringsforklaring
Ingen redigeringsforklaring
 
(10 mellomliggende sideversjoner av samme bruker vises ikke)
Linje 1: Linje 1:
/* CSS plassert i denne fila vil gjelde for alle utseender. */
/* ================================================
  STUDY Academic Theme v2 for Timeless Skin
  MediaWiki:Common.css
  Perfect for: Study Wikis, Educational Documentation
  Based on Study-Common2.css color palette
  ================================================ */


/* Runde kanter på bilder? Nja, mye rart skjer... */
:root {
/* img {
    /* STUDY Academic Color Palette v2 */
     border-radius: 25px;
    --burnt-rose: #761a19;            /* Primary - Burnt Rose */
     padding: 20px;  
    --shadow-grey: #19171D;          /* Dark text/elements - Shadow Grey */
} */
     --graphite: #323033;             /* Secondary text - Graphite */
     --floral-white: #fef9f1;         /* Background - Floral White */
    --old-lace: #FDF6E7;              /* Secondary background - Old Lace */


/* Bilder (tester) */
    /* Extended palette for UI elements */
.outer {
     --burnt-rose-light: #a34d4d;     /* Lighter burnt rose for hover */
     -webkit-box-shadow: 0px 0px 10px #4d4d4d;
     --burnt-rose-dark: #6e2e2e;       /* Darker burnt rose */
     -moz-box-shadow: 0px 0px 10px #4d4d4d;
     --border-light: #e8dfd2;         /* Subtle borders */
     box-shadow: 0px 0px 10px #4d4d4d;
     --bg-white: #ffffff;             /* Pure white for content */
     -webkit-border-radius: 8px;
     --text-primary: var(--shadow-grey);    /* Primary text - shadow grey */
     -moz-border-radius: 8px;
     --text-secondary: var(--graphite);     /* Secondary text - graphite */
    -khtml-border-radius: 8px;
     border-radius: 8px;
     border:solid white 1px;
    overflow: hidden;
    padding: 1px;
}
}


body.page-Main_Page h1.firstHeading { display:none; }
/* Main page background */
body.page-Forside h1.firstHeading { display:none; }
body {
body.page-Forside div.w3-container:nth-of-type(1) {
    background-color: var(--floral-white);
  display:none;
    color: var(--text-primary);
}
}
body.page-Hovedside h1.firstHeading { display:none; }
body.page-Ecampus h1.firstHeading { display:none; }
.page-Utskriftstjenester #firstHeading, .page-Kategori_Utskriftstjenester #firstHeading { background: url(/ithjelp/skins/monobookuib/utskriftstjenester_small.png) no-repeat center left; padding: 0.8em 0 0.5em 50px; }
.page-Brukerstøtte #firstHeading, .page-Kategori_Brukerstøtte #firstHeading{ background: url(/ithjelp/skins/monobookuib/brukerstotte_small.png) no-repeat center left; padding: 0.8em 0 0.5em 50px; }
.page-E-post #firstHeading, .page-Kategori_E-post #firstHeading{ background: url(/ithjelp/skins/monobookuib/epost_small.png) no-repeat center left; padding: 0.8em 0 0.5em 50px; }
.page-Privat_datamaskin #firstHeading, .page-Kategori_Privat_datamaskin #firstHeading { background: url(/ithjelp/skins/monobookuib/privat_datamaskin_small.png) no-repeat center left; padding: 0.8em 0 0.5em 50px; }
.page-Programvare #firstHeading,.page-Kategori_Programvare #firstHeading  { background: url(/ithjelp/skins/monobookuib/programvare_small.png) no-repeat center left; padding: 0.8em 0 0.5em 50px; }


/* header logo i embeddede skjemaker skjema */
/* Header/top navigation - burnt rose */
.it-header {
#mw-header-container {
font-size: 1.2em;
    background-color: var(--burnt-rose);
position: absolute;
    border-bottom: 2px solid var(--burnt-rose-dark);
visibility: hidden;
right: 15px;
top: 10px;
}
}


#mw-header-nav-hack {
    background-color: var(--burnt-rose);
}
/* Site logo area */
#p-logo a {
    background-color: transparent;
}
/* Navigation links in header */
#mw-header-nav-hack a,
#user-tools a {
    color: var(--floral-white);
    font-weight: 500;
}
#mw-header-nav-hack a:hover,
#user-tools a:hover {
    color: var(--old-lace);
}
/* Sidebar - academic catalog style */
#mw-site-navigation,
#mw-related-navigation {
    background-color: var(--floral-white);
    border-right: 1px solid var(--border-light);
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
    background-color: transparent;
}
#mw-site-navigation h3,
#mw-related-navigation h3 {
    background-color: var(--burnt-rose);
    color: white;
    border-bottom: 2px solid var(--burnt-rose-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}
/* Sidebar links - use dark text for WCAG AA compliance */
#mw-site-navigation a,
#mw-related-navigation a {
    color: var(--text-primary);
    font-weight: 400;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
    color: var(--burnt-rose);
    background-color: rgba(118, 26, 25, 0.1);
}
/* Main content area - clean white pages */
#mw-content-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(118, 26, 25, 0.08);
}
#mw-content {
    background-color: var(--bg-white);
    color: var(--text-primary);
}
/* Page title - academic heading */
#firstHeading {
    color: var(--burnt-rose);
    border-bottom: 3px solid var(--burnt-rose-light);
    font-weight: 600;
    padding-bottom: 12px;
}
/* Content headings - hierarchical typography */
.mw-body h1 {
    color: var(--burnt-rose);
    font-weight: 600;
}
.mw-body h2 {
    color: var(--burnt-rose);
    font-weight: 600;
    border-bottom: 2px solid var(--burnt-rose-light);
    padding-bottom: 8px;
    margin-top: 32px;
}
.mw-body h3 {
    color: var(--burnt-rose-dark);
    font-weight: 600;
    margin-top: 24px;
}
.mw-body h4 {
    color: var(--text-secondary);
    font-weight: 600;
}
/* Body text - optimal readability */
.mw-body,
.mw-body p {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}
/* Links - scholarly style */
.mw-body a:not(.new) {
    color: var(--burnt-rose);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.mw-body a:not(.new):hover {
    color: var(--burnt-rose-dark);
    border-bottom-color: var(--burnt-rose-light);
}
.mw-body a:not(.new):visited {
    color: var(--burnt-rose-light);
}
/* Red links (non-existent pages) */
.mw-body a.new {
    color: #b34545;
}
/* Tabs (page actions) */
#p-namespaces ul li,
#p-views ul li {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
}
#p-namespaces ul li.selected,
#p-views ul li.selected {
    background-color: var(--bg-white);
    border-bottom-color: var(--bg-white);
    border-top: 2px solid var(--burnt-rose);
}
#p-namespaces a,
#p-views a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}
#p-namespaces ul li.selected a,
#p-views ul li.selected a {
    color: var(--burnt-rose);
}


#Mal:Skjult
/* Buttons - academic actions */
.collapse-pre-one .mw-collapsible-toggle .down, .collapse-pre-one.mw-collapsed .mw-collapsible-toggle .up {
.mw-ui-button,
     display: block;
.oo-ui-buttonElement-button {
     margin-right: 0.5em;
    background-color: var(--burnt-rose);
    color: white;
     border: none;
     font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.2s ease;
}
}
.collapse-pre-one .mw-collapsible-toggle .up, .collapse-pre-one.mw-collapsed .mw-collapsible-toggle .down {
 
     display: none;
.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover {
     background-color: var(--burnt-rose-dark);
}
}
.collapse-pre-one .mw-collapsible-toggle .up, .collapse-pre-one.mw-collapsed .mw-collapsible-toggle .down {
 
     display: block;
/* Info boxes - study notes */
     margin-right: 0.5em;
.infobox {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
     border-left: 4px solid var(--burnt-rose);
     box-shadow: 0 1px 3px rgba(118, 26, 25, 0.1);
}
}
.collapse-pre-one .mw-collapsible-toggle .down, .collapse-pre-one.mw-collapsed .mw-collapsible-toggle .up {
 
     display: none;
/* Table styling - academic data presentation */
table.wikitable {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
     color: var(--text-primary);
}
}


table.wikitable th {
    background-color: var(--burnt-rose);
    color: white;
    border: 1px solid var(--burnt-rose-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}


/* CSS placed here will be applied to all skins */
table.wikitable td {
    border: 1px solid var(--border-light);
    padding: 10px 16px;
}


body.page-Main_Page h1.firstHeading { display:none; }
table.wikitable tr:nth-child(even) {
body.page-Hovedside h1.firstHeading { display:none; }
    background-color: var(--old-lace);
body.page-Main_Page_temp h1.firstHeading { display:none; }
}


.info {
table.wikitable tr:hover {
     float: left;
     background-color: rgba(118, 26, 25, 0.08);
    margin: 3px;
}
    padding: 8px;
    width: 300px;
    border: 1px solid black;
}  


/* W3.CSS 1.9 by J.E.Refsnes. Do not remove this line. */
/* Code blocks - technical documentation */
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
pre, code {
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
    background-color: var(--old-lace);
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
    border: 1px solid var(--border-light);
body{margin:0}
    border-left: 3px solid var(--burnt-rose-light);
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}
    color: var(--text-primary);
audio,canvas,video{display:inline-block;vertical-align:baseline}
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
audio:not([controls]){display:none;height:0}
    font-size: 0.9rem;
[hidden],template{display:none}
}
a{-webkit-tap-highlight-color:transparent;background-color:transparent}
 
a:active,a:hover{outline:0}
pre {
abbr[title]{border-bottom:1px dotted}
    padding: 16px;
b,strong{font-weight:bold}
    overflow-x: auto;
dfn{font-style:italic}
}
mark{background:#ff0;color:#000}
 
small{font-size:80%}
code {
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
    padding: 2px 6px;
sup{top:-0.5em} sub{bottom:-0.25em}
}
img{border:0} svg:not(:root){overflow:hidden} figure{margin:1em 40px}
 
hr{-moz-box-sizing:content-box;box-sizing:content-box}
/* Footer - study archive style */
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
#footer,
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
#mw-footer,
button{overflow:visible}button,select{text-transform:none}
#mw-footer-container {
button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
    background-color: var(--old-lace);
button[disabled],html input[disabled]{cursor:default}
    border-top: 2px solid var(--burnt-rose-light);
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
    color: var(--text-primary) !important;
input[type=checkbox],input[type=radio]{padding:0}
    font-size: 0.875rem;
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}
}
input[type=search]{box-sizing:content-box;-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}
 
input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
/* Footer text - dark for better contrast (WCAG AA) */
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}
#footer-info,
legend{border:0;padding:0}
#footer-places,
pre,textarea{overflow:auto}
#footer-list,
optgroup{font-weight:bold}
#mw-footer ul,
/* End extract from normalize.css */
#mw-footer li {
html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}
    color: var(--text-primary) !important;
h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}
}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}
 
h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}
/* Footer links */
hr{height:0;border:0;border-top:1px solid #eee;margin:20px 0}
#footer a,
img{margin-bottom:-5px}
#mw-footer a,
table{border-collapse:collapse;border-spacing:0;width:100%;display:table}
#footer-places a,
table,th,td{border:none}
#footer-info a {
.w3-table-all{border:1px solid #ccc}
    color: var(--text-primary) !important;
.w3-bordered tr,.w3-table-all tr{border-bottom:1px solid #ddd}
    font-weight: 500;
.w3-striped tbody tr:nth-child(even){background-color:#f1f1f1}
}
.w3-table-all tr:nth-child(odd){background-color:#fff}
 
.w3-table-all tr:nth-child(even){background-color:#f1f1f1}
#footer a:hover,
.w3-hoverable tbody tr{transition:background-color .25s ease}
#mw-footer a:hover {
.w3-hoverable tbody tr:hover{background-color:#ccc}
    color: var(--burnt-rose) !important;
.w3-centered tr th,.w3-centered tr td{text-align:center}
}
.w3-table td,.w3-table th,.w3-table-all td,.w3-table-all th{padding:6px 8px;display:table-cell;text-align:left;vertical-align:top}
 
.w3-table th:first-child,.w3-table td:first-child,.w3-table-all th:first-child,.w3-table-all td:first-child{padding-left:16px}
/* Search box */
.w3-btn{border:none;display:inline-block;outline:0;padding:6px 16px;vertical-align:middle;overflow:hidden;text-decoration:none !important;color:#fff;background-color:#000;text-align:center;transition:.2s ease-out;cursor:pointer;white-space:nowrap}
#searchInput {
.w3-btn.w3-disabled,.w3-btn-floating.w3-disabled,.w3-btn:disabled,.w3-btn-floating:disabled,.w3-btn-floating-large.w3-disabled,.w3-btn-floating-large:disabled{cursor:not-allowed;opacity:0.3}
    border: 1px solid var(--border-light);
.w3-btn.w3-disabled *,.w3-btn-floating.w3-disabled *,.w3-btn:disabled *,.w3-btn-floating:disabled *{pointer-events:none}
    background-color: var(--bg-white);
.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover,.w3-btn-floating.w3-disabled:hover,.w3-btn-floating:disabled:hover,
    color: var(--text-primary);
.w3-btn-floating-large.w3-disabled:hover,.w3-btn-floating-large:disabled:hover{box-shadow:none}
    padding: 8px 12px;
.w3-btn:hover,.w3-btn-floating:hover,.w3-btn-floating-large:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
}
.w3-btn-floating,.w3-btn-floating-large{display:inline-block;text-align:center;color:#fff;background-color:#000;position:relative;overflow:hidden;z-index:1;padding:0;border-radius:50%;transition:.3s;cursor:pointer;font-size:24px}
 
.w3-btn-floating{width:40px;height:40px;line-height:40px}
#searchInput:focus {
.w3-btn-floating-large{width:56px;height:56px;line-height:56px}
    border-color: var(--burnt-rose);
.w3-btn-group .w3-btn{float:left}
    box-shadow: 0 0 0 2px rgba(118, 26, 25, 0.1);
.w3-btn.w3-ripple{position:relative}
    outline: none;
.w3-ripple:after{content:"";background:#90EE90;display:block;position:absolute;padding-top:300%;padding-left:350%;margin-left:-20px!important;margin-top:-120%;opacity:0;transition:all 0.8s}
}
.w3-ripple:active:after{padding:0;margin:0;opacity:1;transition:0s}
 
.w3-badge,.w3-tag,.w3-sign{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;font-weight:bold;text-align:center}
#searchInput::placeholder {
.w3-badge{border-radius:50%}
    color: var(--text-secondary);
.w3-blockquote{margin:0;padding:0.01em 16px;border-left:5px solid #ccc;font-style:italic}
}
ul.w3-ul{list-style-type:none;padding:0;margin:0}
 
ul.w3-ul li{padding:6px 2px 6px 16px;border-bottom:1px solid #ddd}
/* Blockquotes - citations and references */
ul.w3-ul li:last-child{border-bottom:none}
blockquote {
.w3-image,.w3-tooltip{position:relative}
    border-left: 4px solid var(--burnt-rose-light);
img.w3-image,.w3-image img{max-width:100%;height:auto}
    background-color: var(--old-lace);
.w3-image .w3-title{position:absolute;bottom:8px;left:16px;color:#fff;font-size:20px}
    padding: 16px 20px;
.w3-fluid{max-width:100%;height:auto}
    margin: 20px 0;
.w3-tooltip .w3-text{display:none}
    color: var(--text-secondary);
.w3-tooltip:hover .w3-text{display:inline-block}
    font-style: italic;
.w3-topnav{padding:8px 8px}
}
.w3-topnav a,.w3-sidenav a,.w3-dropnav a,.w3-dropdown-content a{text-decoration:none !important}
 
.w3-topnav a{padding:0 8px;border-bottom:3px solid transparent;-webkit-transition:all 0.3s ease;transition:all 0.3s ease}
/* Lists - structured documentation */
.w3-topnav a:hover{border-bottom:3px solid #fff}
.mw-body ul,
.w3-topnav .w3-dropdown-hover a{border-bottom:0}
.mw-body ol {
.w3-opennav,.w3-closenav{color:inherit}
    line-height: 1.8;
.w3-opennav:hover,.w3-closenav:hover{cursor:pointer;opacity:0.8}
    color: var(--text-primary);
.w3-sidenav{height:100%;width:200px;background-color:#fff;position:fixed !important;z-index:1;overflow:auto}
}
.w3-sidenav a{padding:4px 2px 4px 16px}
 
.w3-sidenav a:hover,.w3-sidenav a:focus{background-color:#ccc}
/* Categories and metadata */
.w3-sidenav a,.w3-dropnav a{display:block;transition:.3s}
#catlinks {
.w3-dropnav {background-color:#fff}
    background-color: var(--old-lace);
.w3-dropnav a:hover{text-decoration:underline !important}
    border: 1px solid var(--border-light);
.w3-tab div{display:none}
    color: var(--text-secondary);
.w3-tab div:target{display:block}
}
.w3-modal{z-index:1;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
 
.w3-modal:target{display:block}
/* Edit forms and inputs */
.w3-modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}.w3-closebtn{text-decoration:none;float:right;font-size:24px;font-weight:bold;color:inherit}
textarea,
.w3-closebtn:hover,.w3-closebtn:focus{color:#000;text-decoration:none;cursor:pointer}
input[type="text"],
.w3-pagination{display:inline-block;padding:0;margin:0}
input[type="search"] {
.w3-pagination li{display:inline}
    background-color: var(--bg-white);
.w3-pagination li a{text-decoration:none;color:#000;float:left;padding:8px 16px;transition:background-color .3s}
    color: var(--text-primary);
.w3-pagination li a:hover,.w3-pagination li a:focus{background-color:#ccc}
    border: 1px solid var(--border-light);
.w3-input-group,.w3-group{margin-top:24px;margin-bottom:24px}
}
.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #808080;width:100%}
 
.w3-label{color:#009688}
textarea:focus,
.w3-input:not(:valid)~.w3-validate{color:#f44336}
input[type="text"]:focus,
.w3-select{padding:4px 0;width:100%;color:#000;border:1px solid transparent;border-bottom:1px solid #009688}
input[type="search"]:focus {
.w3-select select:focus{color:#000;border:1px solid #009688}.w3-select option[disabled]{color:#009688}
    border-color: var(--burnt-rose);
.w3-dropdown-click,.w3-dropdown-hover{position:relative;display:inline-block;cursor:pointer}
    box-shadow: 0 0 0 2px rgba(118, 26, 25, 0.1);
.w3-dropdown-hover:hover .w3-dropdown-content{display:block;z-index:1}
}
.w3-dropdown-content{background-color:#fff;display:none;position:absolute;min-width:160px;margin:0;padding:0}
 
.w3-dropdown-content a{padding:6px 16px;display:block}
/* ================================================
.w3-dropdown-content a:hover{background-color:#ccc}
  Additional fixes for header text visibility
input[type=checkbox].w3-check,input[type=radio].w3-radio{width:24px;height:24px;position:relative;top:6px}
  ================================================ */
input[type=checkbox].w3-check:checked+.w3-validate,input[type=radio].w3-radio:checked+.w3-validate{color:#009688}
 
input[type=checkbox].w3-check:disabled+.w3-validate,input[type=radio].w3-radio:disabled+.w3-validate{color:#aaa}
/* Wiki name/site title in top left */
.w3-responsive{overflow-x:auto}
#p-logo a,
.w3-container:after,.w3-row:after,.w3-row-padding:after,.w3-topnav:after,.w3-clear:after,.w3-btn-group:before,.w3-btn-group:after{content:"";display:table;clear:both}
#p-logo-text a,
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-quarter{float:left;width:100%}
.mw-wiki-title,
.w3-col.s1{width:8.33333%}
#sitelogo-text {
.w3-col.s2{width:16.66666%}
    color: var(--floral-white) !important;
.w3-col.s3{width:24.99999%}
    font-weight: 600 !important;
.w3-col.s4{width:33.33333%}
    text-transform: uppercase;
.w3-col.s5{width:41.66666%}
    letter-spacing: 1px;
.w3-col.s6{width:49.99999%}
}
.w3-col.s7{width:58.33333%}
 
.w3-col.s8{width:66.66666%}
#p-logo a:hover,
.w3-col.s9{width:74.99999%}
#p-logo-text a:hover {
.w3-col.s10{width:83.33333%}
    color: var(--old-lace) !important;
.w3-col.s11{width:91.66666%}
}
.w3-col.s12,.w3-half,.w3-third,.w3-twothird,.w3-quarter{width:99.99999%}
 
@media only screen and (min-width:601px){
/* Username in top right corner */
.w3-col.m1{width:8.33333%}
#user-tools .mw-ui-icon + span,
.w3-col.m2{width:16.66666%}
#user-tools #pt-userpage a,
.w3-col.m3,.w3-quarter{width:24.99999%}
#personal h2,
.w3-col.m4,.w3-third{width:33.33333%}
#personal .mw-portlet-heading {
.w3-col.m5{width:41.66666%}
    color: var(--floral-white) !important;
.w3-col.m6,.w3-half{width:49.99999%}
    font-weight: 500 !important;
.w3-col.m7{width:58.33333%}
}
.w3-col.m8,.w3-twothird{width:66.66666%}
 
.w3-col.m9{width:74.99999%}
#user-tools #pt-userpage a:hover {
.w3-col.m10{width:83.33333%}
    color: var(--old-lace) !important;
.w3-col.m11{width:91.66666%}
}
.w3-col.m12{width:99.99999%}}
 
@media only screen and (min-width:993px){
/* Dropdown menu from username */
.w3-col.l1{width:8.33333%}
#personal .mw-portlet-body,
.w3-col.l2{width:16.66666%}
#personal ul,
.w3-col.l3,.w3-quarter{width:24.99999%}
#user-tools .dropdown,
.w3-col.l4,.w3-third{width:33.33333%}
#personal .vector-menu-content {
.w3-col.l5{width:41.66666%}
    background-color: var(--bg-white);
.w3-col.l6,.w3-half{width:49.99999%}
    border: 1px solid var(--border-light);
.w3-col.l7{width:58.33333%}
    box-shadow: 0 4px 12px rgba(118, 26, 25, 0.15);
.w3-col.l8,.w3-twothird{width:66.66666%}
}
.w3-col.l9{width:74.99999%}
 
.w3-col.l10{width:83.33333%}
#personal .mw-portlet-body a,
.w3-col.l11{width:91.66666%}
#personal ul a,
.w3-col.l12{width:99.99999%}}
#user-tools .dropdown a {
.w3-content{max-width:980px;margin:auto}
    color: var(--text-primary) !important;
.w3-rest{overflow:hidden}
    background-color: var(--bg-white);
@media (max-width:601px){.w3-modal-content{margin:50px 10px 10px 10px;width:auto !important}}
    font-weight: 400;
@media (max-width:768px){.w3-modal-content{width:500px}}
}
@media (min-width:992px){.w3-modal-content{width:900px}}
 
@media screen and (max-width:601px){.w3-topnav a{display:block}}
#personal .mw-portlet-body a:hover,
@media screen and (max-width:601px){.w3-topnav .w3-dropdown-hover .w3-dropdown-content{position:relative}}
#personal ul a:hover,
@media screen and (max-width:601px){.w3-topnav{text-align:center}}
#user-tools .dropdown a:hover {
@media (max-width:601px){.w3-hide-small{display:none !important}}
    color: var(--burnt-rose) !important;
@media (max-width:991px) and (min-width:601px){.w3-hide-medium{display:none !important}}
    background-color: var(--old-lace);
@media (min-width:992px){.w3-hide-large{display:none !important}}
}
.w3-top,.w3-bottom{position:fixed;width:100%;z-index:1}.w3-top{top:0}.w3-bottom{bottom:0}
 
.w3-left{float:left !important}.w3-right{float:right !important}
/* ================================================
.w3-hide{display:none !important}.w3-show{display:block !important}
  Icon Fixes for Dark Header Background
.w3-tiny{font-size:10px !important}
  ================================================ */
.w3-small{font-size:12px !important}
 
.w3-medium{font-size:15px !important}
/* User icon - replace with light-colored version */
.w3-large{font-size:18px !important}
#personal h2 {
.w3-xlarge{font-size:24px !important}
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="6" r="3" fill="%23fef9f1"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23fef9f1"/></svg>') !important;
.w3-xxlarge{font-size:36px !important}
}
.w3-xxxlarge{font-size:48px !important}
 
.w3-jumbo{font-size:64px !important}
/* Site tools gear icon - replace with light-colored version */
.w3-slim{font-family:"Segoe UI",Arial,sans-serif !important}
#site-tools h2 {
.w3-wide{font-family:"Segoe UI",Arial,sans-serif !important;letter-spacing:4px}
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1.5c-.85 0-1.6.55-1.85 1.35l-.35 1.1c-.25.05-.5.15-.75.25l-1-.6c-.75-.45-1.7-.3-2.3.35l-.7.7c-.65.65-.8 1.55-.35 2.3l.6 1c-.1.25-.2.5-.25.75l-1.1.35C1.05 9.4.5 10.15.5 11s.55 1.6 1.35 1.85l1.1.35c.05.25.15.5.25.75l-.6 1c-.45.75-.3 1.7.35 2.3l.7.7c.65.65 1.55.8 2.3.35l1-.6c.25.1.5.2.75.25l.35 1.1c.25.8 1 1.35 1.85 1.35s1.6-.55 1.85-1.35l.35-1.1c.25-.05.5-.15.75-.25l1 .6c.75.45 1.7.3 2.3-.35l.7-.7c.65-.65.8-1.55.35-2.3l-.6-1c.1-.25.2-.5.25-.75l1.1-.35c.8-.25 1.35-1 1.35-1.85s-.55-1.6-1.35-1.85l-1.1-.35c-.05-.25-.15-.5-.25-.75l.6-1c.45-.75.3-1.7-.35-2.3l-.7-.7c-.65-.65-1.55-.8-2.3-.35l-1 .6c-.25-.1-.5-.2-.75-.25l-.35-1.1C11.6 2.05 10.85 1.5 10 1.5zm0 5.5c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3z" fill="%23fef9f1"/></svg>') !important;
.w3-left-align{text-align:left !important}.w3-right-align{text-align:right !important}
}
.w3-justify{text-align:justify !important}
 
.w3-center{text-align:center !important}
/* Site navigation hamburger menu icon - replace with light-colored version */
.w3-circle{border-radius:50% !important}
#site-navigation h2,
.w3-round-small{border-radius:2px !important}.w3-round,.w3-round-medium{border-radius:4px !important}
#mw-site-navigation h2 {
.w3-round-large{border-radius:8px !important}.w3-round-xlarge{border-radius:16px !important}
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 4h16v2H2zm0 5h16v2H2zm0 5h16v2H2z" fill="%23fef9f1"/></svg>') !important;
.w3-round-xxlarge{border-radius:32px !important}.w3-round-jumbo{border-radius:64px !important}
}
.w3-border-0{border:0 !important}
 
.w3-border{border:1px solid #ccc !important}
/* User tools icons in header - make light colored */
.w3-border-top{border-top:1px solid #ccc !important}.w3-border-bottom{border-bottom:1px solid #ccc !important}
#user-tools .mw-ui-icon,
.w3-border-left{border-left:1px solid #ccc !important}.w3-border-right{border-right:1px solid #ccc !important}
#user-tools .mw-ui-icon:before,
.w3-margin-0{margin:0 !important}
#user-tools .mw-ui-icon:after,
.w3-margin-2{margin:2px !important}
#personal .mw-ui-icon {
.w3-margin-4{margin:4px !important}
    color: var(--floral-white) !important;
.w3-margin-8{margin:8px !important}
    fill: var(--floral-white) !important;
.w3-margin-12{margin:12px !important}
    opacity: 0.9;
.w3-margin-16{margin:16px !important}
}
.w3-margin-24{margin:24px !important}
 
.w3-margin-32{margin:32px !important}
#user-tools .mw-ui-icon:hover,
.w3-margin-64{margin:64px !important}
#personal .mw-ui-icon:hover {
.w3-margin{margin:16px !important}
    color: var(--old-lace) !important;
.w3-margin-top{margin-top:16px !important}.w3-margin-bottom{margin-bottom:16px !important}
    fill: var(--old-lace) !important;
.w3-margin-left{margin-left:16px !important}.w3-margin-right{margin-right:16px !important}
    opacity: 1;
.w3-padding-tiny{padding:2px 4px !important}
}
.w3-padding-small{padding:4px 8px !important}
.w3-padding-medium,.w3-padding,.w3-form{padding:8px 16px !important}
.w3-padding-large{padding:12px 24px !important}
.w3-padding-xlarge{padding:16px 32px !important}
.w3-padding-xxlarge{padding:24px 48px !important}
.w3-padding-jumbo{padding:32px 64px !important}
.w3-padding-0{padding:0 !important}
.w3-padding-4{padding-top:4px !important;padding-bottom:4px !important}
.w3-padding-8{padding-top:8px !important;padding-bottom:8px !important}
.w3-padding-16{padding-top:16px !important;padding-bottom:16px !important}
.w3-padding-24{padding-top:24px !important;padding-bottom:24px !important}
.w3-padding-32{padding-top:32px !important;padding-bottom:32px !important}
.w3-padding-48{padding-top:48px !important;padding-bottom:48px !important}
.w3-padding-64{padding-top:64px !important;padding-bottom:64px !important}
.w3-padding-top{padding-top:8px !important}.w3-padding-bottom{padding-bottom:8px !important}
.w3-padding-left{padding-left:16px !important}.w3-padding-right{padding-right:16px !important}
.w3-row-padding,.w3-row-padding>.w3-half,.w3-row-padding>.w3-third,.w3-row-padding>.w3-twothird,.w3-row-padding>.w3-quarter,.w3-row-padding>.w3-col{padding:0 8px}
.w3-spin{animation:w3-spin 2s infinite linear;-webkit-animation:w3-spin 2s infinite linear}
@-webkit-keyframes w3-spin{
0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}
@keyframes w3-spin{
0%{-webkit-transform:rotate(0deg);transform: rotate(0deg)}
100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}
.w3-container{padding:0.01em 16px}
.w3-example{background-color:#f1f1f1;padding:0.01em 16px}
.w3-section,.w3-paragraph{margin-top:16px;margin-bottom:16px}
.w3-code{font-family:Consolas,"courier new";font-size:16px;line-height:1.4;width:auto;background-color:#fff;padding:8px 12px;border-left:4px solid #009688;word-wrap:break-word}
.w3-example,.w3-code,.w3-reference{margin:20px 0}
.w3-card{border:1px solid #ccc}
.w3-card-2,.w3-example{box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important}
.w3-card-4{box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important}
.w3-card-8{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important}
.w3-card-12{box-shadow:0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19) !important}
.w3-card-16{box-shadow:0 16px 24px 0 rgba(0,0,0,0.22),0 25px 55px 0 rgba(0,0,0,0.21) !important}
.w3-card-24{box-shadow:0 24px 24px 0 rgba(0,0,0,0.2),0 40px 77px 0 rgba(0,0,0,0.22) !important}
.w3-animate-opacity{
-webkit-animation-name:opac;-webkit-animation-duration:4s;animation-name:opac;animation-duration:4s}
@-webkit-keyframes opac{from{opacity:0} to{opacity:1}}
@keyframes opac{from{opacity:0} to{opacity:1}}
/* TOP */
.w3-animate-top{
position:relative;-webkit-animation-name:animatetop;-webkit-animation-duration:0.4s;animation-name:animatetop;animation-duration:0.4s}
@-webkit-keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
/* LEFT */
.w3-animate-left{
position:relative;-webkit-animation-name:animateleft;-webkit-animation-duration:0.4s;animation-name:animateleft;animation-duration:0.4s}
@-webkit-keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
/* RIGHT */
.w3-animate-right{
position:relative;-webkit-animation-name:animateright;-webkit-animation-duration:0.4s;animation-name:animateright;animation-duration:0.4s}
@-webkit-keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
/* BOTTOM */
.w3-animate-bottom{
position:relative;-webkit-animation-name:animatebottom;-webkit-animation-duration:0.4s;animation-name:animatebottom;animation-duration:0.4s}
@-webkit-keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0px;opacity:1}}
@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
/* ZOOM */
.w3-animate-zoom {-webkit-animation-name:zoom;-webkit-animation-duration:0.6s;animation-name:animatezoom;animation-duration:0.6s}
@-webkit-keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
/* COLORS */
.w3-text-amber{color:#ffc107 !important}.w3-amber{color:#000 !important;background-color:#ffc107 !important}
.w3-text-aqua{color:#00ffff !important}.w3-aqua{color:#000 !important;background-color:#00ffff !important}
.w3-text-blue{color:#2196F3 !important}.w3-blue{color:#fff !important;background-color:#2196F3 !important}
.w3-text-light-blue{color:#87CEEB !important}.w3-light-blue{color:#000 !important;background-color:#87CEEB !important}
.w3-text-brown{color:#795548 !important}.w3-brown{color:#fff !important;background-color:#795548 !important}
.w3-text-cyan{color:#00bcd4 !important}.w3-cyan{color:#000 !important;background-color:#00bcd4 !important}
.w3-text-blue-grey{color:#607d8b !important}.w3-blue-grey{color:#fff !important;background-color:#607d8b !important}
.w3-text-green{color:#4CAF50 !important}.w3-green{color:#fff !important;background-color:#4CAF50 !important}
.w3-text-light-green{color:#8bc34a !important}.w3-light-green{color:#000 !important;background-color:#8bc34a !important}
.w3-text-indigo{color:#3f51b5 !important}.w3-indigo{color:#fff !important;background-color:#3f51b5 !important}
.w3-text-khaki{color:#b4aa50 !important}.w3-khaki{color:#000 !important;background-color:#f0e68c !important}
.w3-text-lime{color:#cddc39 !important}.w3-lime{color:#000 !important;background-color:#cddc39 !important}
.w3-text-orange{color:#ff9800 !important}.w3-orange{color:#000 !important;background-color:#ff9800 !important}
.w3-text-deep-orange{color:#ff5722 !important}.w3-deep-orange{color:#fff !important;background-color:#ff5722 !important}
.w3-text-pink{color:#e91e63 !important}.w3-pink{color:#fff !important;background-color:#e91e63 !important}
.w3-text-purple{color:#9c27b0 !important}.w3-purple{color:#fff !important;background-color:#9c27b0 !important}
.w3-text-deep-purple{color:#673ab7 !important}.w3-deep-purple{color:#fff !important;background-color:#673ab7 !important}
.w3-text-red{color:#f44336 !important}.w3-red{color:#fff !important;background-color:#f44336 !important}
.w3-text-sand{color:#fdf5e6 !important}.w3-sand{color:#000 !important;background-color:#fdf5e6 !important}
.w3-text-teal{color:#009688 !important}.w3-teal{color:#fff !important;background-color:#009688 !important}
.w3-text-yellow{color:#d2be0e !important}.w3-yellow{color:#000 !important;background-color:#ffeb3b !important}
.w3-text-white{color:#fff !important}.w3-white{color:#000 !important;background-color:#fff !important}
.w3-text-black{color:#000 !important}.w3-black{color:#fff !important;background-color:#000 !important}
.w3-text-grey{color:#757575 !important}.w3-grey{color:#000 !important;background-color:#9e9e9e !important}
.w3-text-light-grey{color:#f1f1f1 !important}.w3-light-grey{color:#000;background-color:#f1f1f1 !important}
.w3-text-dark-grey{color:#3a3a3a !important}.w3-dark-grey{color:white;background-color:#616161 !important}
.w3-opacity{opacity:0.60}.w3-text-shadow{text-shadow:1px 1px 0 #444}.w3-text-shadow-white{text-shadow:1px 1px 0 #ddd}

Siste sideversjon per 3. mar. 2026 kl. 10:34

/* ================================================
   STUDY Academic Theme v2 for Timeless Skin
   MediaWiki:Common.css
   Perfect for: Study Wikis, Educational Documentation
   Based on Study-Common2.css color palette
   ================================================ */

:root {
    /* STUDY Academic Color Palette v2 */
    --burnt-rose: #761a19;            /* Primary - Burnt Rose */
    --shadow-grey: #19171D;           /* Dark text/elements - Shadow Grey */
    --graphite: #323033;              /* Secondary text - Graphite */
    --floral-white: #fef9f1;          /* Background - Floral White */
    --old-lace: #FDF6E7;              /* Secondary background - Old Lace */

    /* Extended palette for UI elements */
    --burnt-rose-light: #a34d4d;      /* Lighter burnt rose for hover */
    --burnt-rose-dark: #6e2e2e;       /* Darker burnt rose */
    --border-light: #e8dfd2;          /* Subtle borders */
    --bg-white: #ffffff;              /* Pure white for content */
    --text-primary: var(--shadow-grey);     /* Primary text - shadow grey */
    --text-secondary: var(--graphite);      /* Secondary text - graphite */
}

/* Main page background */
body {
    background-color: var(--floral-white);
    color: var(--text-primary);
}

/* Header/top navigation - burnt rose */
#mw-header-container {
    background-color: var(--burnt-rose);
    border-bottom: 2px solid var(--burnt-rose-dark);
}

#mw-header-nav-hack {
    background-color: var(--burnt-rose);
}

/* Site logo area */
#p-logo a {
    background-color: transparent;
}

/* Navigation links in header */
#mw-header-nav-hack a,
#user-tools a {
    color: var(--floral-white);
    font-weight: 500;
}

#mw-header-nav-hack a:hover,
#user-tools a:hover {
    color: var(--old-lace);
}

/* Sidebar - academic catalog style */
#mw-site-navigation,
#mw-related-navigation {
    background-color: var(--floral-white);
    border-right: 1px solid var(--border-light);
}

#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
    background-color: transparent;
}

#mw-site-navigation h3,
#mw-related-navigation h3 {
    background-color: var(--burnt-rose);
    color: white;
    border-bottom: 2px solid var(--burnt-rose-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* Sidebar links - use dark text for WCAG AA compliance */
#mw-site-navigation a,
#mw-related-navigation a {
    color: var(--text-primary);
    font-weight: 400;
}

#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
    color: var(--burnt-rose);
    background-color: rgba(118, 26, 25, 0.1);
}

/* Main content area - clean white pages */
#mw-content-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(118, 26, 25, 0.08);
}

#mw-content {
    background-color: var(--bg-white);
    color: var(--text-primary);
}

/* Page title - academic heading */
#firstHeading {
    color: var(--burnt-rose);
    border-bottom: 3px solid var(--burnt-rose-light);
    font-weight: 600;
    padding-bottom: 12px;
}

/* Content headings - hierarchical typography */
.mw-body h1 {
    color: var(--burnt-rose);
    font-weight: 600;
}

.mw-body h2 {
    color: var(--burnt-rose);
    font-weight: 600;
    border-bottom: 2px solid var(--burnt-rose-light);
    padding-bottom: 8px;
    margin-top: 32px;
}

.mw-body h3 {
    color: var(--burnt-rose-dark);
    font-weight: 600;
    margin-top: 24px;
}

.mw-body h4 {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Body text - optimal readability */
.mw-body,
.mw-body p {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Links - scholarly style */
.mw-body a:not(.new) {
    color: var(--burnt-rose);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.mw-body a:not(.new):hover {
    color: var(--burnt-rose-dark);
    border-bottom-color: var(--burnt-rose-light);
}

.mw-body a:not(.new):visited {
    color: var(--burnt-rose-light);
}

/* Red links (non-existent pages) */
.mw-body a.new {
    color: #b34545;
}

/* Tabs (page actions) */
#p-namespaces ul li,
#p-views ul li {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
}

#p-namespaces ul li.selected,
#p-views ul li.selected {
    background-color: var(--bg-white);
    border-bottom-color: var(--bg-white);
    border-top: 2px solid var(--burnt-rose);
}

#p-namespaces a,
#p-views a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

#p-namespaces ul li.selected a,
#p-views ul li.selected a {
    color: var(--burnt-rose);
}

/* Buttons - academic actions */
.mw-ui-button,
.oo-ui-buttonElement-button {
    background-color: var(--burnt-rose);
    color: white;
    border: none;
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.2s ease;
}

.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover {
    background-color: var(--burnt-rose-dark);
}

/* Info boxes - study notes */
.infobox {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--burnt-rose);
    box-shadow: 0 1px 3px rgba(118, 26, 25, 0.1);
}

/* Table styling - academic data presentation */
table.wikitable {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

table.wikitable th {
    background-color: var(--burnt-rose);
    color: white;
    border: 1px solid var(--burnt-rose-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}

table.wikitable td {
    border: 1px solid var(--border-light);
    padding: 10px 16px;
}

table.wikitable tr:nth-child(even) {
    background-color: var(--old-lace);
}

table.wikitable tr:hover {
    background-color: rgba(118, 26, 25, 0.08);
}

/* Code blocks - technical documentation */
pre, code {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--burnt-rose-light);
    color: var(--text-primary);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
}

pre {
    padding: 16px;
    overflow-x: auto;
}

code {
    padding: 2px 6px;
}

/* Footer - study archive style */
#footer,
#mw-footer,
#mw-footer-container {
    background-color: var(--old-lace);
    border-top: 2px solid var(--burnt-rose-light);
    color: var(--text-primary) !important;
    font-size: 0.875rem;
}

/* Footer text - dark for better contrast (WCAG AA) */
#footer-info,
#footer-places,
#footer-list,
#mw-footer ul,
#mw-footer li {
    color: var(--text-primary) !important;
}

/* Footer links */
#footer a,
#mw-footer a,
#footer-places a,
#footer-info a {
    color: var(--text-primary) !important;
    font-weight: 500;
}

#footer a:hover,
#mw-footer a:hover {
    color: var(--burnt-rose) !important;
}

/* Search box */
#searchInput {
    border: 1px solid var(--border-light);
    background-color: var(--bg-white);
    color: var(--text-primary);
    padding: 8px 12px;
}

#searchInput:focus {
    border-color: var(--burnt-rose);
    box-shadow: 0 0 0 2px rgba(118, 26, 25, 0.1);
    outline: none;
}

#searchInput::placeholder {
    color: var(--text-secondary);
}

/* Blockquotes - citations and references */
blockquote {
    border-left: 4px solid var(--burnt-rose-light);
    background-color: var(--old-lace);
    padding: 16px 20px;
    margin: 20px 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Lists - structured documentation */
.mw-body ul,
.mw-body ol {
    line-height: 1.8;
    color: var(--text-primary);
}

/* Categories and metadata */
#catlinks {
    background-color: var(--old-lace);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

/* Edit forms and inputs */
textarea,
input[type="text"],
input[type="search"] {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus {
    border-color: var(--burnt-rose);
    box-shadow: 0 0 0 2px rgba(118, 26, 25, 0.1);
}

/* ================================================
   Additional fixes for header text visibility
   ================================================ */

/* Wiki name/site title in top left */
#p-logo a,
#p-logo-text a,
.mw-wiki-title,
#sitelogo-text {
    color: var(--floral-white) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#p-logo a:hover,
#p-logo-text a:hover {
    color: var(--old-lace) !important;
}

/* Username in top right corner */
#user-tools .mw-ui-icon + span,
#user-tools #pt-userpage a,
#personal h2,
#personal .mw-portlet-heading {
    color: var(--floral-white) !important;
    font-weight: 500 !important;
}

#user-tools #pt-userpage a:hover {
    color: var(--old-lace) !important;
}

/* Dropdown menu from username */
#personal .mw-portlet-body,
#personal ul,
#user-tools .dropdown,
#personal .vector-menu-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(118, 26, 25, 0.15);
}

#personal .mw-portlet-body a,
#personal ul a,
#user-tools .dropdown a {
    color: var(--text-primary) !important;
    background-color: var(--bg-white);
    font-weight: 400;
}

#personal .mw-portlet-body a:hover,
#personal ul a:hover,
#user-tools .dropdown a:hover {
    color: var(--burnt-rose) !important;
    background-color: var(--old-lace);
}

/* ================================================
   Icon Fixes for Dark Header Background
   ================================================ */

/* User icon - replace with light-colored version */
#personal h2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="6" r="3" fill="%23fef9f1"/><path d="M10 10c-3 0-7 2-7 5v2h14v-2c0-3-4-5-7-5z" fill="%23fef9f1"/></svg>') !important;
}

/* Site tools gear icon - replace with light-colored version */
#site-tools h2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1.5c-.85 0-1.6.55-1.85 1.35l-.35 1.1c-.25.05-.5.15-.75.25l-1-.6c-.75-.45-1.7-.3-2.3.35l-.7.7c-.65.65-.8 1.55-.35 2.3l.6 1c-.1.25-.2.5-.25.75l-1.1.35C1.05 9.4.5 10.15.5 11s.55 1.6 1.35 1.85l1.1.35c.05.25.15.5.25.75l-.6 1c-.45.75-.3 1.7.35 2.3l.7.7c.65.65 1.55.8 2.3.35l1-.6c.25.1.5.2.75.25l.35 1.1c.25.8 1 1.35 1.85 1.35s1.6-.55 1.85-1.35l.35-1.1c.25-.05.5-.15.75-.25l1 .6c.75.45 1.7.3 2.3-.35l.7-.7c.65-.65.8-1.55.35-2.3l-.6-1c.1-.25.2-.5.25-.75l1.1-.35c.8-.25 1.35-1 1.35-1.85s-.55-1.6-1.35-1.85l-1.1-.35c-.05-.25-.15-.5-.25-.75l.6-1c.45-.75.3-1.7-.35-2.3l-.7-.7c-.65-.65-1.55-.8-2.3-.35l-1 .6c-.25-.1-.5-.2-.75-.25l-.35-1.1C11.6 2.05 10.85 1.5 10 1.5zm0 5.5c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3z" fill="%23fef9f1"/></svg>') !important;
}

/* Site navigation hamburger menu icon - replace with light-colored version */
#site-navigation h2,
#mw-site-navigation h2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 4h16v2H2zm0 5h16v2H2zm0 5h16v2H2z" fill="%23fef9f1"/></svg>') !important;
}

/* User tools icons in header - make light colored */
#user-tools .mw-ui-icon,
#user-tools .mw-ui-icon:before,
#user-tools .mw-ui-icon:after,
#personal .mw-ui-icon {
    color: var(--floral-white) !important;
    fill: var(--floral-white) !important;
    opacity: 0.9;
}

#user-tools .mw-ui-icon:hover,
#personal .mw-ui-icon:hover {
    color: var(--old-lace) !important;
    fill: var(--old-lace) !important;
    opacity: 1;
}