MediaWiki:Common.css: Difference between revisions

From Meanderings
Jump to navigation Jump to search
Cleaned up modal boxes
m test
Line 73: Line 73:
     position:absolute;
     position:absolute;
     top:-40px;
     top:-40px;
     width:20em;
    left:-40px;
     width:100px;
     border:1px solid gray;
     border:1px solid gray;
     background-color:#eef;  
     background-color:#eef;  

Revision as of 21:52, 2 November 2024

/* CSS placed here will be applied to all skins */

img.forty-percent-width {
    width: 40%;
    height: auto;
}

img.eighty-percent-width {
    width: 80%;
    height: auto;
}

img.full-width {
    width: 100%;
    height: auto;
}

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

.wrath-table-cell {
    background-color: #f8f8f8;
}

.text-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:100px;
    border:1px solid gray;
    background-color:#eef; 
    padding:2px 7px 2px 7px;
}

/* Modal End */

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