8,282
edits
No edit summary |
(Add support for custom hex code colors) |
||
Line 275: | Line 275: | ||
text-shadow: 0.125em 0.125em 0 #000; | text-shadow: 0.125em 0.125em 0 #000; | ||
} | } | ||
.format-1 { | .format-1 { | ||
color: # | color: #0000A8; | ||
text-shadow: 0.125em 0.125em 0 #00002A; | text-shadow: 0.125em 0.125em 0 #00002A; | ||
} | } | ||
.format-2 { | .format-2 { | ||
color: # | color: #00A800; | ||
text-shadow: 0.125em 0.125em 0 #002A00; | text-shadow: 0.125em 0.125em 0 #002A00; | ||
} | } | ||
.format-3 { | .format-3 { | ||
color: # | color: #00A8A8; | ||
text-shadow: 0.125em 0.125em 0 #002A2A; | text-shadow: 0.125em 0.125em 0 #002A2A; | ||
} | } | ||
.format-4 { | .format-4 { | ||
color: # | color: #A80000; | ||
text-shadow: 0.125em 0.125em 0 #2A0000; | text-shadow: 0.125em 0.125em 0 #2A0000; | ||
} | } | ||
.format-5 { | .format-5 { | ||
color: # | color: #A800A8; | ||
text-shadow: 0.125em 0.125em 0 #2A002A; | text-shadow: 0.125em 0.125em 0 #2A002A; | ||
} | } | ||
.format-6 { | .format-6 { | ||
color: # | color: #FBA800; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #3E2A00; | ||
} | } | ||
.format-7 { | .format-7 { | ||
color: # | color: #A8A8A8; | ||
text-shadow: 0.125em 0.125em 0 #2A2A2A; | text-shadow: 0.125em 0.125em 0 #2A2A2A; | ||
} | } | ||
.format-8 { | .format-8 { | ||
color: # | color: #545454; | ||
text-shadow: 0.125em 0.125em 0 #151515; | text-shadow: 0.125em 0.125em 0 #151515; | ||
} | } | ||
.format-9 { | .format-9 { | ||
color: # | color: #5454FB; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #15153E; | ||
} | } | ||
.format-a { | .format-a { | ||
color: # | color: #54FB54; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #153E15; | ||
} | } | ||
.format-b { | .format-b { | ||
color: # | color: #54FBFB; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #153E3E; | ||
} | } | ||
.format-c { | .format-c { | ||
color: # | color: #FB5454; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #3E1515; | ||
} | } | ||
.format-d { | .format-d { | ||
color: # | color: #FB54FB; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #3E153E; | ||
} | } | ||
.format-e { | .format-e { | ||
color: # | color: #FBFB54; | ||
text-shadow: 0.125em 0.125em 0 # | text-shadow: 0.125em 0.125em 0 #3E3E15; | ||
} | } | ||
.format-f, | .format-f, | ||
#minetip-tooltip { | #minetip-tooltip { | ||
color: # | color: #FBFBFB; | ||
text-shadow: 0.125em 0.125em 0 # | 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 { | .format-l { | ||
font-weight: bold; | font-weight: bold; | ||
letter-spacing: 0.125em; | letter-spacing: 0.125em; | ||
} | } | ||
.format-m { | .format-m { | ||
text-decoration: line-through; | text-decoration: line-through; | ||
} | } | ||
.format-n { | .format-n { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.format-o { | .format-o { | ||
font-style: italic; | 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; | |||
} | |||
/* Custom color codes because §m and §n are used twice. */ | |||
.format-y { | |||
color: #971607; | |||
text-shadow: 0.125em 0.125em 0 #250501; | |||
} | |||
.format-z { | |||
color: #B4684D; | |||
text-shadow: 0.125em 0.125em 0 #2D1A13; | |||
} | |||
/* Class for 𞉀 and &$123 adding custom hex colors. */ | |||
.format-custom { | |||
text-shadow: 0.125em 0.125em 0 color-mix(in srgb, currentColor 25%, #000 75%); | |||
} | } | ||