사용자:Nessun/common.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
11번째 줄: 11번째 줄:
         border-top: 0 !important;
         border-top: 0 !important;
         border-bottom: 0 !important;
         border-bottom: 0 !important;
         text-align: left;
         text-align: left !important;
         display: block;
         display: block;
     }
     }
18번째 줄: 18번째 줄:
         content: attr(data-th) ": ";
         content: attr(data-th) ": ";
         font-weight: bold;
         font-weight: bold;
         width: 6.5em;
         width: 6em;
         display: inline-block;
         display: inline-block;
         margin-right: 0.3em;
         margin-right: 0.3em;
    }
    .libre-responsive-table tbody th:first-child:before,
    .libre-responsive-table tbody td:first-child:before {
        width: auto !important;
     }
     }
}
}

2019년 10월 8일 (화) 17:06 판

@media (max-width: 479px) {
    .libre-responsive-table {
        border-top: 1px solid #e1e8ed !important;
        border-bottom: 1px solid #e1e8ed !important;
    }
    .libre-responsive-table thead th {
        display: none;
    }
    .libre-responsive-table tbody th,
    .libre-responsive-table tbody td {
        border-top: 0 !important;
        border-bottom: 0 !important;
        text-align: left !important;
        display: block;
    }
    .libre-responsive-table tbody th:before,
    .libre-responsive-table tbody td:before {
        content: attr(data-th) ": ";
        font-weight: bold;
        width: 6em;
        display: inline-block;
        margin-right: 0.3em;
    }
}