Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 251: Line 251:
     background: #0f0;
     background: #0f0;
     font-weight: unset;
     font-weight: unset;
}
/* Math */
mjx-container {
    font-size: 85%!important;
}
}


Line 257: Line 263:
/***********************/
/***********************/


div.math-typesetting p {
    margin: 0 0 2em;
    text-indent: 1.5em;
}


div.math-block mjx-container {
    font-size: 117.4%!important;
}


div.math-block {
    text-align: center;
}




Line 312: Line 328:
}
}


/* Grid3Col */
/* Grid Templates */
.grid-3-col {
.grid-3-col {
     display: grid;
     display: grid;
Line 323: Line 339:
     grid-template-columns: 1fr 1fr;
     grid-template-columns: 1fr 1fr;
     gap: 1em;
     gap: 1em;
}
@media screen and (max-width: 800px) {
    .grid-3-col,
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}
}


Line 348: Line 371:
     display: grid;
     display: grid;
     grid-template-columns: 112px 1fr;
     grid-template-columns: 112px 1fr;
    grid-template-rows: auto 1fr;
     grid-template-areas:
     grid-template-areas:
         "img info"
         "img info"
         "followon followon";
         "followon followon";
     gap: 0.5em;
     gap: 0.75em;
     padding: 0.5em;
     padding: 0.75em;
     background: #e9e9e9;
     background: #e9e9e9;
     border-radius: 6px;
     border-radius: 6px;
Line 371: Line 395:
.card-book-title p,
.card-book-title p,
.card-book-authors p {
.card-book-authors p {
     line-height: 1.25;
     line-height: 1.15;
}
}


Line 389: Line 413:
.card-book-authors {
.card-book-authors {
     font-size: 0.8em;
     font-size: 0.8em;
}
.card-book-description {
    line-height: 1.3;
}
}


.card-book-followon {
.card-book-followon {
     grid-area: followon;
     grid-area: followon;
    line-height: 1.3;
}
.card-book-followon-heading {
    color: #393939;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 0.5em;
}
.mw-collapsed .card-book-followon-heading {
    margin: 0;
}
ul.card-book-followon-list {
    margin: 0;
}
.card-book-followon-list-item {
    list-style: none;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75em;
    width: 100%;
}
.card-book-followon-list-item:not(:last-child) {
    margin: 0 0 0.75em;
}
.card-book-followon-img {
    border-radius: 3px;
}
.card-book-followon-title p {
    margin: 0;
}
.card-book-followon-title p,
.card-book-followon-authors p {
    line-height: 1.15;
}
}