Jump to content

MediaWiki:Common.css: Difference between revisions

From www.ReeltoReel.nl Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* HP 8903A Help-stijl voor gehele MediaWiki-site */
/* Catppuccin Dark voor MediaWiki - gehele site */
/* Algemene body en achtergrond */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500&display=swap');
body {
 
    background-color: #C0C0C0; /* Klassieke Windows/HP grijze achtergrond */
/* Kleurpalet uit jouw catppuccin-dark.css */
     color: #000000;
:root {
     font-family: "Courier New", Courier, monospace; /* Monospace zoals HP help */
  --ctp-mocha-latte:     240,  18,  12%; /* rosewater, flamingo, pink, mauve */
     font-size: 12px;
  --ctp-mocha-flamingo:  251,  22,  87%;
    line-height: 1.4;
  --ctp-mocha-pink:      280,  46,  97%;
    margin: 0;
  --ctp-mocha-mauve:     252,  13,  86%;
    padding: 10px;
  --ctp-mocha-red:      331,  68,  55%;
  --ctp-mocha-maroon:   356,  66,  44%;
  --ctp-mocha-peach:     30,  80,  60%;
  --ctp-mocha-yellow:   52, 84, 74%;
  --ctp-mocha-green:     120,  57,  58%;
  --ctp-mocha-blue:     217,  71,  63%;
  --ctp-mocha-sky:      207,  70,  62%;
  --ctp-mocha-teal:      160,  74,  56%;
  --ctp-mocha-surface1:  220,  10,  10%;
  --ctp-mocha-surface2:  220,  12,  12%;
  --ctp-mocha-mantle:    220,  13,  13%;
  --ctp-mocha-base:      220,  15,  15%;
  --ctp-mocha-text:     220,  16,  18%;
  --ctp-mocha-subtext1: 220,  18,  22%;
  --ctp-mocha-subtext0: 220,  20,  26%;
}
}


/* Hoofdcontent wrapper (mw-content) */
/* Basisstyling */
#mw-content {
* {
    background-color: #FFFFFF;
  box-sizing: border-box;
    border: 2px outset #C0C0C0; /* 3D-uitstraling zoals Windows 95 help */
    margin: 10px auto;
    max-width: 800px;
    padding: 15px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
}


/* Hoofdkoppen (h1-h6) - blauw zoals HP help */
body {
h1, h2, h3, h4, h5, h6 {
  background: rgb(30, 30, 46);
    color: #000080; /* Donkerblauw HP-stijl */
  color: rgb(205, 214, 244);
    font-family: "MS Sans Serif", Arial, sans-serif;
  font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
    font-weight: bold;
  font-size: 15px;
    margin: 1em 0 0.5em 0;
  line-height: 1.6;
    padding: 2px 5px;
  margin: 0;
    border-left: 4px solid #0000FF; /* Blauwe accentlijn */
  padding: 20px;
}
}


h1 { font-size: 18px; }
/* Hoofdcontent */
h2 { font-size: 16px; }
#mw-content, .mw-body {
h3 { font-size: 14px; }
  background: rgb(36, 37, 60);
  border-radius: 8px;
  border: 1px solid rgb(49, 50, 68);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  margin: 0 auto;
  max-width: 1000px;
  padding: 30px;
}


/* Paragrafen en tekst */
/* Koppen */
p {
h1 { color: rgb(137, 180, 250); font-size: 2em; font-weight: 500; margin: 0 0 20px 0; }
    margin: 0.8em 0;
h2 { color: rgb(191, 232, 255); font-size: 1.5em; font-weight: 500; margin: 1.5em 0 0.8em 0; }
    text-align: justify;
h3 { color: rgb(180, 190, 234); font-size: 1.2em; font-weight: 500; margin: 1.2em 0 0.6em 0; }
}
h4, h5, h6 { color: rgb(152, 165, 211); }


/* Tabellen - exact HP-stijl met grijze lijnen en monospace */
/* Tabellen - Catppuccin stijl */
table {
table {
    border-collapse: collapse;
  background: rgb(36, 37, 60);
    border: 1px solid #808080;
  border: 1px solid rgb(49, 50, 68);
    font-family: "Courier New", monospace;
  border-radius: 6px;
    font-size: 11px;
  border-collapse: separate;
    margin: 1em 0;
  border-spacing: 0;
    width: 100%;
  margin: 20px 0;
  overflow: hidden;
}
}


th {
th {
    background-color: #C0C0C0;
  background: rgb(69, 71, 90);
    border: 1px solid #808080;
  border-bottom: 2px solid rgb(103, 106, 129);
    padding: 4px 8px;
  color: rgb(205, 214, 244);
    text-align: left;
  padding: 12px 16px;
    font-weight: bold;
  text-align: left;
    color: #000000;
}
}


td {
td {
    border: 1px solid #808080;
  border-bottom: 1px solid rgb(49, 50, 68);
    padding: 4px 8px;
  color: rgb(152, 165, 211);
    vertical-align: top;
  padding: 12px 16px;
}
}


/* Lijsten - simpele bullet stijl */
tr:hover {
ul, ol {
  background: rgb(49, 50, 68);
    margin: 0.5em 0;
    padding-left: 2em;
}
}


li {
/* Links */
    margin-bottom: 0.3em;
a {  
  color: rgb(137, 180, 250);
  text-decoration: none;
  transition: all 0.2s ease;
}
}
 
a:hover {
/* MediaWiki-specifieke elementen aanpassen */
  color: rgb(191, 232, 255);
#mw-panel, #p-personal {
  background: rgb(69, 71, 90);  
    background-color: #DFDFDF;
  border-radius: 4px;
    border: 1px solid #808080;
  padding: 2px 4px;
    font-size: 11px;
}
}


#firstHeading {
/* Sidebar en navigatie */
    color: #000080;
#mw-panel {
    border-bottom: 2px solid #0000FF;
  background: rgb(30, 30, 46);
    padding-bottom: 5px;
  border: 1px solid rgb(49, 50, 68);
    margin-bottom: 1em;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
}


/* Sidebar en navigatie - ingetogen HP-stijl */
#p-personal li a {
#p-navigation, #p-tb, #p-search {
  color: rgb(152, 165, 211);
    background-color: #EOEOEO;
  padding: 8px 12px;
    border: 1px solid #AOAOAO;
  border-radius: 6px;
  transition: all 0.2s;
}
}
 
#p-personal li a:hover {
/* Actie-knoppen en links */
  background: rgb(69, 71, 90);
a {
  color: rgb(205, 214, 244);
    color: #0000EE;
    text-decoration: underline;
}
}


a:hover {
/* Code blocks */
    color: #FF0000;
pre, code {
    background-color: #FFFF00; /* HP-typische hover highlight */
  background: rgb(49, 50, 68);
  border: 1px solid rgb(69, 71, 90);
  border-radius: 6px;
  color: rgb(152, 165, 211);
  padding: 12px;
  font-family: "Fira Code", monospace;
}
}


/* Footer en overige elementen */
/* Footer */
#footer {
#footer {
    background-color: #C0C0C0;
  background: rgb(30, 30, 46);
    border-top: 2px solid #808080;
  border-top: 1px solid rgb(49, 50, 68);
    margin-top: 2em;
  color: rgb(103, 106, 129);
    padding: 10px;
  padding: 20px;
    font-size: 10px;
  margin-top: 40px;
}
}


/* Verwijder moderne MediaWiki poespas */
/* Verberg moderne MediaWiki elementen */
.mw-editsection, .mw-indicators {
.mw-editsection, .mw-indicators {
    display: none;
  display: none;
}
 
/* Specifiek voor tabellen in infobox-achtige structuren */
.infobox {
    border: 2px inset #C0C0C0;
    background-color: #F0F0F0;
}
}


/* Responsive aanpassing voor kleine schermen */
/* Responsive */
@media (max-width: 768px) {
@media (max-width: 768px) {
    #mw-content {
  body { padding: 10px; }
        margin: 5px;
  #mw-content { padding: 20px; margin: 10px; }
        padding: 10px;
        border-width: 1px;
    }
}
}

Revision as of 19:37, 8 March 2026

/* Catppuccin Dark voor MediaWiki - gehele site */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500&display=swap');

/* Kleurpalet uit jouw catppuccin-dark.css */
:root {
  --ctp-mocha-latte:     240,  18,  12%; /* rosewater, flamingo, pink, mauve */
  --ctp-mocha-flamingo:  251,  22,  87%;
  --ctp-mocha-pink:      280,  46,  97%;
  --ctp-mocha-mauve:     252,  13,  86%;
  --ctp-mocha-red:       331,  68,  55%;
  --ctp-mocha-maroon:    356,  66,  44%;
  --ctp-mocha-peach:     30,  80,  60%;
  --ctp-mocha-yellow:    52,  84,  74%;
  --ctp-mocha-green:     120,  57,  58%;
  --ctp-mocha-blue:      217,  71,  63%;
  --ctp-mocha-sky:       207,  70,  62%;
  --ctp-mocha-teal:      160,  74,  56%;
  --ctp-mocha-surface1:  220,  10,  10%;
  --ctp-mocha-surface2:  220,  12,  12%;
  --ctp-mocha-mantle:    220,  13,  13%;
  --ctp-mocha-base:      220,  15,  15%;
  --ctp-mocha-text:      220,  16,  18%;
  --ctp-mocha-subtext1:  220,  18,  22%;
  --ctp-mocha-subtext0:  220,  20,  26%;
}

/* Basisstyling */
* {
  box-sizing: border-box;
}

body {
  background: rgb(30, 30, 46);
  color: rgb(205, 214, 244);
  font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
}

/* Hoofdcontent */
#mw-content, .mw-body {
  background: rgb(36, 37, 60);
  border-radius: 8px;
  border: 1px solid rgb(49, 50, 68);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  margin: 0 auto;
  max-width: 1000px;
  padding: 30px;
}

/* Koppen */
h1 { color: rgb(137, 180, 250); font-size: 2em; font-weight: 500; margin: 0 0 20px 0; }
h2 { color: rgb(191, 232, 255); font-size: 1.5em; font-weight: 500; margin: 1.5em 0 0.8em 0; }
h3 { color: rgb(180, 190, 234); font-size: 1.2em; font-weight: 500; margin: 1.2em 0 0.6em 0; }
h4, h5, h6 { color: rgb(152, 165, 211); }

/* Tabellen - Catppuccin stijl */
table {
  background: rgb(36, 37, 60);
  border: 1px solid rgb(49, 50, 68);
  border-radius: 6px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  overflow: hidden;
}

th {
  background: rgb(69, 71, 90);
  border-bottom: 2px solid rgb(103, 106, 129);
  color: rgb(205, 214, 244);
  padding: 12px 16px;
  text-align: left;
}

td {
  border-bottom: 1px solid rgb(49, 50, 68);
  color: rgb(152, 165, 211);
  padding: 12px 16px;
}

tr:hover {
  background: rgb(49, 50, 68);
}

/* Links */
a { 
  color: rgb(137, 180, 250); 
  text-decoration: none; 
  transition: all 0.2s ease;
}
a:hover { 
  color: rgb(191, 232, 255); 
  background: rgb(69, 71, 90); 
  border-radius: 4px;
  padding: 2px 4px;
}

/* Sidebar en navigatie */
#mw-panel {
  background: rgb(30, 30, 46);
  border: 1px solid rgb(49, 50, 68);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

#p-personal li a {
  color: rgb(152, 165, 211);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
#p-personal li a:hover {
  background: rgb(69, 71, 90);
  color: rgb(205, 214, 244);
}

/* Code blocks */
pre, code {
  background: rgb(49, 50, 68);
  border: 1px solid rgb(69, 71, 90);
  border-radius: 6px;
  color: rgb(152, 165, 211);
  padding: 12px;
  font-family: "Fira Code", monospace;
}

/* Footer */
#footer {
  background: rgb(30, 30, 46);
  border-top: 1px solid rgb(49, 50, 68);
  color: rgb(103, 106, 129);
  padding: 20px;
  margin-top: 40px;
}

/* Verberg moderne MediaWiki elementen */
.mw-editsection, .mw-indicators {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  body { padding: 10px; }
  #mw-content { padding: 20px; margin: 10px; }
}