MediaWiki:Common.css: Difference between revisions

From Tibia Idle wiki

No edit summary
No edit summary
Tag: Reverted
Line 66: Line 66:
     background: #f7e6e6;
     background: #f7e6e6;
     border-radius: 3px;
     border-radius: 3px;
}
/* Kafelki strony głównej */
.mainpage-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 32px 0;
}
.mainpage-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px 18px 10px 18px;
    width: 180px;
    text-align: center;
    transition: box-shadow 0.15s, border 0.15s, transform 0.12s;
    cursor: pointer;
    min-height: 180px;
    position: relative;
}
.mainpage-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    border: 2px solid #bdaaff;
    transform: translateY(-3px) scale(1.03);
    z-index: 2;
}
.mainpage-card img {
    margin-bottom: 10px;
    max-width: 74px;
    max-height: 74px;
    filter: drop-shadow(0 1px 2px #bbb);
}
.mainpage-card-title {
    font-weight: bold;
    font-size: 1.15em;
    color: #7566c7;
    margin-bottom: 4px;
}
.mainpage-card-desc {
    font-size: 0.95em;
    color: #444;
}
@media (max-width: 700px) {
    .mainpage-cards {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .mainpage-card {
        width: 95vw;
        min-width: unset;
        padding: 14px 6vw 7px 6vw;
    }
}
}

Revision as of 12:53, 26 June 2025

/* NOWOCZESNA, atrakcyjna tabela */

.wikitable, .wikitable th, .wikitable td {
    border: none !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 {
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 18px;
    border-bottom: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.07);
    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 {
    width: 40px;
    height: 40px;
    padding: 3px;
    margin-right: 3px;
}

.wikitable a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.19s;
    border-bottom: 1.5px solid rgba(30, 80, 200, 0.07);
    padding-bottom: 2px;
}

.wikitable a:hover {
    color: #e53935;
    border-bottom: 1.5px solid #e53935;
    background: #f7e6e6;
    border-radius: 3px;
}

/* Kafelki strony głównej */
.mainpage-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 32px 0;
}
.mainpage-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px 18px 10px 18px;
    width: 180px;
    text-align: center;
    transition: box-shadow 0.15s, border 0.15s, transform 0.12s;
    cursor: pointer;
    min-height: 180px;
    position: relative;
}
.mainpage-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    border: 2px solid #bdaaff;
    transform: translateY(-3px) scale(1.03);
    z-index: 2;
}
.mainpage-card img {
    margin-bottom: 10px;
    max-width: 74px;
    max-height: 74px;
    filter: drop-shadow(0 1px 2px #bbb);
}
.mainpage-card-title {
    font-weight: bold;
    font-size: 1.15em;
    color: #7566c7;
    margin-bottom: 4px;
}
.mainpage-card-desc {
    font-size: 0.95em;
    color: #444;
}
@media (max-width: 700px) {
    .mainpage-cards {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .mainpage-card {
        width: 95vw;
        min-width: unset;
        padding: 14px 6vw 7px 6vw;
    }
}