MediaWiki:Common.css

From Amplify Creations Wiki
Revision as of 15:52, 2 December 2023 by AmplifyWiki (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
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;
}