Nenda kwa yaliyomo

MediaWiki:Gadget-TwoColumnTable.css

Kutoka wikishia

Elewa - Baada ya kuhifadhi, itakubidi uzungushe kivinjali kache chako ili kuona mabadiliko.

  • Firefox / Safari: Shikiria Shift wakati unabonyeza Reload, au aidha bonyeza Ctrl-F5 au Ctrl-R (⌘-R kwa Mac);
  • Google Chrome: Bonyeza Ctrl-Shift-R (⌘-Shift-R kwa Mac)
  • Konqueror: Bonyeza Reload au bonyeza F5;
  • Opera: Futa kache kwenye Tools → Preferences;
  • Internet Explorer: Shikiria Ctrl wakati unabonyeza Refresh, au bonyeza Ctrl-F5.
.responsive-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #000000;
    direction: rtl;
}

.table-row {
    display: table-row;
    background-color: #ffffff;
    text-align: justify;
}

.table-row:nth-child(even) {
    background-color: #f0f8ff;
}

.table-cell {
    padding: 16px;
    border: 1px solid #ddd;
    display: table-cell;
    vertical-align: middle;
    transition: background-color 0.3s ease;
    width: 50%;
}

.table-cell:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.right-cell {
    font-family: 'AdobeArabic-Regular', sans-serif;
    font-size: 20px!important;
    color: #203A8E;
	text-align: right;
    direction: rtl;
}

.left-cell {
    font-family: 'iransansxlight', sans-serif;
    font-size: 14px;
    color: #119E9E;
	direction: ltr;
    text-align: left;
}

.night-mode .responsive-table {
    background-color: #121212;
    color: #ffffff;
}

.night-mode .table-row:nth-child(even) {
    background-color: #1e1e1e;
}

.font-smaller .right-cell, .font-smaller .left-cell {
    font-size: 14px;
}

.font-larger .right-cell, .font-larger .left-cell {
    font-size: 14px;
}

@media (max-width: 768px) {
    .table-row {
        display: block;
        margin-bottom: 8px;
        background-color: #ffffff;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .table-cell {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        border: none;
        margin-bottom: 8px;
    }

    .table-cell:last-child {
        margin-bottom: 0;
    }
}