Difference between revisions of "MediaWiki:Common.css"

From Tradelands Wiki
Jump to navigation Jump to search
Line 45: Line 45:
  
 
.card {
 
.card {
     box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
+
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
 
     transition: 0.3s;
 
     transition: 0.3s;
     border-radius: 5px; /* 5px rounded corners */
+
     border: 1px solid #e4eaee;
}
 
 
 
img {
 
    border-radius: 5px 5px 0 0;
 
 
}
 
}

Revision as of 23:41, 6 November 2018

/* CSS placed here will be applied to all skins */

.homepagecont {
    max-width: 75em;
    margin: 0 auto;
}

.shipwrightsays {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    max-width: 800px;
    overflow: hidden;
}

.shipwrightsays img {
float: left;
}


.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.card {
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
    transition: 0.3s;
    border: 1px solid #e4eaee;
}