MediaWiki:Common.css: Difference between revisions

Added some classes for table background colors, and a 'text-center' class
Added flex-grid layout classes for div
 
(17 intermediate revisions by the same user not shown)
Line 16: Line 16:
}
}


.table-header-gray {
.wrath-table-header {
     background-color: #eee;
     background-color: #eee;
}
}


.table-cell-lightgray {
.wrath-table-cell {
     background-color: #f8f8f8;
     background-color: #f8f8f8;
}
}
Line 27: Line 27:
     text-align: center;
     text-align: center;
}
}
/* UL LI Table */
.div-table {
    width: 100%;
    border: 1px solid #aaa;
    margin: 0;
    padding: 0 2px 2px 0;
    box-sizing: border-box;
}
.ul-row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}
.li-col {
    margin: 2px 0 0 2px;
}
.li-col span {
    padding: 1px;
    margin: 2px;
}
/* Modal Start */
div.modalInfo {
    display: inline-block;
    position: relative;
    text-decoration:underline;
    text-decoration-style: dotted;
}
div.modalInfo span {
    display: none;
}
div.modalInfo:hover span {
    display:block;
    position:absolute;
    top:-40px;
    left:-40px;
    width:150px;
    border:1px solid gray;
    background-color:#eef;
    padding:2px 7px 2px 7px;
}
/* Modal End */
/* Flex Grid Layout Start */
div.flex-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    border: 1px solid #aaa;
    box-sizing: border-box;
    padding: 2px 2px 0 2px;
}
div.grid-row {
    display: grid;
    grid-column-gap: 2px;
    width: 100%; 
    margin: 0 0 2px 0;
}
div.grid-cell {
    background-color: #f8f8f8;
    padding: 2px;
}
/* Flex Grid Layout End */


/* Remove the [edit|edit source] links next to each section */
/* Remove the [edit|edit source] links next to each section */
.mw-editsection { display:none; }
.mw-editsection { display:none; }