Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
(added green background color) |
(card h4 color) |
||
Line 18: | Line 18: | ||
border-radius: 0 0 2px 2px; | border-radius: 0 0 2px 2px; | ||
} | } | ||
.card h4 { | |||
color: #fff !important; | |||
} | |||
.white-text { | .white-text { | ||
color: #fff !important; | color: #fff !important; |
Revision as of 14:25, 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;
}
.card h4 {
color: #fff !important;
}
.white-text {
color: #fff !important;
}
.green-background {
background-color: #009688 !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;
}