MediaWiki:Common.css: Difference between revisions

From Amplify Creations Wiki
Jump to navigation Jump to search
(Created page with "img.responsive-img { max-width:100% !important; height:auto; display:inline-block; } span.responsive-list-span { max-width:270px; display:inline-block; margin-bottom:5px; } div.nodecard { display:inline-block; max-width:370px; } div.nodecard > table { width: 100%; margin: 0px; } div.nodecard > table > tbody > tr { height: 100%; } div.nodecard > table > tbody > tr > td { height: 100%; padding: 4px; } div.nodecard...")
 
(No difference)

Latest revision as of 15:52, 2 December 2023

img.responsive-img {
    max-width:100% !important;
    height:auto;
    display:inline-block;
}

span.responsive-list-span {
    max-width:270px;
    display:inline-block; 
    margin-bottom:5px;
}

div.nodecard {
    display:inline-block;
    max-width:370px;
}

div.nodecard > table {
    width: 100%;
    margin: 0px;
}

div.nodecard > table > tbody > tr {
    height: 100%;
}

div.nodecard > table > tbody > tr > td {
    height: 100%;
    padding: 4px;
}

div.nodecard > table > tbody > tr > td > div:first-child {
    height: 250px;
    width: 360px;
}

div.nodecard p.cardtext {
    margin: 0px;
    overflow: hidden;
    height: 94.4px;
}

div.nodecard small.cardauthor {
    font-size: 10px;
}

.js-popup {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(125,125,125,0.5);
    cursor: pointer;
}

img.img-popup {
    cursor: pointer;
    width: 250px;
}

.js-popup .wrap img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}


div.sample {
    display:inline-block;
    max-width:500px;

div.sample > table {
    width: 100%;
    margin: 0px;
}

div.sample > table > tbody > tr {
    height: 100%;
}

div.sample > table > tbody > tr > td {
    height: 100%;
    padding: 4px;
}

div.sample > table > tbody > tr > td > div:first-child {
    height: 60px;
    width: 500px;
}

div.sample p.cardtext {
    margin: 0px;
    overflow: hidden;
    height: 40.4px;
}

div.sample small.cardauthor {
    font-size: 10px;
}