MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(I need to stop making mistakes) |
(Copying in-game advancements) |
||
Line 1,505: | Line 1,505: | ||
border-width:3px; | border-width:3px; | ||
border-style:solid | border-style:solid | ||
} | |||
/* ========================================================================= */ | |||
/* */ | |||
/* Classes corresponding to displaying advancements */ | |||
/* */ | |||
/* ========================================================================= */ | |||
.advancement { | |||
line-height: 18px; | |||
font-size: 20px; | |||
position: relative; | |||
display: inline-block; | |||
width: auto; | |||
height: auto; | |||
z-index: 0; | |||
} | |||
.advancement-title { | |||
background-color: #036a96; | |||
color: white; | |||
text-shadow: 1.75px 1.75px #3f3f3f; | |||
padding: 6px 8px 0 65px; | |||
height: 40px; | |||
margin-top: -4px; | |||
border: 2px solid black; | |||
border-width: 2px; | |||
border-radius: 2px; | |||
z-index: 3; | |||
} | |||
.advancement-title img{ | |||
position: absolute; | |||
left: 10px; | |||
top: -10px; | |||
z-index: 5; | |||
} | |||
.advancement-title:before { | |||
content: ""; | |||
position: absolute; | |||
left: 2px; | |||
right: 2px; | |||
top: -2px; | |||
bottom: 2px; | |||
border-width: 2px 0px 0px 2px; | |||
border-style: solid; | |||
border-color: #0489C1; | |||
z-index: 4; | |||
} | |||
.advancement-title:after { | |||
content: ""; | |||
position: absolute; | |||
left: 2px; | |||
right: 2px; | |||
top: -1px; | |||
bottom: 2px; | |||
border-width: 0px 2px 2px 0px; | |||
border-style: solid; | |||
border-color: #012E40; | |||
z-index: 3; | |||
} | |||
.advancement-description { | |||
position: absolute; | |||
background-color: #212121; | |||
color: #a8a8a8; | |||
top: 34px; | |||
padding: 4px 2px 5px 10px; | |||
border: 2px solid black; | |||
border-radius: 2px; | |||
z-index: -3; | |||
} | |||
.advancement-description:before { | |||
content: ""; | |||
position: absolute; | |||
top: -2px; | |||
right: 0px; | |||
bottom: 0px; | |||
left: 0px; | |||
border: 2px solid #555555; | |||
border-radius: 2px; | |||
z-index: 2; | |||
} | } | ||