MediaWiki:Common.css: Difference between revisions

Remove legacy tab colors
Add TOC styles
Line 368: Line 368:
}
}
.plainlist li::before {
.plainlist li::before {
     content: "";
     content: "???";
     color: #611313;
     color: #611313;
     margin-right: 6px;
     margin-right: 6px;
Line 691: Line 691:
     }
     }


     /* Personal tools: Create account / Log in top right corner */
     /* Personal tools: Create account / Log in ??? top right corner */
     #p-personal {
     #p-personal {
         position: absolute !important;
         position: absolute !important;
Line 886: Line 886:
  font-family: \PT Serif\, Georgia, serif;
  font-family: \PT Serif\, Georgia, serif;
  color: #4a3c28;
  color: #4a3c28;
}
/* --- TOC Styling --- */
.toc, .mw-parser-output .toc {
    background-color: transparent !important;
    border: 1px solid #7d6b54 !important;
    padding: 10px 15px !important;
    display: inline-block;
    color: #2b2b2b;
    border-radius: 2px;
    margin-bottom: 15px;
}
.toc, .mw-parser-output .toc {
    background-color: #dfd0b6 !important;
}
.toc h2, .toc .toctitle {
    border-bottom: none !important;
    text-align: center;
    font-family: 'PT Serif', serif !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: #4a3c28 !important;
}
.toc ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 8px !important;
}
.toc ul ul {
    padding-left: 1.5em !important;
}
.toc li {
    margin-bottom: 4px !important;
    font-size: 0.9em;
}
.toc a {
    color: #5a3c21 !important;
    text-decoration: none !important;
}
.toc a:hover {
    text-decoration: underline !important;
}
}