사용자:Senior9324/lab.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
28번째 줄: 28번째 줄:
#libre-frontpage .column-container {
#libre-frontpage .column-container {
     display: table;
     display: table;
    width: 100%;/* 임시 */
}
}
#libre-frontpage .column:first-child {
#libre-frontpage .column:first-child {

2015년 5월 24일 (일) 18:13 판

/**
 *실험용 CSS입니다.
 */
#mw-content-text h1 > .mw-headline {
  border: 1px solid red;
}

/* ===================================================================
 * 대문용 CSS
 * by Leia0207
 * =================================================================== */
#libre-frontpage .block {
    clear: both;
    width: 100%;
}
#libre-frontpage .block-head {
    padding-top: 2px;
    background-color: #A3CCA3;
    color: #336633;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-align: center;
}
#libre-frontpage .compactinfobox {
    margin: 0.5em auto;
}
#libre-frontpage .column-container {
    display: table;
    width: 100%;/* 임시 */
}
#libre-frontpage .column:first-child {
    width: 34%;
}
#libre-frontpage .column {
    border: 3px solid #A3CCA3;
    display: table-cell;
    float: none !important;/* 임시 */
    width: 33%;
    width: calc(100% / 3) !important;
}
#libre-frontpage .column-head {
    background-color: #B4D6B4;
    color: #336633;
    text-align: center;
    font-size: 16px;
}
#libre-frontpage .block-head a,
#libre-frontpage .column-head a {
    color: inherit;
}
@media (min-width: 550px) {
    #libre-frontpage .compactinfobox {
        margin: 0.5em;
        float: right;
    }
}
/*@media (max-width: 768px) {
    #libre-frontpage .column {
        width: 100% !important;
        height: auto;
    }
}*/
/* =================================================================== */