MediaWiki:Common.css: Difference between revisions

no edit summary
(updating css for new infoboxes)
No edit summary
Line 275: Line 275:
.sitenotice-button:hover {
.sitenotice-button:hover {
background:#854eb2 !important;
background:#854eb2 !important;
}
/* Style made for the Nonbinary Wiki:Dive in! page */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
.content-box {
    width: 33%;
    float: left;
}
.content-body {
    display: none;
    padding: 10px;
    text-align: center;
}
.content-box:hover .content-body {
    width: 300%;
    background: white;
    border-top: 3px solid purple;
    visibility: visible;
    display: block;
    -webkit-animation: fadeIn .5s;
    animation: fadeIn .5s;
}
.content-body .content-section {
    width: 20%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
}