Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | .card { | ||
+ | box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | ||
+ | transition: 0.3s; | ||
+ | border-radius: 5px; /* 5px rounded corners */ | ||
+ | } | ||
+ | |||
+ | img { | ||
+ | border-radius: 5px 5px 0 0; | ||
} | } |
Revision as of 23:37, 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 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; border-radius: 5px; /* 5px rounded corners */ } img { border-radius: 5px 5px 0 0; }