Jump to content

MediaWiki:Common.css: Difference between revisions

From Archive
No edit summary
No edit summary
Line 1: Line 1:
/* Remove MediaWiki branding and clutter */
/* NUCLEAR MEDIAWIKI CLEANUP */
#mw-page-base,
 
#mw-head-base,
/* Hide ALL the sidebar crap */
.mw-wiki-logo,
/*
#mw-panel,
#mw-navigation,
.mw-portlet,
#p-navigation,
#p-tb,
#p-cactions,
#p-personal,
#p-search,
#p-logo,
#p-logo,
.printfooter,
.mw-wiki-logo {
.catlinks,
     visibility: hidden;
#footer-info,
#footer-places,
.mw-editsection,
.mw-jump-link {
     display: none !important;
}
}
*/


/* Hide edit links unless hovering */
#p-search,
.mw-editsection {
#p-logo,
    opacity: 0;
.mw-wiki-logo {
    transition: opacity 0.3s ease;
     visibility: hidden;
}
.mw-body:hover .mw-editsection {
     opacity: 1;
}
}


/* Minimal page tabs */
#p-views ul li {
    background: none;
    border: none;
    margin: 0 10px 0 0;
}


#p-views ul li a {
 
    background: none !important;
/* Hide page tabs and actions */
    color: #888 !important;
#p-views,
    border: none !important;
#p-cactions,
    padding: 5px 0 !important;
#ca-nstab-main,
    font-family: 'JetBrains Mono', monospace;
#ca-talk,
     font-size: 0.9em;
#ca-edit,
#ca-history,
#ca-protect,
#ca-delete,
#ca-move,
#ca-watch,
.mw-editsection {
     display: none !important;
}
}


#p-views ul li.selected a {
/* Hide footer completely */
    color: #fff !important;
#footer,
     border-bottom: 2px solid #88c0d0 !important;
.printfooter,
#catlinks,
#f-poweredbyico,
#f-copyrightico {
     display: none !important;
}
}


/* Clean up the main content area */
/* Clean up the main content area */
.mw-body {
.mw-body {
     margin-left: 0 !important;
     margin: 0 !important;
     border: none !important;
     border: none !important;
     padding: 20px !important;
     padding: 40px !important;
    background: transparent !important;
}
}


/* Remove all borders and backgrounds */
#content {
#content {
    margin-left: 0 !important;
     background: transparent !important;
     background: transparent !important;
     border: none !important;
     border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
}


/* Clean sidebar */
/* Typography overrides */
#mw-panel {
.mw-body h1 {
    background: transparent !important;
     color: #e5e5e5 !important;
    border: none !important;
    width: 200px !important;
}
 
#mw-panel .portal {
    background: none !important;
    border: none !important;
    margin: 0 0 20px 0 !important;
}
 
#mw-panel .portal h3 {
    background: none !important;
    border: none !important;
    color: #888 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.9em !important;
    font-weight: normal !important;
    padding: 5px 0 !important;
}
 
#mw-panel .portal .body ul li a {
     color: #ccc !important;
     font-family: 'JetBrains Mono', monospace !important;
     font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.85em !important;
    padding: 3px 0 !important;
}
#mw-panel .portal .body ul li a:hover {
    color: #88c0d0 !important;
    text-decoration: none !important;
}
/* Clean typography hierarchy */
.mw-body h1,
.mw-body h2,
.mw-body h3 {
     border-bottom: none !important;
     border-bottom: none !important;
    font-family: 'JetBrains Mono', monospace !important;
     font-size: 2em !important;
    font-weight: normal !important;
    color: #e5e5e5 !important;
}
 
.mw-body h1 {
     font-size: 1.8em !important;
    margin: 0 0 20px 0 !important;
}
}


Line 120: Line 81:
}
}


.mw-body h3::before {
/* Test that this is working */
    content: "▪ ";
body {
    color: #a3be8c;
     background: #1a1a1a !important;
}
 
/* Body text */
.mw-body p {
     color: #ccc !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
}
 
/* Links */
.mw-body a {
    color: #88c0d0 !important;
    text-decoration: none !important;
}
 
.mw-body a:hover {
    color: #5e81ac !important;
    text-decoration: underline !important;
}
}

Revision as of 18:05, 31 May 2025

/* NUCLEAR MEDIAWIKI CLEANUP */

/* Hide ALL the sidebar crap */
/*
#mw-panel,
#mw-navigation,
.mw-portlet,
#p-navigation,
#p-tb,
#p-cactions,
#p-personal,
#p-search,
#p-logo,
.mw-wiki-logo {
    visibility: hidden;
}
*/

#p-search,
#p-logo,
.mw-wiki-logo {
    visibility: hidden;
}



/* Hide page tabs and actions */
#p-views,
#p-cactions,
#ca-nstab-main,
#ca-talk,
#ca-edit,
#ca-history,
#ca-protect,
#ca-delete,
#ca-move,
#ca-watch,
.mw-editsection {
    display: none !important;
}

/* Hide footer completely */
#footer,
.printfooter,
#catlinks,
#f-poweredbyico,
#f-copyrightico {
    display: none !important;
}

/* Clean up the main content area */
.mw-body {
    margin: 0 !important;
    border: none !important;
    padding: 40px !important;
    background: transparent !important;
}

#content {
    margin-left: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Typography overrides */
.mw-body h1 {
    color: #e5e5e5 !important;
    font-family: 'JetBrains Mono', monospace !important;
    border-bottom: none !important;
    font-size: 2em !important;
}

.mw-body h1::before {
    content: "◆ ";
    color: #88c0d0;
}

.mw-body h2::before {
    content: "○ ";
    color: #d08770;
}

/* Test that this is working */
body {
    background: #1a1a1a !important;
}