Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
(card style) |
(No difference)
|
Revision as of 14:05, 3 October 2020
/* CSS placed here will be applied to all skins */
.card {
position: relative;
margin: .5rem 0 1rem 0;
background-color: #fff;
-webkit-transition: -webkit-box-shadow .25s;
transition: -webkit-box-shadow .25s;
transition: box-shadow .25s;
transition: box-shadow .25s, -webkit-box-shadow .25s;
border-radius: 2px;
}
.z-depth-1, nav, .card-panel, .card {
-webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}
.card .card-content {
padding: 24px;
border-radius: 0 0 2px 2px;
}
.white-text {
color: #fff !important;
}
.card .card-content .card-title {
display: block;
line-height: 32px;
margin-bottom: 8px;
}
.card .card-title {
font-size: 24px;
font-weight: 300;
}
.card .card-action:last-child {
border-radius: 0 0 2px 2px;
}
.card .card-action {
background-color: inherit;
border-top: 1px solid rgba(160,160,160,0.2);
position: relative;
padding: 16px 24px;
}