MediaWiki: Common.css: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Admin (talk | contribs)
(Created page with "→‎CSS placed here will be applied to all skins: →‎Clickable tiles: .click-tile { overflow: hidden; } .click-tile a { height: 100%; display: block; padding:...")
 
Admin (talk | contribs)
No edit summary
Line 8: Line 8:
     display: block;
     display: block;
     padding: 2em;
     padding: 2em;
     background-color: #4C7BD1;
     background-color: #4C7BD1 !important;
     transition: all 400ms;
     transition: all 400ms;
}
}

Revision as of 13:54, 27 August 2021

/* CSS placed here will be applied to all skins */
/* Clickable tiles */
.click-tile {
  overflow: hidden;
}
.click-tile a {
    height: 100%;
    display: block;
    padding: 2em;
    background-color: #4C7BD1 !important;
    transition: all 400ms;
}
.click-tile a:hover { background-color: #FFBB00; }
.click-tile-icon {
    margin-bottom: 30px;
    display: block;
    text-align: center;
    color: #fff;
}
.click-tile-icon img { height: 64px; }
.click-tile-title {
    margin: 0;
    text-align: center;
    color: #fff;
}
.click-tile-title:nth-child(n+2) {
    margin-top: .5em;
}
.click-tile-content { color: #fff; }
.click-tile-content p { margin-top: 10px; }