MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
Improve infobox CSS.
No edit summary
Tag: Manual revert
(Improve infobox CSS.)
Line 601: Line 601:
     font-size: 90%;
     font-size: 90%;
     text-align: center;
     text-align: center;
    width: auto !important;
    max-width: 300px !important;
     display: flex;
     display: flex;
     position: relative;
     position: relative;
Line 608: Line 606:
     overflow-y: hidden;
     overflow-y: hidden;
     overflow-x: auto;
     overflow-x: auto;
    border-collapse: collapse;
     word-wrap: break-word;
     word-wrap: break-word;
white-space: normal !important;
white-space: normal !important;
Line 624: Line 621:
}
}


.infobox-data {
.infobox-subheader {
     text-align: center;
     text-align: center;
     background-color: #1f1e1e;
     background-color: #121212;
     border: 3px solid #242322;
     border: 2px solid #121212;
    padding: 0.2em;
}
}


.infobox-below {
.infobox-header {
    text-align: center;
    font-size: 130%;
     text-align: center;
     text-align: center;
background: #171717;
background: #171717;
Line 641: Line 639:
}
}


.infobox-header {
.infobox-label {
    background-color: #171717;
    border: 1px solid #1f1d1c;
    margin-right: 5em;
    padding: 5px;
}
 
th.infobox-label {
    text-align: right;
}
 
td.infobox-label {
text-align: center;
}
 
.infobox-data {
     text-align: center;
     text-align: center;
     font-size: 130%;
     background-color: #1f1e1e;
    border: 1px solid #242322;
    padding: 5px;
}
 
.infobox-below {
     text-align: center;
     text-align: center;
background: #171717;
background: #171717;
     border: 1px solid #121212;
     border: 1px solid #121212;
}
.infobox-subheader {
    text-align: center;
    background-color: #121212;
    border: 2px solid #121212;
}
}


Line 669: Line 681:
     background-color: #121212;
     background-color: #121212;
     border: 2px solid #121212;
     border: 2px solid #121212;
}
.infobox-label {
    background-color: #171717;
    border: 3px solid #1f1d1c;
    text-align: right;
    margin-right: 5em;
    padding: 0.2em;
}
}


Navigation menu