User:2257/monobook.css: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
.notice-template { | .notice-template { | ||
border-image-outset: | border-image-outset: 0px; | ||
border-image-repeat: round; | border-image-repeat: round; | ||
border-image-slice: 8; | border-image-slice: 8; | ||
border-image-width: 8px; | border-image-width: 12px; | ||
padding: 12px 16px; | |||
margin: 8px 0; | |||
border-radius: 4px; | |||
} | } | ||
Revision as of 17:31, April 10, 2021
table.statstable {
border-collapse: collapse;
text-align: center;
--border: 1px solid #aaa;
}
table.statstable > tr > th,
table.statstable > tr > td,
table.statstable > * > tr > th,
table.statstable > * > tr > td {
padding: 0.2em 0.4em;
border: 1px solid #aaa;
border: var(--border);
}
table.statstable > tr.columnheaders > th,table.statstable > * > tr.columnheaders > th {
min-width:2em;
border:none;
background:transparent;
position:relative;
white-space:nowrap;
pointer-events:none
}
table.statstable > tr.columnheaders > th > div:not([role]),table.statstable > * > tr.columnheaders > th > div:not([role]) {
transform:rotate(-45deg);
position:absolute;
bottom:-1px;
left:100%;
transform-origin:0% 100%;
border-bottom: 1px solid #aaa;
border-bottom: var(--border);
pointer-events:all
}
table.statstable > tr.columnheaders > th > div[role="presentation"],table.statstable > * > tr.columnheaders > th > div[role="presentation"] {
writing-mode:tb;
font-size:71%;
margin: 1em 0 0 0;
visibility:hidden
}
.notice-template {
border-image-outset: 0px;
border-image-repeat: round;
border-image-slice: 8;
border-image-width: 12px;
padding: 12px 16px;
margin: 8px 0;
border-radius: 4px;
}
.notice-template.test-1 {
border-image-source: url(https://www.mariowiki.com/images/c/cd/Notice_test.png);
}
.notice-template.test-2 {
border-image-source: url(https://www.mariowiki.com/images/archive/9/97/20210410210421%21Notice_test.svg);
}
.notice-template.test-3 {
border-image-source: url(https://www.mariowiki.com/images/archive/9/97/20210410210443%21Notice_test.svg);
}
.notice-template.test-4 {
border-image-source: url(https://www.mariowiki.com/images/archive/9/97/20210410210629%21Notice_test.svg);
}