Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,655
edits
(All Cauldron Crafting things (probably)) |
m (this helps.) |
||
(45 intermediate revisions by 3 users not shown) | |||
Line 161: | Line 161: | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 1,334: | Line 1,333: | ||
//} | //} | ||
/* ======================= CRAFTING GRID CSS ================== */ | |||
/* Change tab size to 4 instead of 8 because 8 is too large */ | |||
body { | |||
-moz-tab-size: 4; | |||
-o-tab-size: 4; | |||
tab-size: 4; | |||
} | |||
/* ========================================================================= */ | |||
/* */ | |||
/* CRAFTING GRID CSS */ | |||
/* */ | |||
/* ========================================================================= */ | |||
@font-face { | @font-face { | ||
font-family:'minecraftia'; | font-family:'minecraftia'; | ||
src:url(https:// | src: url(https://wiki.gm4.co/resources/assets/fonts/MinecraftiaRegular.ttf); | ||
font-weight:normal; | font-weight:normal; | ||
font-style:normal | font-style:normal | ||
Line 1,360: | Line 1,370: | ||
right:0; | right:0; | ||
bottom:-6px; | bottom:-6px; | ||
font-family: minecraftia, | font-family: minecraftia, san-serif; | ||
font-weight:normal; | font-weight:normal; | ||
color:#FFF; | color:#FFF; | ||
Line 1,374: | Line 1,384: | ||
background-color:#8B8B8B; | background-color:#8B8B8B; | ||
border-color:#373737 #FFFFFF #FFFFFF #373737 | border-color:#373737 #FFFFFF #FFFFFF #373737 | ||
} | |||
.crafting-zauber .invslot { | |||
background-color:#8B8B8B; | |||
border-color:#FFFFFF #373737 #373737 #FFFFFF | |||
} | } | ||
.invslot-large { | .invslot-large { | ||
Line 1,382: | Line 1,396: | ||
display:inline-block; | display:inline-block; | ||
border-width:3px; | border-width:3px; | ||
border-style:solid | border-style:solid; | ||
white-space: nowrap; | |||
} | } | ||
.crafting-container-name{ | .crafting-container-name{ | ||
font-family:minecraftia; | font-family:minecraftia, san-serif; | ||
} | |||
.crafting-container-name p{ | |||
margin: 0; | |||
} | |||
.crafting-zauber .crafting-container-name{ | |||
text-align: center; | |||
} | } | ||
Line 1,397: | Line 1,420: | ||
border-color:#DBDBDB #5B5B5B #5B5B5B #DBDBDB | border-color:#DBDBDB #5B5B5B #5B5B5B #DBDBDB | ||
} | } | ||
.crafting- | .crafting-zauber { | ||
background-color:#8FC4DC; | |||
border-color:#C0DEEB #1A536E #1A536E #C0DEEB | |||
} | } | ||
.catalyst { | .catalyst { | ||
Line 1,405: | Line 1,428: | ||
} | } | ||
.crafting-custom .crafting-arrow { | .crafting-custom .crafting-arrow { | ||
width:32px; | |||
height:32px; | |||
background-image:url(https://wiki.gm4.co/images/b/b7/Custom_Crafting_arrow.png) | background-image:url(https://wiki.gm4.co/images/b/b7/Custom_Crafting_arrow.png) | ||
} | } | ||
.crafting-standard .crafting-arrow { | .crafting-standard .crafting-arrow { | ||
width:32px; | |||
height:32px; | |||
background-image:url(https://wiki.gm4.co/images/b/b7/Standard_Crafting_arrow.png) | background-image:url(https://wiki.gm4.co/images/b/b7/Standard_Crafting_arrow.png) | ||
} | |||
.crafting-zauber .crafting-arrow { | |||
width:33px; | |||
height:36px; | |||
background-image:url(https://wiki.gm4.co/images/4/4e/Custom_Cauldron_Crafting_Arrow.png) | |||
} | } | ||
.crafting-recipe > * { | .crafting-recipe > * { | ||
Line 1,414: | Line 1,446: | ||
display:inline-block | display:inline-block | ||
} | } | ||
/* ========================================================================= */ | |||
/* */ | |||
/* Modified styling for minecraft style tooltip */ | |||
/* */ | |||
/* ========================================================================= */ | |||
.tooltip { | .tooltip { | ||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
background-color: #100010; | |||
background-color: rgba(16, 0, 16, 0.94); | |||
padding: 4px 4px 6px 4px; | |||
font-family: minecraftia, sans-serif; | |||
font-size: 16px; | |||
color: #FFF; | |||
text-shadow: 0.125em 0.125em 0 #3F3F3F; | |||
white-space: nowrap; | |||
word-spacing: -5px; | |||
line-height: 1.25em; | |||
margin: 0.125em 0.25em; | |||
pointer-events: none; | |||
z-index: 9999; | |||
} | |||
.tooltip::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0.125em; | |||
right: -0.125em; | |||
bottom: 0.125em; | |||
left: -0.125em; | |||
border: 0.125em solid #100010; | |||
border-style: none solid; | |||
border-color: rgba(16, 0, 16, 0.94); | |||
} | |||
.tooltip::after { | |||
content: ""; | |||
position: absolute; | |||
top: 0.125em; | |||
right: 0; | |||
bottom: 0.125em; | |||
left: 0; | |||
border: 0.125em solid #2D0A63; | |||
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1; | |||
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1; | |||
} | } | ||
. | .lore { | ||
display: block; | |||
margin-top: 0.25em; | |||
} | } | ||
.slot { | .slot { | ||
Line 1,441: | Line 1,507: | ||
. | |||
/* ========================================================================= */ | |||
/* */ | |||
/* Classes corresponding to displaying advancements */ | |||
/* */ | |||
/* ========================================================================= */ | |||
.advancement-icon { | |||
display: inline-block; | |||
box-sizing: border-box; | |||
position: relative; | |||
width: 52px; | |||
height: 52px; | |||
padding: 10px; | |||
} | |||
.advancement-icon.plain-raw{ | |||
background: url(https://wiki.gm4.co/images/d/d9/Advancement-plain-raw.png) | |||
} | |||
.advancement-icon.oval-raw{ | |||
background: url(https://wiki.gm4.co/images/4/41/Advancement-oval-raw.png) | |||
} | |||
.advancement-icon.fancy-raw{ | |||
background: url(https://wiki.gm4.co/images/9/96/Advancement-fancy-raw.png) | |||
} | |||
.advancement-icon.plain-worn{ | |||
background: url(https://wiki.gm4.co/images/f/f2/Advancement-plain-worn.png) | |||
} | |||
.advancement-icon.oval-worn{ | |||
background: url(https://wiki.gm4.co/images/4/4c/Advancement-oval-worn.png) | |||
} | |||
.advancement-icon.fancy-worn{ | |||
background: url(https://wiki.gm4.co/images/5/5f/Advancement-fancy-worn.png) | |||
} | |||
.advancement { | |||
position: relative; | |||
line-height: 18px; | |||
font-smooth: never; | |||
padding-top: 10px; | |||
padding-left: 2px; | |||
display: block; | |||
font-size: 16px; | |||
word-spacing: -2.5px; | |||
font-family: minecraftia; | |||
width: min-content; | |||
} | |||
.advancement .advancement-icon { | |||
top: 0px; | |||
left: 4px; | |||
position: absolute; | |||
z-index: 2; | |||
} | |||
.advancement .advancement-title { | |||
position: relative; | |||
z-index: 1; | |||
height: 27px; | |||
padding-top: 5px; | |||
padding-left: 60px; | |||
padding-right: 6px; | |||
white-space: nowrap; | |||
background: #036A96; | |||
color: #FCFCFC; | |||
text-shadow: 2px 2px #3E3E3E; | |||
box-shadow: | |||
0 -2px #0489C1, | |||
-2px 0 #0489C1, | |||
0 2px #012E40, | |||
2px 0 #012E40, | |||
2px 2px black, | |||
2px -2px black, | |||
-2px 2px black, | |||
-2px -2px black, | |||
0 4px black, | |||
4px 0 black, | |||
0 -4px black, | |||
-4px 0 black; | |||
} | |||
.advancement .advancement-description { | |||
background: #212121; | |||
color: #A8A8A8; | |||
padding-top: 7px; | |||
padding-left: 6px; | |||
padding-bottom: 5px; | |||
padding-right: 6px; | |||
box-shadow: | |||
0 -2px #555555, | |||
-2px 0 #555555, | |||
0 2px #555555, | |||
2px 0 #555555, | |||
2px 2px black, | |||
2px -2px black, | |||
-2px 2px black, | |||
-2px -2px black, | |||
0 4px black, | |||
4px 0 black, | |||
0 -4px black, | |||
-4px 0 black; | |||
} | |||
.hover-advancement { | |||
height: 52px; | |||
width: 52px; | |||
} | |||
.hover-advancement:hover { | |||
z-index: 100; | |||
} | |||
.hover-advancement div { | |||
display: none; | |||
} | |||
.hover-advancement:hover div { | |||
display: inline-block; | |||
} | |||
/* ========================================================================= */ | |||
/* */ | |||
/* Classes corresponding to Minecraft formatting codes */ | |||
/* */ | |||
/* ========================================================================= */ | |||
.format-0 { | |||
color: #000; | |||
text-shadow: 0.125em 0.125em 0 #000; | |||
} | |||
.format-1 { | |||
color: #00A; | |||
text-shadow: 0.125em 0.125em 0 #00002A; | |||
} | |||
.format-2 { | |||
color: #0A0; | |||
text-shadow: 0.125em 0.125em 0 #002A00; | |||
} | |||
.format-3 { | |||
color: #0AA; | |||
text-shadow: 0.125em 0.125em 0 #002A2A; | |||
} | |||
.format-4 { | |||
color: #A00; | |||
text-shadow: 0.125em 0.125em 0 #2A0000; | |||
} | |||
.format-5 { | |||
color: #A0A; | |||
text-shadow: 0.125em 0.125em 0 #2A002A; | |||
} | |||
.format-6 { | |||
color: #FA0; | |||
text-shadow: 0.125em 0.125em 0 #2A2A00; | |||
} | |||
.format-7 { | |||
color: #AAA; | |||
text-shadow: 0.125em 0.125em 0 #2A2A2A; | |||
} | |||
.format-8 { | |||
color: #555; | |||
text-shadow: 0.125em 0.125em 0 #151515; | |||
} | |||
.format-9 { | |||
color: #55F; | |||
text-shadow: 0.125em 0.125em 0 #15153F; | |||
} | |||
.format-a { | |||
color: #5F5; | |||
text-shadow: 0.125em 0.125em 0 #153F15; | |||
} | |||
.format-b { | |||
color: #5FF; | |||
text-shadow: 0.125em 0.125em 0 #153F3F; | |||
} | |||
.format-c { | |||
color: #F55; | |||
text-shadow: 0.125em 0.125em 0 #3F1515; | |||
} | } | ||
. | .format-d { | ||
color: #F5F; | |||
text-shadow: 0.125em 0.125em 0 #3F153F; | |||
} | } | ||
. | .format-e { | ||
color: #FF5; | |||
text-shadow: 0.125em 0.125em 0 #3F3F15; | |||
} | } | ||
. | .format-f { | ||
color: #FFF; | |||
text-shadow: 0.125em 0.125em 0 #3F3F3F; | |||
} | } | ||
. | .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; | |||
position: relative; | |||
left: -3px; | |||
} | } |
edits