MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
@font-face {
@font-face {
font-family: "Pathfinder2EActions";
font-family: "Pathfinder2EActions";
src: url("images/9/9f/Pathfinder2eActions.woff2");
src: url("images/9/9f/Pathfinder2eActions.woff2") format("woff2");
}
}
span.action {
span.action {
font-family: "Pathfinder2EActions";
font-family: "Pathfinder2EActions";
font-size: calc(1em * 1.4);
line-height: normal;
}
}
.action.action-1:before {
.action.action-1:before {
content: '1';
content: ' 1';
}
}
.action.action-2:before {
.action.action-2:before {
content: '2';
content: ' 2';
}
}
.action.action-3:before {
.action.action-3:before {
content: '3';
content: ' 3';
}
}
.action.action-4:before {
.action.action-4:before {
content: '4';
content: ' 4';
}
}
.action.action-5:before {
.action.action-5:before {
content: '5';
content: ' 5';
}
 
.cards {
margin: 0 auto;
display: grid;
gap: 1rem;
overflow: auto;
}
@media (min-width: 888px) {
.cards {
grid-template-columns: repeat(2, 1fr);
}
}
 
.card {
padding: 1rem;
}
.card.pfFeat {
background-color: antiquewhite;
}
.pfHeader {
border-bottom: 1px solid black;
text-transform: uppercase;
}
.clearfix:after {
content: "\00A0";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.pfName {
float: left;
}
.pfLevel {
float: right;
}
.pfTags {
color: white;
display: inline-block;
background-color: maroon;
border: 1px solid yellow;
text-transform: uppercase;
padding: 0.15em 0.3em;
}
.pfPrereq {
border-bottom: 1px solid black;
}
}