MediaWiki:Mobile.css: Difference between revisions

From Meanderings
Jump to navigation Jump to search
Added some Wrath and Glory classes, and a 'text-center' class.
 
added modal support
 
Line 12: Line 12:
     text-align: center;
     text-align: center;
}
}
/* 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 */

Latest revision as of 21:59, 2 November 2024

/* All CSS here will be loaded for users of the mobile site */

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

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

.text-center {
    text-align: center;
}

/* 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 */