Ero sivun ”Käyttäjä:Vouti/common.css” versioiden välillä

Kohteesta Pompelipedia
Loikkaa: valikkoon, hakuun
p (Jospa nyt?)
(Testailua.)
 
(2 välissä olevaa versiota samalta käyttäjältä ei näytetä)
Rivi 1: Rivi 1:
/* Omaksi huvikseni.
+
@media screen and (max-width: 600px) {
–– Vouti
+
     .artikkelimalline {
*/
+
        width: 100% !important;
 
+
        display: block;
body, #mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, .mw-body {
+
     }
    background-color: #1a1a1a;
+
     .artikkelimalline tbody, .artikkelimalline tr, .artikkelimalline th, .artikkelimalline td {
    color: #d1d1d1;
+
        display: block;
}
+
        width: 100% !important;
 
+
        box-sizing: border-box;
h1, h2, h3, h4, h5, h6, p, li, dd, dt, .mw-body-content {
+
     }
     color: #e0e0e0;
+
     .artikkelimalline_alaotsikko {
}
+
        text-align: center;
 
+
     }
a { color: #5db0ee; }
 
a:visited { color: #a389d4; }
 
a.new { color: #ff6b6b; }
 
 
 
/* Omia luokkiamme, ylikirjoitettu. */
 
 
 
.artikkelimalline, .artikkelimalline_levea {
 
    background-color: #252525 !important;
 
    border: 1px solid #444 !important;
 
    box-shadow: 3px 3px 6px #000 !important;
 
     color: #ddd !important;
 
}
 
 
 
.artikkelimalline_otsikko {
 
    background-color: #b34200 !important;
 
     color: #fff !important;
 
}
 
 
 
.artikkelimalline_alaotsikko {
 
    background-color: #333 !important;
 
    color: #fff !important;
 
}
 
 
 
.artikkelimalline th, .artikkelimalline td,  
 
.artikkelimalline_levea td, .artikkelimalline_levea th {
 
    border-top: 1px solid #333 !important;
 
}
 
 
 
.infobox {
 
    background-color: #252525 !important;
 
    border: 1px solid #444 !important;
 
    color: #ddd !important;
 
}
 
 
 
table.wikitable, table.prettytable {
 
    background-color: #222 !important;
 
    border: 1px solid #444 !important;
 
    color: #eee !important;
 
}
 
 
 
table.wikitable th, table.wikitable td {
 
    border: 1px solid #444 !important;
 
    background-color: #2d2d2d !important;
 
    color: #eee !important;
 
}
 
 
 
table.wikitable th {
 
    background-color: #3a3a3a !important;
 
}
 
 
 
table.ambox {
 
    background-color: #252525 !important;
 
    color: #eee !important;
 
    border: 1px solid #444 !important;
 
}
 
 
 
div.NavFrame {
 
    background-color: #1a1a1a !important;
 
    border: 1px solid #444 !important;
 
}
 
 
 
div.NavFrame div.NavHead {
 
    background-color: #333 !important;
 
    color: #5db0ee !important;
 
}
 
 
 
input#searchInput {
 
    background-color: #333 !important;
 
    color: #fff !important;
 
    border: 1px solid #555 !important;
 
}
 
 
 
#wpTextbox1 {
 
    background-color: #222 !important;
 
     color: #eee !important;
 
    border: 1px solid #444 !important;
 
}
 
 
 
input#wpSummary {
 
    background-color: #333 !important;
 
    color: #fff !important;
 
     border: 1px solid #555 !important;
 
}
 
 
 
 
 
#mw-panel .portal h3 { color: #aaa !important; }
 
#mw-panel .portal .body ul li a { color: #5db0ee !important; }
 
 
 
#p-cactions li a, #p-personal li a {
 
    background-color: #252525 !important;
 
     color: #5db0ee !important;
 
}
 
 
 
#p-cactions li.selected a {
 
    background-color: #1a1a1a !important;
 
    color: #fff !important;
 
    font-weight: bold !important;
 
}
 
 
 
ol.references li:target, sup.reference:target {
 
    background-color: #334455 !important;
 
 
}
 
}

Nykyinen versio 25. huhtikuuta 2026 kello 22.36

@media screen and (max-width: 600px) {
    .artikkelimalline {
        width: 100% !important;
        display: block;
    }
    .artikkelimalline tbody, .artikkelimalline tr, .artikkelimalline th, .artikkelimalline td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .artikkelimalline_alaotsikko {
        text-align: center;
    }
}