MediaWiki:Common.css: Difference between revisions

m
this helps.
(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 {
content: " ยท ";
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://www.gm4.co/includes/minecraftia-regular-webfont.woff2) format('woff2'),
  src: url(https://wiki.gm4.co/resources/assets/fonts/MinecraftiaRegular.ttf);
url(https://www.gm4.co/includes/minecraftia-regular-webfont.woff) format('woff');
url(https://www.gm4.co/includes/Minecraftia-Regular.ttf) format('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, sans-serif;
  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-arrow {
.crafting-zauber {
  width:32px;
  background-color:#8FC4DC;
  height:32px
  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 {
font-family:minecraftia;
    position: absolute;
display:none;
top: 0;
position:absolute;
left: 0;
border:1px solid #333;
background-color: #100010;
background-color:#161616;
background-color: rgba(16, 0, 16, 0.94);
border-radius:2px;
padding: 4px 4px 6px 4px;
padding:10px;
font-family: minecraftia, sans-serif;
padding-top:10px;
font-size: 16px;
padding-bottom:0px;
    color: #FFF;
color:#fff;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
font-size:16px;
white-space: nowrap;
line-height:20px
    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;
}
}
.tooltip p {
.lore {
margin:0;
  display: block;
line-height:0px
margin-top: 0.25em;
}
}


.slot {
.slot {
Line 1,441: Line 1,507:




.cauldron-crafting-container-name{
 
font-family:minecraftia;
 
text-align: center;
/* ========================================================================= */
/*                                                                          */
/*            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;
}
}
.cauldron-crafting {
.format-d {
padding:12px;
color: #F5F;
display:inline-block;
text-shadow: 0.125em 0.125em 0 #3F153F;
border-width:3px;
border-style:solid
}
}
.cauldron-crafting-custom {
.format-e {
background-color:#8FC4DC;
color: #FF5;
border-color:#C0DEEB #1A536E #1A536E #C0DEEB
text-shadow: 0.125em 0.125em 0 #3F3F15;
}
}
.cauldron-crafting-standard {
.format-f {
background-color:#C6C6C6;
color: #FFF;
border-color:#DBDBDB #5B5B5B #5B5B5B #DBDBDB
text-shadow: 0.125em 0.125em 0 #3F3F3F;
}
}
.cauldron-crafting-custom .cauldron-crafting-arrow {
.format-l {
background-image:url(https://wiki.gm4.co/images/4/4e/Custom_Cauldron_Crafting_Arrow.png)
font-weight: bold;
letter-spacing: 0.125em;
}
}
.cauldron-crafting-standard .cauldron-crafting-arrow {
.format-m {
background-image:url(https://wiki.gm4.co/images/c/c2/Standard_Cauldron_Crafting_Arrow.png)
text-decoration: line-through;
}
}
.cauldron-crafting-custom .invslot {
.format-n {
background-color:#67AFD0;
text-decoration: underline;
border-color:#C0DEEB #1A536E #1A536E #C0DEEB
}
}
.cauldron-crafting-standard .invslot {
.format-o {
background-color:#8B8B8B;
font-style: italic;
border-color:#FFFFFF #373737 #373737 #FFFFFF
    position: relative;
    left: -3px;
}
}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,655

edits