MediaWiki:Common.css: Difference between revisions

From Tibia Idle wiki

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* NOWOCZESNA, atrakcyjna tabela 2.0 */
/* SRODEK OBRAZKÓW, BRAK RAMKI, CIENI, TŁA */
 
.wikitable td, .wikitable th {
.wikitable, .wikitable th, .wikitable td {
     vertical-align: middle !important;
    border: none !important;
     text-align: center !important;
    background: none;
}
 
.wikitable {
    border-radius: 18px !important;
    box-shadow: 0 8px 40px 0 rgba(30, 42, 73, 0.16), 0 1.5px 6px 0 rgba(30, 42, 73, 0.03);
    overflow: hidden;
    background: #f6f8fa;
    font-size: 16px;
    margin: 40px auto;
    width: 96%;
}
 
.wikitable th {
     background: linear-gradient(90deg,#e8eaed 60%,#e3e6ea 100%) !important;
    color: #212121 !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 18px;
    border-bottom: none;
     text-shadow: none;
    font-size: 17px;
}
 
.wikitable td {
    background: #fff;
    padding: 15px 18px;
    transition: background 0.18s, box-shadow 0.18s;
    font-size: 16px;
}
 
.wikitable tr {
    transition: background 0.18s;
}
 
.wikitable tr:nth-child(even) td {
    background: #f0f4f8;
}
 
.wikitable tr:hover td {
    background: #e3f0fd !important;
    box-shadow: 0 2px 10px rgba(50,130,250,0.07);
}
}


.wikitable img {
.wikitable img {
     width: 40px;
     display: inline-block !important;
     height: 40px;
     margin: 0 auto !important;
     border-radius: 10px;
     vertical-align: middle !important;
     box-shadow: 0 1px 8px rgba(60,130,230,0.10);
     box-shadow: none !important;
    border: none !important;
     background: none !important;
     background: none !important;
     padding: 0 !important;
     padding: 0 !important;
     margin-right: 3px;
     border-radius: 0 !important;
     display: block;
     /* Możesz dodać width/height jeśli chcesz, np.: */
    /* width: 40px; height: 40px; */
}
}


.wikitable a {
/* Jeśli chcesz tylko obrazki a nie tekst na środku, to użyj tego zamiast wyżej: */
     color: #1976d2;
/*
    font-weight: 600;
.wikitable td img {
     text-decoration: none;
     display: inline-block !important;
    transition: color 0.19s;
     margin: 0 auto !important;
     border-bottom: 1.5px solid rgba(30, 80, 200, 0.07);
     vertical-align: middle !important;
     padding-bottom: 2px;
     box-shadow: none !important;
}
     border: none !important;
 
     background: none !important;
.wikitable a:hover {
     padding: 0 !important;
     color: #e53935;
     border-radius: 0 !important;
     border-bottom: 1.5px solid #e53935;
     background: #f7e6e6;
     border-radius: 3px;
}
}
*/

Revision as of 17:30, 25 June 2025

/* SRODEK OBRAZKÓW, BRAK RAMKI, CIENI, TŁA */
.wikitable td, .wikitable th {
    vertical-align: middle !important;
    text-align: center !important;
}

.wikitable img {
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    /* Możesz dodać width/height jeśli chcesz, np.: */
    /* width: 40px; height: 40px; */
}

/* Jeśli chcesz tylko obrazki a nie tekst na środku, to użyj tego zamiast wyżej: */
/*
.wikitable td img {
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
*/