MediaWiki:Vector-2022.css: Difference between revisions

m Custom CSS classes
m CSS test
(One intermediate revision by the same user not shown)
Line 483: Line 483:
     font-size: 16px;
     font-size: 16px;
     color: #404040
     color: #404040
}
/* CSS for the Minecraft tooltip "Minetip" */
.format-0 {
    color: #000;
    text-shadow: 0.125em 0.125em 0 #000
}
.format-1 {
    color: #0000A8;
    text-shadow: 0.125em 0.125em 0 #00002A
}
.format-2 {
    color: #00A800;
    text-shadow: 0.125em 0.125em 0 #002A00
}
.format-3 {
    color: #00A8A8;
    text-shadow: 0.125em 0.125em 0 #002A2A
}
.format-4 {
    color: #A80000;
    text-shadow: 0.125em 0.125em 0 #2A0000
}
.format-5 {
    color: #A800A8;
    text-shadow: 0.125em 0.125em 0 #2A002A
}
.format-6 {
    color: #FBA800;
    text-shadow: 0.125em 0.125em 0 #3E2A00
}
.format-7 {
    color: #A8A8A8;
    text-shadow: 0.125em 0.125em 0 #2A2A2A
}
.format-8 {
    color: #545454;
    text-shadow: 0.125em 0.125em 0 #151515
}
.format-9 {
    color: #5454FB;
    text-shadow: 0.125em 0.125em 0 #15153E
}
.format-a {
    color: #54FB54;
    text-shadow: 0.125em 0.125em 0 #153E15
}
.format-b {
    color: #54FBFB;
    text-shadow: 0.125em 0.125em 0 #153E3E
}
.format-c {
    color: #FB5454;
    text-shadow: 0.125em 0.125em 0 #3E1515
}
.format-d {
    color: #FB54FB;
    text-shadow: 0.125em 0.125em 0 #3E153E
}
.format-e {
    color: #FBFB54;
    text-shadow: 0.125em 0.125em 0 #3E3E15
}
.format-f,#minetip-tooltip {
    color: #FBFBFB;
    text-shadow: 0.125em 0.125em 0 #3E3E3E
}
.format-g {
    color: #DDD605;
    text-shadow: 0.125em 0.125em 0 #373501
}
.format-h {
    color: #E3D4D1;
    text-shadow: 0.125em 0.125em 0 #383534
}
.format-i {
    color: #CECACA;
    text-shadow: 0.125em 0.125em 0 #333232
}
.format-j {
    color: #443A3B;
    text-shadow: 0.125em 0.125em 0 #110E0E
}
.format-l {
    font-weight: bold;
    letter-spacing: 0.125em
}
.format-m {
    text-decoration: line-through
}
.format-n {
    text-decoration: underline
}
.format-o {
    font-style: italic
}
.format-p {
    color: #DEB12D;
    text-shadow: 0.125em 0.125em 0 #372C0B
}
.format-q {
    color: #47A036;
    text-shadow: 0.125em 0.125em 0 #04280D
}
.format-s {
    color: #2CBAA8;
    text-shadow: 0.125em 0.125em 0 #0B2E2A
}
.format-t {
    color: #21497B;
    text-shadow: 0.125em 0.125em 0 #08121E
}
.format-u {
    color: #9A5CC6;
    text-shadow: 0.125em 0.125em 0 #261731
}
.format-v {
    color: #EB7114;
    text-shadow: 0.125em 0.125em 0 #3B1D05
}
.format-y {
    color: #971607;
    text-shadow: 0.125em 0.125em 0 #250501
}
.format-z {
    color: #B4684D;
    text-shadow: 0.125em 0.125em 0 #2D1A13
}
.format-custom {
    text-shadow: 0.125em 0.125em 0 color-mix(in srgb,currentColor 25%,#000 75%)
}
#minetip-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #100010;
    background-color: rgba(16,0,16,0.94);
    padding: 0.375em;
    font-family: Minecraft,sans-serif;
    font-size: 16px;
    word-spacing: 4px;
    white-space: nowrap;
    line-height: 1.25em;
    margin: 0.125em 0.25em;
    pointer-events: none;
    z-index: 9999
}
#minetip-tooltip > .description,#minetip-tooltip > .minetip-description {
    display: block;
    margin-top: 0.25em
}
}