MediaWiki:Monobook.css: Difference between revisions

From Voyeurweb's Wiki about Sex
Jump to navigationJump to search
No edit summary
No edit summary
Line 2,523: Line 2,523:


     /* fully hidden by default */
     /* fully hidden by default */
     transform: translateX(-100%);
     transform: translateX(-105%);
     transition: transform 0.25s ease-out;
     transition: transform 0.25s ease-out;
   }
   }

Revision as of 01:07, 27 November 2025

/* ===========================
   Layout
   =========================== */

#column-content {
    width: 100%;
    float: right;
    margin: 0 0 .6em -12.2em;
    padding: 0;
}

#content {
    margin: 137px 0 0 12.2em;
    padding: 0 1em 1.5em 1em;
    position: relative;
    z-index: 2;
    width: auto !important;      /* allow it to fill the space */
    max-width: none !important;  /* prevent old limits from kicking in */
}

#column-one {
    padding-top: 82px;
}

body {
    font: x-small sans-serif;
    background: #222;
    color: #ccc;
    margin: 0;
    padding: 0;
}

#globalWrapper {
    font-size: 127%;
    width: 100%;
    position: absolute;
    margin: 0;
    padding: 0;
}

.visualClear {
    clear: both;
}

/* ===========================
   Basic elements
   =========================== */

table {
    background: #333;
    font-size: 100%;
    color: #CCCCFF;
}

a {
    color: #ffbbbb;
    text-decoration: none;
    background: transparent;
}
a:visited {
    color: #ffdddd;
}
a:active {
    color: #ff6666;
}
a:hover {
    color: #FF0000;
    text-decoration: underline;
}

a.stub {
    color: #CCCC00;
}

a.new,
#p-personal a.new {
    color: #DD9999;
}

a.new:visited,
#p-personal a.new:visited {
    color: #FF9999;
}

img {
    border: none;
    vertical-align: middle;
}

p {
    margin: .4em 0 .5em 0;
    line-height: 1.5em;
}

p img {
    margin: 0;
}

hr {
    height: 1px;
    color: #aaa;
    background-color: #aaa;
    border: 0;
    margin: .2em 0 .2em 0;
}

/* ===========================
   Headings & lists
   =========================== */

h1, h2, h3, h4, h5, h6 {
    color: #ccc;
    background: none;
    font-weight: normal;
    margin: 0;
    padding-top: .5em;
    padding-bottom: .17em;
    border-bottom: 1px solid #bf0000;
}
h1 { font-size: 188%; }
h2 { font-size: 150%; }
h3, h4, h5, h6 {
    border-bottom: none;
    font-weight: bold;
}
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }

ul {
    line-height: 1.5em;
    list-style-type: square;
    margin: .3em 0 0 1.5em;
    padding: 0;
    list-style-image: url(bullet.gif);
}
ol {
    line-height: 1.5em;
    margin: .3em 0 0 3.2em;
    padding: 0;
    list-style-image: none;
}
li {
    margin-bottom: .1em;
}
dt {
    font-weight: bold;
    margin-bottom: .1em;
}
dl {
    margin-top: .2em;
    margin-bottom: .5em;
}
dd {
    line-height: 1.5em;
    margin-left: 2em;
    margin-bottom: .1em;
}

/* ===========================
   Forms & code
   =========================== */

fieldset {
    border: 1px solid #2f6fab;
    margin: 1em 0 1em 0;
    padding: 0 1em 1em;
    line-height: 1.5em;
}
legend {
    background: #444;
    padding: .5em;
    font-size: 95%;
}
form {
    border: none;
    margin: 0;
}

textarea {
    width: 100%;
    padding: .1em;
}

input.historysubmit {
    padding: 0 .3em .3em .3em !important;
    font-size: 94%;
    cursor: pointer;
    height: 1.7em !important;
    margin-left: 1.6em;
}
select {
    vertical-align: top;
}
abbr, acronym, .explain {
    border-bottom: 1px dotted black;
    color: #ccc;
    background: none;
    cursor: help;
}
q {
    font-family: Times, "Times New Roman", serif;
    font-style: italic;
}

code {
    background-color: #333;
}
pre {
    padding: 1em;
    border: 1px dashed #bf0000;
    color: #ccc;
    background-color: #333;
    line-height: 1.1em;
}

/* ===========================
   Main content area
   =========================== */

#siteSub {
    font-size: 84%;
    line-height: 1.2em;
    margin: 0 0 1.4em 1em;
    color: #888888;
    width: auto;
}

#jump-to-nav {
    display: none;
}

#contentSub,
#contentSub2 {
    font-size: 84%;
    line-height: 1.2em;
    margin: 0 0 1.4em 1em;
    color: #7d7d7d;
    width: auto;
}

span.subpages {
    display: block;
}

#bodyContent h1,
#bodyContent h2 {
    margin-bottom: .6em;
}
#bodyContent h3,
#bodyContent h4,
#bodyContent h5 {
    margin-bottom: .3em;
}
.firstHeading {
    margin-bottom: .1em;
}

/* user message / notices */

.usermessage {
    background-color: #000000;
    border: 1px solid #000;
    color: #ccc;
    font-weight: bold;
    margin: 2em 0 1em;
    padding: .5em 1em;
    vertical-align: middle;
}
#siteNotice {
    text-align: center;
    font-size: 95%;
    padding: 0 .9em;
}
#siteNotice p {
    margin: 0;
    padding: 0;
}
.error {
    color: red;
    font-size: larger;
}
.errorbox,
.successbox {
    font-size: larger;
    border: 2px solid;
    padding: .5em 1em;
    float: left;
    margin-bottom: 2em;
    color: #ccc;
}
.errorbox {
    border-color: red;
    background-color: #000000;
}
.successbox {
    border-color: green;
    background-color: #333333;
}
.errorbox h2,
.successbox h2 {
    font-size: 1em;
    font-weight: bold;
    display: inline;
    margin: 0 .5em 0 0;
    border: none;
}

/* categories / description */

#catlinks {
    border: 1px solid #aaa;
    background-color: #330000;
    padding: 5px;
    margin-top: 1em;
    clear: both;
}

.documentDescription {
    font-weight: bold;
    display: block;
    margin: 1em 0;
    line-height: 1.5em;
}
.documentByLine {
    text-align: right;
    font-size: 90%;
    clear: both;
    font-weight: normal;
    color: #76797c;
}

/* center helper */

.center {
    width: 100%;
    text-align: center;
}
*.center * {
    margin-left: auto;
    margin-right: auto;
}

.small,
.small * {
    font-size: 94%;
}
table.small {
    font-size: 100%;
}

/* ===========================
   TOC / warnings
   =========================== */

#toc,
.toc,
.mw-warning {
    border: 1px solid #990000;
    background-color: #333;
    padding: 5px;
    font-size: 95%;
}
#toc h2,
.toc h2 {
    display: inline;
    border: none;
    padding: 0;
    font-size: 100%;
    font-weight: bold;
}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
    text-align: center;
}
#toc ul,
.toc ul {
    list-style-type: none;
    list-style-image: none;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}
#toc ul ul,
.toc ul ul {
    margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
    font-size: 94%;
}

.mw-warning {
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
}

/* ===========================
   Images / thumbs
   =========================== */

div.floatright,
table.floatright {
    clear: right;
    float: right;
    position: relative;
    margin: 0 0 .5em .5em;
    border: 0;
}
div.floatright p { font-style: italic; }

div.floatleft,
table.floatleft {
    float: left;
    position: relative;
    margin: 0 .5em .5em 0;
    border: 0;
}
div.floatleft p { font-style: italic; }

div.thumb {
    margin-bottom: .5em;
    border-style: solid;
    border-color: #151515;
    width: auto;
}
div.thumb div {
    border: 1px solid #555;
    padding: 3px !important;
    background-color: #222222;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
}
div.thumb div a img {
    border: 1px solid #555;
}
div.thumb div div.thumbcaption {
    border: none;
    text-align: left;
    line-height: 1.4em;
    padding: .3em 0 .1em 0;
}
div.magnify {
    float: right;
    border: none !important;
    background: none !important;
}
div.magnify a,
div.magnify img {
    display: block;
    border: none !important;
    background: none !important;
}

div.tright {
    clear: right;
    float: right;
    border-width: .5em 0 .8em 1.4em;
}
div.tleft {
    float: left;
    margin-right: .5em;
    border-width: .5em 1.4em .8em 0;
}

.hiddenStructure {
    display: none;
    speak: none;
}
img.tex {
    vertical-align: middle;
}
span.texhtml {
    font-family: serif;
}

/* ===========================
   Various tables & metadata
   (kept for feature completeness)
   =========================== */

table.rimage {
    float: right;
    position: relative;
    margin-left: 1em;
    margin-bottom: 1em;
    text-align: center;
}
.toccolours {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 5px;
    font-size: 95%;
}
div.townBox {
    position: relative;
    float: right;
    background: white;
    margin-left: 1em;
    border: 1px solid gray;
    padding: .3em;
    width: 200px;
    overflow: hidden;
    clear: right;
}
div.townBox dl {
    padding: 0;
    margin: 0 0 .3em;
    font-size: 96%;
}
div.townBox dl dt {
    background: none;
    margin: .4em 0 0;
}
div.townBox dl dd {
    margin: .1em 0 0 1.1em;
    background-color: #f3f3f3;
}

.special li {
    line-height: 1.4em;
    margin: 0;
    padding: 0;
}

/* page history */

.autocomment {
    color: gray;
}
#pagehistory span.user {
    margin-left: 1.4em;
    margin-right: .4em;
}
#pagehistory span.minor {
    font-weight: bold;
}
#pagehistory li {
    border: 1px solid white;
}
#pagehistory li.selected {
    background-color: #000000;
    border: 1px dashed #aaa;
}

/* diff rendering */

table.diff,
td.diff-otitle,
td.diff-ntitle {
    background-color: black;
}
td.diff-addedline {
    background: #200000;
    font-size: smaller;
}
td.diff-deletedline {
    background: #002000;
    font-size: smaller;
}
td.diff-context {
    background: #000020;
    font-size: smaller;
}
span.diffchange {
    color: red;
    font-weight: bold;
}

/* external link icons */

#bodyContent a.external,
#bodyContent a[href ^="gopher://"] {
    background: url(external.png) center right no-repeat;
    padding-right: 13px;
}
#bodyContent a[href ^="https://"],
.link-https {
    background: url(lock_icon.gif) center right no-repeat;
    padding-right: 16px;
}
#bodyContent a[href ^="mailto:"],
.link-mailto {
    background: url(mail_icon.gif) center right no-repeat;
    padding-right: 18px;
}
#bodyContent a[href ^="news://"] {
    background: url(news_icon.png) center right no-repeat;
    padding-right: 18px;
}
#bodyContent a[href ^="ftp://"],
.link-ftp {
    background: url(file_icon.gif) center right no-repeat;
    padding-right: 18px;
}
#bodyContent a[href ^="irc://"],
.link-irc {
    background: url(discussionitem_icon.gif) center right no-repeat;
    padding-right: 18px;
}

#bodyContent a.extiw,
#bodyContent a.extiw:active {
    color: #36b;
    background: none;
    padding: 0;
}
#bodyContent a.external {
    color: #CCCCFF;
}
#bodyContent .plainlinks a {
    background: none !important;
    padding: 0 !important;
}

/* ===========================
   Portlets / sidebar boxes
   =========================== */

.portlet {
    border: none;
    margin: 0 0 .5em;
    padding: 0;
    float: none;
    width: 11.6em;
    overflow: hidden;
}
.portlet h4 {
    font-size: 95%;
    font-weight: normal;
    white-space: nowrap;
}
.portlet h5 {
    background: transparent;
    padding: 0 1em 0 .5em;
    display: inline;
    height: 1em;
    text-transform: lowercase;
    font-size: 91%;
    font-weight: normal;
    white-space: nowrap;
}
.portlet h6 {
    background: #ffae2e;
    border: 1px solid #2f6fab;
    border-style: solid solid none solid;
    padding: 0 1em 0 1em;
    text-transform: lowercase;
    display: block;
    font-size: 1em;
    height: 1.2em;
    font-weight: normal;
    white-space: nowrap;
}
.pBody {
    font-size: 95%;
    background-color: #161616;
    color: #ccc;
    border-collapse: collapse;
    border: 1px solid #bf0000;
    padding: 0 .8em .3em .5em;
}
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
    margin: 0;
    padding: 0;
}
.portlet ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(bullet.gif);
    font-size: 95%;
}
.portlet li {
    padding: 0;
    margin: 0;
}

/* ===========================
   Logo (legacy base)
   =========================== */

#p-logo {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    width: 1195px;
    overflow: visible;
}
#p-logo h5 {
    display: none;
}

/* ===========================
   Navigation / search portlets
   =========================== */

#p-navigation {
    position: relative;
    z-index: 3;
}
#p-navigation .pBody {
    padding-right: 0;
}
#p-navigation a {
    display: block;
}
#p-navigation li.active a,
#p-navigation li.active a:hover {
    text-decoration: none;
    display: inline;
    font-weight: bold;
}

/* search portlet */

#p-search {
    position: relative;
    z-index: 3;
}
input.searchButton {
    margin-top: 1px;
    font-size: 95%;
}
#searchGoButton {
    padding-left: .5em;
    padding-right: .5em;
    font-weight: bold;
}
#searchInput {
    width: 10.9em;
    margin: 0;
    font-size: 95%;
}
#p-search .pBody {
    padding: .5em .4em .4em .4em;
    text-align: center;
}

/* ===========================
   Personal tools (top-right)
   =========================== */

#p-personal {
    width: 1024px;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 0;
    top: 82px;
    z-index: 0;
    border: none;
    background: none;
    overflow: visible;
    line-height: 1.2em;
}
#p-personal h5 {
    display: none;
}
#p-personal .portlet,
#p-personal .pBody {
    padding: 0;
    margin: 0;
    border: none;
    z-index: 0;
    overflow: visible;
    background: none;
}
#p-personal ul {
    border: none;
    line-height: 1.4em;
    color: #df0000;
    padding: 0 2em 0 3em;
    margin: 0;
    text-align: right;
    text-transform: lowercase;
    list-style: none;
    z-index: 0;
    background: none;
    cursor: default;
}
#p-personal li {
    z-index: 0;
    border: none;
    padding: 0;
    display: inline;
    color: #df0000;
    margin-left: 1em;
    line-height: 1.2em;
    background: none;
}
#p-personal li.active {
    font-weight: bold;
}
#p-personal li a {
    text-decoration: none;
    color: #df0000;
    padding-bottom: .2em;
    background: none;
}
#p-personal li a:hover {
    background-color: #333;
    padding-bottom: .2em;
    text-decoration: none;
}
#p-personal li.active a:hover {
    background-color: transparent;
}
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
    background: url(user.gif) top left no-repeat;
    padding-left: 20px;
    text-transform: none;
}

/* ===========================
   Page tabs (View/Edit/etc.)
   =========================== */

/* ===========================
   CLEAN, MATCHED PAGE TABS
   =========================== */

#p-cactions {
    position: absolute !important;
    top: 100px !important;        /* sits directly under your banner */
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 0 0 10px !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    z-index: 25 !important;
}

#p-cactions h5,
#p-cactions .hiddenStructure {
    display: none !important;
}

#p-cactions ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#p-cactions li {
    display: inline-block !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* default tab look */
#p-cactions li a {
    display: inline-block !important;
    padding: 4px 12px 4px 12px !important;
    font-size: 11px !important;
    text-transform: lowercase !important;
    letter-spacing: 0.02em;
    border: 1px solid #bf0000 !important;   /* red border */
    background: #111 !important;            /* dark like sidebar */
    color: #ffbbbb !important;              /* soft red text */
    text-decoration: none !important;
    border-radius: 3px;
}

/* hover */
#p-cactions li a:hover {
    background: #330000 !important;
    color: #ffffff !important;
}

/* selected tab */
#p-cactions li.selected a {
    background: #ffae2e !important;         /* orange highlight */
    border-color: #ffae2e !important;
    color: #111 !important;
    font-weight: bold !important;
}
li#ca-talk {
    margin-right: 1.6em;
}
li#ca-watch,
li#ca-unwatch,
li#ca-varlang-0,
li#ca-print {
    margin-left: 1.6em;
}

/* ===========================
   Remaining portlets
   =========================== */

#p-tbx,
#p-lang {
    position: relative;
    z-index: 3;
}

/* ===========================
   Footer
   =========================== */

#footer {
    background-color: #333;
    border-top: 1px solid #bf0000;
    border-bottom: 1px solid #bf0000;
    margin: .6em 0 1em 0;
    padding: .4em 0 1.2em 0;
    text-align: center;
    font-size: 90%;
}
#footer li {
    display: inline;
    margin: 0 1.3em;
}
#f-poweredbyico {
    display: none;
}
head:first-child+body #footer li {
    white-space: nowrap;
}
#f-poweredbyico,
#f-copyrightico {
    margin: 0 8px;
    position: relative;
    top: -2px;
}
#f-poweredbyico {
    float: right;
    height: 1%;
}
#f-copyrightico {
    float: left;
    height: 1%;
}

/* ===========================
   Various UI tables / forms
   =========================== */

#preftoc {
    margin: 0;
    padding: 0;
    width: 100%;
    clear: both;
}
#preftoc li {
    margin: 1px -2px 1px 2px;
    float: left;
    padding: 2px 0 3px 0;
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #fff;
    border-right-color: #716f64;
    border-bottom: 0;
    position: relative;
    white-space: nowrap;
    list-style-type: none;
    list-style-image: none;
    z-index: 3;
}
#preftoc li.selected {
    font-weight: bold;
    background-color: #f8f8f8;
    border: 1px solid #aaa;
    border-bottom: none;
    cursor: default;
    top: 1px;
    padding-top: 2px;
    margin-right: -3px;
}
#preftoc > li.selected {
    top: 2px;
}
#preftoc a,
#preftoc a:active {
    display: block;
    color: #000;
    padding: 0 .7em;
    position: relative;
    text-decoration: none;
}
#preftoc li.selected a {
    cursor: default;
    text-decoration: none;
}
#prefcontrol {
    padding-top: 2em;
    clear: both;
}
#preferences {
    margin: 0;
    border: 1px solid #aaa;
    clear: both;
    padding: 1.5em;
    background-color: #F9F9F9;
}
.prefsection {
    border: none;
    padding: 0;
    margin: 0;
    color: #000000;
}
.prefsection fieldset {
    border: 1px solid #aaa;
    float: left;
    margin-right: 2em;
    color: #000000;
}
.prefsection legend {
    font-weight: bold;
}
.prefsection table,
.prefsection legend {
    background-color: #F9F9F9;
    color: #000000;
}
.mainLegend {
    display: none;
}
div.prefsectiontip {
    font-size: 95%;
    margin-top: 0;
    background-color: #550000;
    color: #FFFFFF;
    padding: .2em .7em;
    clear: both;
}
.btnSavePrefs {
    font-weight: bold;
    padding-left: .3em;
    padding-right: .3em;
}
.preferences-login {
    clear: both;
    margin-bottom: 1.5em;
}
.prefcache {
    font-size: 90%;
    margin-top: 2em;
}

div#userloginForm form,
div#userlogin form#userlogin2 {
    margin: 0 3em 1em 0;
    border: 1px solid #aaa;
    clear: both;
    padding: 1.5em 2em;
    background-color: #222222;
    float: left;
}
div#userloginForm table,
div#userlogin form#userlogin2 table {
    background-color: #FFFFFF;
}
div#userloginForm h2,
div#userlogin form#userlogin2 h2 {
    padding-top: 0;
}
div#userlogin .captcha {
    border: 1px solid #bbb;
    padding: 1.5em 2em;
    width: 400px;
    background-color: white;
}
#userloginprompt {
    font-size: 85%;
}
#login-emailforlost {
    font-size: 85%;
    line-height: 1.2;
    padding-top: 2em;
}
#userlogin .loginText,
#userlogin .loginPassword {
    width: 12em;
}
#userloginlink a,
#wpLoginattempt,
#wpCreateaccount {
    font-weight: bold;
}

/* ===========================
   Misc helpers
   =========================== */

.redirectText {
    font-size: 150%;
    margin: 5px;
}
.printfooter {
    display: none;
}
.not-patrolled {
    background-color: #ffa;
}
div.patrollink {
    font-size: 75%;
    text-align: right;
}
span.newpage,
span.minor,
span.searchmatch {
    font-weight: bold;
}
span.unpatrolled {
    font-weight: bold;
    color: red;
}
span.searchmatch {
    color: red;
}
.sharedUploadNotice {
    font-style: italic;
}
span.updatedmarker {
    color: black;
    background-color: #0f0;
}
span.newpageletter {
    font-weight: bold;
    color: black;
    background-color: yellow;
}
span.minoreditletter {
    color: black;
    background-color: #c5ffe6;
}

table.gallery {
    border: 1px solid #333;
    margin: 2px;
    padding: 2px;
    background-color: black;
}
table.gallery tr {
    vertical-align: top;
}
table.gallery td {
    vertical-align: top;
    background-color: #222222;
    border: solid 2px black;
}
div.gallerybox {
    margin: 2px;
    width: 150px;
}
div.gallerybox div.thumb {
    text-align: center;
    border: 1px solid #555;
    margin: 2px;
}
div.gallerytext {
    color: white;
    font-size: 94%;
    padding: 2px 4px;
}

span.comment {
    font-style: italic;
}
span.changedby {
    font-size: 95%;
}
.previewnote {
    text-indent: 3em;
    color: #c00;
    border-bottom: 1px solid #aaa;
    padding-bottom: 1em;
    margin-bottom: 1em;
}
.previewnote p {
    margin: 0;
    padding: 0;
}
.editExternally {
    border: 1px solid gray;
    background-color: #ffffff;
    padding: 3px;
    margin-top: 0.5em;
    float: left;
    font-size: small;
    text-align: center;
}
.editExternallyHelp {
    font-style: italic;
    color: gray;
}

li span.deleted,
span.history-deleted {
    text-decoration: line-through;
    color: #888;
    font-style: italic;
}
.toggle {
    margin-left: 2em;
    text-indent: -2em;
}

/* EXIF table */

table.mw_metadata {
    font-size: 0.8em;
    margin-left: 0.5em;
    margin-bottom: 0.5em;
    width: 300px;
}
table.mw_metadata caption {
    font-weight: bold;
}
table.mw_metadata th {
    font-weight: normal;
}
table.mw_metadata td {
    padding: 0.1em;
}
table.mw_metadata {
    border: none;
    border-collapse: collapse;
}
table.mw_metadata td,
table.mw_metadata th {
    text-align: center;
    border: 1px solid #aaaaaa;
    padding-left: 0.1em;
    padding-right: 0.1em;
}
table.mw_metadata th {
    background-color: #f9f9f9;
}
table.mw_metadata td {
    background-color: #fcfcfc;
}

/* filetoc */

ul#filetoc {
    text-align: center;
    border: 1px solid #aaaaaa;
    background-color: #141414;
    padding: 5px;
    font-size: 95%;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
}
#filetoc li {
    display: inline;
    list-style-type: none;
    padding-right: 2em;
}

/* edit buttons */

input#wpSave,
input#wpDiff {
    margin-right: 0.33em;
}
#editform .editOptions {
    display: inline;
}
#wpSave {
    font-weight: bold;
}

/* revision form */

table.revisionform_default {
    border: 1px solid #000000;
}
table.revisionform_focus {
    border: 1px solid #000000;
    background-color:#00BBFF;
}
tr.revision_tr_default {
    background-color:#EEEEEE;
}
tr.revision_tr_first {
    background-color:#DDDDDD;
}
p.revision_saved {
    color: green;
    font-weight:bold;
}
#mw_trackbacks {
    border: solid 1px #bbbbff;
    background-color: #eeeeff;
    padding: 0.2em;
}

/* all messages */

#allmessagestable th {
    background-color: #b2b2ff;
}
#allmessagestable tr.orig {
    background-color: #ffe2e2;
}
#allmessagestable tr.new {
    background-color: #e2ffe2;
}
#allmessagestable tr.def {
    background-color: #f0f0ff;
}

/* no article text */

div.noarticletext {
    border: 1px solid #bf0000;
    background: #333;
    padding: .2em 1em;
    color: #ccc;
}

/* search suggestions */

div#searchTargetContainer {
    left: 10px;
    top: 10px;
    width: 90%;
    background: white;
}
div#searchTarget {
    padding: 3px;
    margin: 5px;
    background: #F0F0F0;
    border: solid 1px blue;
}
div#searchTarget ul li {
    list-style: none;
}
div#searchTarget ul li:before {
    color: orange;
    content: "\00BB \0020";
}

/* ===========================
   MW 1.41 DARK THEME OVERRIDES
   =========================== */

html, body, #globalWrapper,
#content, #bodyContent,
.mw-body, .mw-body-content,
.mw-parser-output {
    background: #222 !important;
    color: #ccc !important;
}

.mw-body *,
.mw-parser-output * {
    color: #ccc;
}

.mw-body a,
.mw-body-content a,
.mw-parser-output a {
    color: #ffbbbb !important;
}
.mw-body a:hover,
.mw-body-content a:hover,
.mw-parser-output a:hover {
    color: #ff0000 !important;
}

/* sidebar (legacy + vector panels) */

#column-one,
#column-one .portlet,
#column-one .pBody,
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
.vector-menu-content,
.vector-menu-heading {
    background: #222 !important;
    color: #ccc !important;
    border-color: #bf0000 !important;
}

#column-one a,
#mw-panel a,
.portlet a {
    color: #ffbbbb !important;
}
#column-one a:hover {
    color: #ff0000 !important;
}

/* message boxes (core) */

.mw-message-box,
.mw-message-box-error,
.mw-message-box-warning,
.mw-message-box-success {
    background-color: #333 !important;
    color: #ccc !important;
    border-color: #bf0000 !important;
}

/* categories */

#catlinks {
    background-color: #330000 !important;
    border-color: #bf0000 !important;
    color: #ccc !important;
}
#catlinks a {
    color: #ffbbbb !important;
}
#catlinks a:hover {
    color: #ff0000 !important;
}

/* TOC dark */

#toc {
    background: #212020 !important;
    border: 1px solid #990000 !important;
}
#toc * {
    color: #ccc !important;
}
#toc a {
    color: #ffbbbb !important;
}
#toc a:hover {
    color: #ff0000 !important;
}

/* Vector header container full-width */

.vector-header-container,
.vector-header,
.vector-header-start {
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

/* Tabs under banner (override position) */

#p-cactions {
    position: absolute !important;
    top: 135px !important;
    left: 75px !important;
    margin: 0 !important;
    padding-left: 1em !important;
    z-index: 20 !important;
}

/* Personal tools inside banner, top-right */

#p-personal {
    position: absolute !important;
    top: 10px !important;
    right: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 30 !important;
}

/* ===========================
   FINAL BANNER RULE
   =========================== */

#p-logo a,
.mw-logo a,
.mw-wiki-logo,
.vector-header-logo,
.vector-header-logo a {
    display: block !important;
    width: 1195px !important;   /* banner width */
    height: 100px !important;   /* banner height */
    background-image: url(/images/VWwi.png) !important;
    background-repeat: no-repeat !important;
    background-position: left top !important;
    background-size: auto !important;  /* no scaling */
}
/* === Move page action tabs directly under banner === */
#p-cactions {
    position: absolute !important;
    top: 100px !important;   /* height of your banner */
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 0 0 !important;
    text-align: center !important;
    background: transparent !important;
    z-index: 20 !important;
}

#p-cactions ul {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

#p-cactions li {
    float: none !important;
    display: inline-block !important;
}
/* Force page action tabs to align left */
#p-cactions {
    left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
}

/* Ensure UL inside also aligns naturally */
#p-cactions ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}
/* Bigger thumbnails on Main Page (and similar pages) */
.mw-parser-output figure.mw-halign-left .mw-file-element {
    width: 300px !important;   /* change this number to taste: 150, 180, 220… */
    height: auto !important;   /* keep aspect ratio */
}

/* Optional: keep the figure wrapper tight around the new size */
.mw-parser-output figure.mw-halign-left {
    max-width: 200px !important;
}
/* Normalize top-area backgrounds to match the page */
html,
body,
#globalWrapper,
#column-content,
#content,
#bodyContent {
    background-color: #222 !important;  /* or whatever grey you’re using */
}

/* Make sure the page-actions bar itself doesn't introduce a darker strip */
#p-cactions,
#p-cactions .pBody {
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Also clear any Monobook header bar that might sit behind the tabs */
.mw-page-base,
.mw-header,
.menu-toggle {
    background: transparent !important;
    box-shadow: none !important;
}
/* ===== FINAL HEADER STRIP CLEANUP (MONOBOOK) ===== */

/* Make page + header area a uniform dark grey */
html,
body,
body.skin-monobook #globalWrapper,
body.skin-monobook #column-content,
body.skin-monobook #column-one {
    background-color: #222 !important;
}

/* Kill any special header bars Monobook's responsive mode adds */
body.skin-monobook .mw-page-base,
body.skin-monobook .mw-header,
body.skin-monobook .skin-monobook-responsive-header,
body.skin-monobook .monobook-header,
body.skin-monobook .menu-toggle {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Logo / banner area itself */
#p-logo,
#p-logo .pBody,
#p-logo a,
.mw-wiki-logo {
    background-color: #222 !important;   /* same as page */
}

/* Personal tools (top-right) should not introduce a bar */
#p-personal,
#p-personal .pBody {
    background: transparent !important;
    border: 0 !important;
}

/* Page actions nav under the banner */
#p-cactions,
#p-cactions .pBody {
    background: transparent !important;
    border: 0 !important;
}
/* === Kill black strip behind personal tools === */
#p-personal {
    background: transparent !important;
    border: 0 !important;
}

#p-personal .pBody {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* (optional) hide the "Personal tools" heading if you still see it */
#p-personal h3 {
    display: none !important;
}
/* === Personal tools: float over banner, no black bar === */

#p-personal {
    position: absolute !important;
    top: 10px !important;        /* vertical position over banner */
    right: 20px !important;      /* snug to the right edge */
    left: auto !important;       /* cancel any old left positioning */
    width: auto !important;      /* no full-width bar */
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    z-index: 50 !important;      /* above banner */
}

#p-personal .pBody {
    display: inline-block !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#p-personal ul {
    display: inline-block !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#p-personal li {
    display: inline-block !important;
    margin-left: 1em !important;
    background: transparent !important;
    border: 0 !important;
}

#p-personal a {
    background: transparent !important;
}

/* optional: hide the "Personal tools" heading if visible */
#p-personal h3 {
    display: none !important;
}
/* Final polish for personal tools over banner */

/* Kill any leftover strip / box behind the links */
#p-personal,
#p-personal .pBody,
#p-personal ul {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Position and size */
#p-personal {
    position: absolute !important;
    top: 18px !important;       /* tweak this up/down until it sits nicely */
    right: 20px !important;
    left: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 50 !important;
}

/* Inline links with a bit of spacing */
#p-personal li {
    display: inline-block !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Link styling stays flat on the banner */
#p-personal a {
    background: transparent !important;
    padding: 0 0 2px 0 !important;
}

/* Hide "Personal tools" heading if it ever peeks out */
#p-personal h3 {
    display: none !important;
}
/* --- Personal tools: no black box, float over banner --- */
#p-personal {
    position: absolute !important;
    top: 18px !important;      /* tweak up/down if needed */
    right: 20px !important;
    left: auto !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    z-index: 200 !important;   /* above banner */
}

#p-personal h3 {
    display: none !important;  /* hide "Personal tools" label */
}

#p-personal .pBody,
#p-personal ul {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#p-personal li {
    display: inline-block !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#p-personal a {
    background: transparent !important;
    padding: 0 0 2px 0 !important;
}
/* === NUKE ALL BACKGROUNDS FROM PERSONAL TOOLS === */
#p-personal,
#p-personal *,
#p-personal::before,
#p-personal::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Position links over the banner, no bar */
#p-personal {
    position: absolute !important;
    top: 18px !important;    /* adjust up/down a couple px if needed */
    right: 20px !important;
    left: auto !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    z-index: 200 !important;
}

/* Hide the "Personal tools" label if it shows */
#p-personal h3 {
    display: none !important;
}

/* Nice inline links with a bit of spacing */
#p-personal ul {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#p-personal li {
    display: inline-block !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
}
/* Override sidebar background for personal tools only */
body.skin-monobook #column-one #p-personal,
body.skin-monobook #column-one #p-personal .pBody,
body.skin-monobook #column-one #p-personal ul {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* Remove unwanted dark background from the column wrapper */
#column-one {
    background: transparent !important;
    border-color: transparent !important;
}

/* Top banner + personal tools + page tabs: NO border */
#p-logo,
#p-personal,
#p-cactions,
#p-cactions-mobile {
    border: 0 !important;
    background: transparent !important;
}
/****************************************************
 * VOYEURWEB WIKI – MODERNIZATION PACK
 * (Safe to drop at the bottom of Monobook.css)
 ****************************************************/

/* ================================================
   1. GLOBAL TYPOGRAPHY & BACKGROUND
   ================================================ */

body.skin-monobook {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    background-color: #222 !important;
    color: #ccc !important;
}

/* Make headings a bit more modern & airy */
body.skin-monobook h1,
body.skin-monobook h2,
body.skin-monobook h3,
body.skin-monobook h4 {
    letter-spacing: 0.02em;
}

/* Links – already pink/red, just smoothing */
body.skin-monobook a {
    transition: color 0.15s ease, background-color 0.15s ease;
}

/* ================================================
   2. CONTENT LAYOUT (DESKTOP)
   ================================================ */

/* Keep your banner spacing but constrain content width a bit */
body.skin-monobook #content {
    max-width: 1180px !important;
    margin: 155px auto 2.5em 12.2em !important; /* keep left offset for sidebar */
    padding: 0 24px 2.5em 24px !important;
    box-sizing: border-box;
}

/* Slight breathing room between sections */
body.skin-monobook #bodyContent > h1,
body.skin-monobook #bodyContent > h2,
body.skin-monobook #bodyContent > h3 {
    margin-top: 1.4em;
}

/* ================================================
   3. MODERNIZED PAGE TABS (READ / EDIT / etc.)
   ================================================ */

body.skin-monobook #p-cactions {
    position: absolute !important;
    top: 104px !important;                     /* right under the banner */
    left: 12.2em !important;                   /* same offset as content */
    width: calc(100% - 12.2em) !important;     /* fill remaining width */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;         /* include borders in width */
    background: transparent !important;
    border: 0 !important;
    z-index: 40 !important;
}

body.skin-monobook #p-cactions .pBody {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.skin-monobook #p-cactions ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 6px !important;
}

/* Tab items – pill style matching the site buttons */
body.skin-monobook #p-cactions li {
    display: inline-flex !important;
    align-items: center;
    border-radius: 3px;
    background: #222;
    border: 1px solid #bf0000;
    padding: 0;
    margin: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Active / selected tab */
body.skin-monobook #p-cactions li.selected {
    background: #ffe4b3;
    border-color: #ffae2e;
    font-weight: bold;
}

/* Tab links */
body.skin-monobook #p-cactions li a {
    display: block;
    padding: 4px 10px 5px 10px;
    font-size: 13px;
    text-transform: lowercase;
    color: #ffbbbb;
    background: transparent;
}

body.skin-monobook #p-cactions li.selected a {
    color: #bf0000;
}

/* Hover effect */
body.skin-monobook #p-cactions li a:hover {
    text-decoration: none;
    background: rgba(255,255,255,0.06);
}

/* Remove old heading if it appears */
body.skin-monobook #p-cactions h3 {
    display: none !important;
}

/* ================================================
   4. SIDEBAR CLEANUP
   ================================================ */

body.skin-monobook #column-one {
    padding-top: 115px !important; /* leave room for banner */
}

/* Sidebar portlets – subtle modern look */
body.skin-monobook #column-one .portlet {
    width: 12em;
}

body.skin-monobook #column-one .pBody {
    background: #151515 !important;
    border-radius: 3px;
    border-color: #bf0000 !important;
}

/* Portlet headings */
body.skin-monobook #column-one h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffae2e;
    margin-bottom: 4px;
}

/* ================================================
   5. CONTENT CARDS & THUMBNAILS
   ================================================ */

/* Give each H2 section a subtle top border that matches theme */
body.skin-monobook #bodyContent h2 {
    border-bottom-color: #bf0000 !important;
}

/* Modern “card” feel for thumb sections (you already enlarged thumbs) */
body.skin-monobook .mw-parser-output figure.mw-halign-left {
    background: #151515;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
    margin: 0.4em 1.2em 1.4em 0;
}

/* Slight padding around thumbnails inside the figures */
body.skin-monobook .mw-parser-output figure.mw-halign-left .mw-file-element {
    display: block;
}

/* TOC – already dark; just tighten */
body.skin-monobook #toc {
    border-radius: 3px;
}

/* ================================================
   6. FOOTER POLISH
   ================================================ */

body.skin-monobook #footer {
    background: #151515 !important;
    border-top: 1px solid #bf0000 !important;
    border-bottom: 1px solid #bf0000 !important;
    padding: 8px 0 14px 0 !important;
    font-size: 12px !important;
    color: #aaa !important;
}

body.skin-monobook #footer #f-list li a {
    color: #ffbbbb !important;
}

body.skin-monobook #footer #f-list li a:hover {
    color: #ff0000 !important;
}

/* ================================================
   7. RESPONSIVE TWEAKS (TABLET & MOBILE)
   ================================================ */

/* --- Tablet-ish: collapse layout a bit --- */
@media (max-width: 1024px) {
    body.skin-monobook #content {
        margin: 150px 1.2rem 2rem 13rem !important;
        padding: 0 16px 2rem 16px !important;
    }

    body.skin-monobook #p-cactions {
        padding-left: 13rem !important;
    }
}

/* --- Small screens: stack sidebar & content --- */
@media (max-width: 860px) {

    /* Sidebar goes above content, full width */
    body.skin-monobook #column-one {
        float: none !important;
        width: auto !important;
        padding-top: 120px !important;
        margin: 0 1rem !important;
    }

    body.skin-monobook #column-one .portlet {
        width: 100% !important;
        margin-bottom: 0.8rem !important;
    }

    /* Content spans full width under sidebar */
    body.skin-monobook #content {
        margin: 10px 1rem 2.5rem 1rem !important;
        max-width: none !important;
    }

    /* Tabs align with content */
    body.skin-monobook #p-cactions {
        padding-left: 1rem !important;
    }

    body.skin-monobook #p-cactions ul {
        flex-wrap: wrap !important;
    }
}

/* --- Very small phones --- */
@media (max-width: 600px) {
    body.skin-monobook #p-logo a,
    body.skin-monobook .mw-wiki-logo {
        background-size: cover !important;
        height: 72px !important;
    }

    body.skin-monobook #p-cactions {
        top: 80px !important;
    }

    body.skin-monobook #p-cactions li a {
        padding: 3px 8px 4px 8px;
        font-size: 12px;
    }

    body.skin-monobook #content {
        margin-top: 120px !important;
    }
}
/* ===== END MODERNIZATION PACK ===== */
/* ================================================
   FINAL HORIZONTAL-SCROLLBAR KILL SWITCH
   ================================================ */

/* Prevent any accidental horizontal scroll */
html,
body {
    overflow-x: hidden;
}

/* Make sure the banner never exceeds the viewport width */
body.skin-monobook #p-logo,
body.skin-monobook #p-logo a,
body.skin-monobook .mw-wiki-logo {
    width: 100% !important;
    max-width: 1195px !important;   /* your original banner width */
}
/* ================================================
   FINAL HEADER LINE CLEANUP
   – kills the faint grey rules under the banner
   ================================================ */

/* Remove the default Monobook frame around the content */
body.skin-monobook #content,
body.skin-monobook .mw-body,
body.skin-monobook .monobook-body {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Remove any header strip or border that may still draw a line */
body.skin-monobook .mw-page-base,
body.skin-monobook .mw-header,
body.skin-monobook .monobook-header {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Just in case MediaWiki injects a decorative rule before content */
body.skin-monobook #content::before {
    content: none !important;
}
/* FINAL LAYOUT ALIGNMENT FIX — locks content in the correct place */
body.skin-monobook #content {
    max-width: 1180px !important;
    width: auto !important;
    margin-left: 12.2em !important;   /* keeps perfect alignment with sidebar */
    margin-right: 0 !important;       /* prevents phantom right margin */
    margin-top: 150px !important;     /* same as before */
    margin-bottom: 2.5em !important;
}
/* === FINAL NAV BAR ALIGNMENT UNDER BANNER === */
body.skin-monobook #p-cactions {
    position: absolute !important;

    /* sit just under the 100px banner */
    top: 110px !important;

    /* align left edge with main content (same as #content margin-left) */
    left: 12.2em !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    z-index: 60 !important;
}

body.skin-monobook #p-cactions .pBody {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.skin-monobook #p-cactions ul {
    margin: 0 !important;
    padding: 0 !important;
}
/* === PUSH MAIN CONTENT DOWN SO IT CLEARS THE TAB BAR === */
body.skin-monobook #content {
    margin-top: 180px !important;   /* adjust between 165–190px depending on your screen */
}
/* === PUSH LEFT SIDEBAR DOWN TO MATCH CONTENT === */
body.skin-monobook #column-one {
    padding-top: 180px !important;   /* match #content margin-top */
}
/* === TOC LINKS — MATCH SITE LINK STYLE === */
#toc a,
#toc a:visited {
    color: #ffbbbb !important;      /* same soft pink as main links */
    text-decoration: none !important;
    background: transparent !important;
}

#toc a:hover {
    color: #ff0000 !important;      /* same red hover */
    text-decoration: underline !important;
}

/* TOC numbers and brackets also inherit link color */
#toc .tocnumber,
#toc .toctext {
    color: #ffbbbb !important;
}
/* === LEFT SIDEBAR SECTION BOXES === */
#column-one .portlet {
    border: 1px solid #bf0000 !important;   /* red outline */
    padding: 0 !important;
    margin: 0 0 12px 0 !important;          /* spacing between boxes */
    border-radius: 3px;                     /* optional: smooth corners */
}

/* Inner pBody stays dark, but inset visually */
#column-one .portlet .pBody {
    border: none !important;                /* remove double-border */
    padding: 6px 10px !important;
    background: #161616 !important;
}

/* Sidebar headings styling */
#column-one .portlet h3 {
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 4px 8px !important;
    margin: 0 !important;
    background: #161616 !important;
    color: #ffae2e !important;
    border-bottom: 1px solid #bf0000 !important; /* gives clean top band */
}
/* Remove sidebar-style borders from the top logo/banner */
#p-logo,
#p-logo .pBody,
#mw-panel #p-logo {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.mw-wiki-logo {
    border: none !important;
    background: transparent !important;
}
/* --- Absolutely no border/box around the top logo banner --- */
body.skin-monobook #p-logo,
body.skin-monobook #p-logo.portlet,
body.skin-monobook #p-logo * {
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
/* === TOC Padding Cleanup === */
#toc,
.toc {
    padding: 12px 20px !important;    /* top/bottom, left/right */
    border-radius: 4px !important;    /* optional: soft corners */
}

/* TOC list spacing */
#toc ul,
.toc ul {
    margin-top: 8px !important;
    padding-left: 0 !important;
}

#toc li,
.toc li {
    padding: 3px 0 !important;        /* space between lines */
}
/* ============================================================
   MOVE PERSONAL TOOLS BELOW PAGE ACTION TABS
   ============================================================ */

/* Move the personal tools block down below the tabs */
#p-personal {
    position: absolute !important;
    top: 150px !important;   /* Adjust this number until it sits perfectly */
    left: 12.2em !important; /* Align with main content & sidebar */
    right: auto !important;

    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    z-index: 100 !important;
}

/* Align list horizontally just like the tabs */
#p-personal ul {
    display: flex !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#p-personal li {
    display: inline-block !important;
    margin: 0 !important;
}

#p-personal a {
    padding: 2px 6px !important;
    color: #ffbbbb !important;
    text-decoration: none !important;
}

#p-personal a:hover {
    color: #ffffff !important;
    background: #330000 !important;
}
/****************************************************
 * MOBILE FIXES – MONOBOOK
 * (phones & small tablets)
 ****************************************************/

/* General reset for small screens */
@media (max-width: 860px) {

  /* Let the page shrink instead of forcing desktop width */
  body.skin-monobook #globalWrapper {
      width: 100% !important;
  }

  /* ---- Banner / logo ---- */
  body.skin-monobook #p-logo,
  body.skin-monobook #p-logo a,
  body.skin-monobook .mw-wiki-logo {
      width: 100% !important;              /* no overflow */
      max-width: 100% !important;
      height: 80px !important;             /* shorter banner on phones */
      background-size: contain !important; /* scale logo */
      background-position: center top !important;
  }

  /* ---- Personal tools (top-right links) ---- */
  body.skin-monobook #p-personal {
      top: 4px !important;
      right: 8px !important;
      font-size: 11px !important;
  }

  /* ---- Tabs (main page / discussion / read / etc.) ---- */
  body.skin-monobook #p-cactions {
      top: 84px !important;                /* just under the shrunken banner */
      padding-left: 0.75rem !important;
      padding-right: 0.75rem !important;
      overflow-x: auto !important;         /* allow sideways scroll if needed */
      white-space: nowrap !important;
  }

  body.skin-monobook #p-cactions ul {
      flex-wrap: nowrap !important;
  }

  /* ---- Content & sidebar stacking ---- */

  /* Sidebar becomes a full-width block BELOW the banner */
  body.skin-monobook #column-one {
      float: none !important;
      width: auto !important;
      padding-top: 0 !important;
      margin: 0 0.75rem 1.25rem 0.75rem !important;
  }

  body.skin-monobook #column-one .portlet {
      width: 100% !important;
      margin-bottom: 0.6rem !important;
  }

  /* Content gets full width and moves down under tabs */
  body.skin-monobook #content {
      max-width: none !important;
      margin: 120px 0.75rem 2rem 0.75rem !important;
      padding: 0 0 2rem 0 !important;
  }

  /* Keep TOC and cards nicely padded */
  body.skin-monobook #toc {
      margin-left: 0 !important;
      margin-right: 0 !important;
  }
}

/* Extra tightening for very small phones */
@media (max-width: 480px) {

  body.skin-monobook #p-personal {
      font-size: 10px !important;
  }

  body.skin-monobook #p-cactions li a {
      padding: 3px 6px 4px 6px !important;
      font-size: 11px !important;
  }

  body.skin-monobook #content {
      margin-top: 110px !important;
  }
}
/****************************************************
 * EXTRA MOBILE FIX – UNDO DESKTOP LAYOUT
 ****************************************************/
@media (max-width: 860px) {

  /* Stop the desktop two-column hack from blowing out width */
  body.skin-monobook #column-content {
      float: none !important;
      margin: 0 !important;
      width: 100% !important;
  }

  /* Don't absolutely-position the whole page on phones */
  body.skin-monobook #globalWrapper {
      position: static !important;
      width: 100% !important;
  }

  /* Make sure body can't be wider than the viewport */
  html, body {
      max-width: 100% !important;
      overflow-x: hidden !important;
  }

  /* Slightly larger text for readability */
  body.skin-monobook {
      font-size: 16px !important;
      line-height: 1.7 !important;
  }
}
/* ==== MOBILE HAMBURGER / SIDEBAR ==== */

@media (max-width: 900px) {

  /* Hide the checkbox itself */
  #mobile-nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* Hamburger button */
  #mobile-nav-toggle-label {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border: 2px solid #ff6f61;  /* use your red border color */
    border-radius: 6px;
    background: #1f1f1f;        /* match site header */
    cursor: pointer;
    z-index: 2000;
    box-sizing: border-box;
  }

  #mobile-nav-toggle-label::before,
  #mobile-nav-toggle-label::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    background: #ffd0c4;        /* your light pink link color */
    transition:
      transform 0.22s ease,
      top 0.22s ease,
      box-shadow 0.22s ease,
      opacity 0.22s ease;
  }

  /* three bars (hamburger) using one element + box-shadow */
  #mobile-nav-toggle-label::before {
    top: 11px;
    box-shadow:
      0 -6px 0 #ffd0c4,
      0  6px 0 #ffd0c4;
  }

  /* hidden center bar (used for the X) */
  #mobile-nav-toggle-label::after {
    top: 11px;
    opacity: 0;
  }

  /* Turn into X when checked */
  #mobile-nav-toggle:checked ~ #mobile-nav-toggle-label::before {
    box-shadow: none;
    top: 11px;
    transform: rotate(45deg);
  }

  #mobile-nav-toggle:checked ~ #mobile-nav-toggle-label::after {
    opacity: 1;
    top: 11px;
    transform: rotate(-45deg);
  }

  /* Hide MediaWiki's default menu toggles on mobile */
  .menu-toggle {
    display: none !important;
  }

  /* prevent any horizontal sliver from showing */
  html, body {
    overflow-x: hidden;
  }

  #column-one {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;              /* panel width */
    box-sizing: border-box;     /* width includes padding + border */
    height: 100vh;
    overflow-y: auto;
    background: #111;
    z-index: 1500;
    padding-top: 60px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.6);

    /* fully hidden by default */
    transform: translateX(-105%);
    transition: transform 0.25s ease-out;
  }

  #mobile-nav-toggle:checked ~ #column-one {
    transform: translateX(0);
  }

  #column-content {
    margin-left: 0 !important;
  }
}