MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 299: | Line 299: | ||
.pixelicon { |
.pixelicon { |
||
image-rendering: pixelated; |
image-rendering: pixelated; |
||
} |
|||
.smelting { |
|||
background:#C6C6C6; |
|||
width:176px; |
|||
height:120px; |
|||
position:relative; |
|||
image-rendering:pixelated; |
|||
border-top:2px #DBDBDB solid; |
|||
border-left:2px #DBDBDB solid; |
|||
border-right:2px #8b8b8b solid; |
|||
border-bottom:2px #8b8b8b solid; |
|||
image-rendering: pixelated; |
|||
} |
|||
.smelting td { |
|||
background:#8b8b8b; |
|||
width:28px; |
|||
height:28px; |
|||
box-shadow:0px 2px #ffffff,2px 2px #ffffff,2px 0px #ffffff,0px -2px #373737,-2px -2px #373737,-2px 0px #373737; |
|||
display:inline-block; |
|||
padding: 0; |
|||
} |
|||
.smelting td > a:after { |
|||
content:attr(quantity); |
|||
position:absolute; |
|||
font-family:'Minecraft'; |
|||
color:white; |
|||
text-shadow:2px 2px #000000aa; |
|||
bottom:-30%; |
|||
right:-30%; |
|||
font-size:1.3rem |
|||
} |
|||
.smelting td > a { |
|||
position:relative |
|||
} |
|||
.smelting td > a > img { |
|||
width:28px; |
|||
height:28px; |
|||
position:absolute; |
|||
image-rendering:pixelated !important |
|||
} |
|||
.smelting tr { |
|||
display:block; |
|||
} |
|||
.smelting tr:first-child { |
|||
position: absolute; |
|||
top: 8px; |
|||
left: 8px; |
|||
} |
|||
.smelting tr:nth-child(2) { |
|||
position: absolute; |
|||
bottom: 8px; |
|||
left: 8px; |
|||
} |
|||
.smelting tr:last-child { |
|||
position:absolute; |
|||
top:36px; |
|||
right:8px; |
|||
} |
|||
.smelting tr:last-child td { |
|||
width:48px; |
|||
height:48px; |
|||
} |
|||
.smelting:before { |
|||
content:''; |
|||
background:url(//static.miraheze.org/manoswiki/1/1f/Smelting_arrow.png); |
|||
width:44px; |
|||
height:32px; |
|||
display:block; |
|||
position:absolute; |
|||
left:56px; |
|||
top:42px; |
|||
background-size: cover; |
|||
image-rendering:pixelated |
|||
} |
|||
.smelting:after { |
|||
content:''; |
|||
left:8px; |
|||
top:46px; |
|||
position:absolute; |
|||
background:url(//static.miraheze.org/manoswiki/e/ea/Smelting_fire.png); |
|||
width:28px; |
|||
height:28px; |
|||
background-size: cover; |
|||
image-rendering:pixelated |
|||
} |
|||
.smelting a img { |
|||
position: absolute; |
|||
} |
|||
.smelting a { |
|||
position: relative; |
|||
height: 100%; |
|||
width: 100%; |
|||
display: block; |
|||
} |
|||
.smelting tr:last-child a { |
|||
width: 48px; |
|||
height: 48px; |
|||
} |
|||
.smelting tr:last-child a img { |
|||
top: 8px; |
|||
left: 8px; |
|||
} |
} |
Revision as of 18:44, 12 January 2024
@font-face {
font-family: "Minecraft";
src: url(//static.miraheze.org/manoswiki/0/07/Minecraft.otf) format("opentype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Minecraft";
src: url(//static.miraheze.org/manoswiki/c/cd/Minecraftbold.otf) format("opentype");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Minecraft";
src: url(//static.miraheze.org/manoswiki/b/b1/Minecraftitalic.otf) format("opentype");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "Minecraft";
src: url(//static.miraheze.org/manoswiki/c/c2/Minecraftbolditalic.otf) format("opentype");
font-weight: 800;
font-style: italic;
}
#mw-page-base {
background: transparent
}
body {
background: url(//static.miraheze.org/manoswiki/3/3a/Bg.png);
background-size: contain;
background-repeat: repeat
}
#p-navigation,#p-tb,#p-managewiki-sidebar-header {
border-image: url(//static.miraheze.org/manoswiki/4/46/Border.png) 25% round;
border-width: 10px;
border-style: solid;
box-sizing: border-box;
background: #7b6039;
display: block
}
#p-navigation a,#p-tb a,#p-managewiki-sidebar-header a {
font-family: "Minecraft";
color: white;
font-size: 0.7rem;
text-shadow: 2px 2px #000000aa
}
#p-navigation h3,#p-tb h3,#p-managewiki-sidebar-header h3 {
color: white !IMPORTANT;
font-size: 0.8rem;
font-family: 'Minecraft';
text-shadow: -1px -1px 0 #555,1px -1px 0 #555,-1px 1px 0 #555,1px 1px 0 #555,2px 2px #000000aa;
background: none;
border-bottom: 3px solid white;
width: fit-content
}
#p-personal {
border-image: url(//static.miraheze.org/manoswiki/4/46/Border.png) 25% round;
border-width: 10px;
border-style: solid;
box-sizing: border-box;
background: #7b6039;
display: block;
font-family: "Minecraft"
}
#p-personal .vector-menu-content-list {
width: 100%;
padding: 0;
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
flex-direction: row;
align-items: stretch;
}
#p-personal .vector-menu-content-list li a {
vertical-align: top;
color: white;
height: 100%;
margin: auto;
padding-top: 0;
}
#p-personal .vector-menu-content-list li {
border-right: 2px solid white;
position: relative;
align-self: stretch;
padding: 0;
padding-bottom: 10px;
padding-top: 10px;
padding-right: 10px;
}
.infobox {
border-image: url(//static.miraheze.org/manoswiki/4/46/Border.png) 25% round;
border-width: 10px;
border-style: solid;
box-sizing: border-box;
background: #7b6039;
display: block;
width: fit-content;
padding: 1rem;
position: relative;
display: inline-block;
float: right;
image-rendering: pixelated;
}
.infobox tr:first-child th {
background: #7b6039;
border: 4px solid #624d2f;
border-bottom: none;
border-left-color: #9e7c4f;
outline: 2px black solid;
font-family: 'Minecraft';
color: white;
text-shadow: -1px -1px 0 #656565,1px -1px 0 #656565,-1px 1px 0 #656565,1px 1px 0 #656565,2px 2px #000000aa;
padding: 0;
padding-bottom: 4px
}
.infobox tr:nth-child(2) th {
outline: 2px solid black;
border: 4px solid #624d2f;
border-bottom-color: #9e7c4f;
border-left-color: #9e7c4f;
border-top: none;
padding: 0
}
.infobox tr > * {
padding-top: 10px;
font-family: 'Minecraft';
color: white;
text-shadow: 2px 2px #000000aa
}
div#content {
margin-top: 2.5rem
}
#left-navigation,#right-navigation {
margin-top: 5rem
}
input#searchInput {
background: black;
outline: none;
border: 2px solid gray;
color: white;
padding: 5px;
caret-color: transparent;
font-family: 'Minecraft'
}
input#searchButton {
display: none
}
.crafting {
background: #C6C6C6;
width: 235px;
height: 127px;
position: relative;
image-rendering: pixelated;
border-top: 2px #DBDBDB solid;
border-left: 2px #DBDBDB solid;
border-right: 2px #8b8b8b solid;
border-bottom: 2px #8b8b8b solid;
}
.crafting td {
background: #8b8b8b;
width: 32px;
height: 32px;
box-shadow:
0px 2px #ffffff,
2px 2px #ffffff,
2px 0px #ffffff,
0px -2px #373737,
-2px -2px #373737,
-2px 0px #373737;
display: inline-block;
}
.crafting td > a:after {
content: attr(quantity);
position: absolute;
font-family: 'Minecraft';
color: white;
text-shadow: 2px 2px #000000aa;
bottom: -30%;
right: -30%;
font-size: 1.3rem;
}
.crafting td > a {
position: relative;
}
.crafting td > a > img {
width: 32px;
height: 32px;
display: block;
image-rendering: pixelated !important;
}
.crafting tr {
display: block;
margin-bottom: 4px;
margin-left: 6px;
}
.crafting tr:last-child {
display: inline-block;
position: absolute;
top: 37px;
right: 9px;
}
.crafting tr:last-child td {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.crafting tr:first-child {
margin-top: 5px;
}
.crafting:before {
content: '';
background: url('//static.miraheze.org/manoswiki/thumb/e/ea/Grid_layout_arrow.webp/32px-Grid_layout_arrow.webp.png?20230919160438');
width: 32px;
height: 27px;
display: block;
position: absolute;
left: 130px;
top: 48px;
image-rendering: pixelated;
}
.crafting.shapeless:after {
content: '';
top: 10px;
right: 10px;
position: absolute;
background: url('//static.miraheze.org/manoswiki/1/1e/Grid_layout_Shapeless.webp');
width: 19px;
height: 15px;
image-rendering: pixelated;
}
.tooltip {
position: fixed;
background: #100010;
border: 2px #201042 solid;
min-width: 0;
color: white;
padding: 4px;
font-family: 'Minecraft';
box-shadow: -2px 0px #100010, 2px 0px #100010, 0px -2px #100010, 0px 2px #100010;
}
footer#footer {
border-image: url(//static.miraheze.org/manoswiki/4/46/Border.png) 25% round;
border-width: 10px;
border-style: solid;
box-sizing: border-box;
background: #7b6039;
display: block;
font-family: "Minecraft";
height: fit-content;
padding: 20px;
padding-bottom: 9vh;
margin-top: 3vh;
}
#footer li {
color: white;
}
#footer a {
color: #f0af64;
}
.pixelicon {
image-rendering: pixelated;
}
.smelting {
background:#C6C6C6;
width:176px;
height:120px;
position:relative;
image-rendering:pixelated;
border-top:2px #DBDBDB solid;
border-left:2px #DBDBDB solid;
border-right:2px #8b8b8b solid;
border-bottom:2px #8b8b8b solid;
image-rendering: pixelated;
}
.smelting td {
background:#8b8b8b;
width:28px;
height:28px;
box-shadow:0px 2px #ffffff,2px 2px #ffffff,2px 0px #ffffff,0px -2px #373737,-2px -2px #373737,-2px 0px #373737;
display:inline-block;
padding: 0;
}
.smelting td > a:after {
content:attr(quantity);
position:absolute;
font-family:'Minecraft';
color:white;
text-shadow:2px 2px #000000aa;
bottom:-30%;
right:-30%;
font-size:1.3rem
}
.smelting td > a {
position:relative
}
.smelting td > a > img {
width:28px;
height:28px;
position:absolute;
image-rendering:pixelated !important
}
.smelting tr {
display:block;
}
.smelting tr:first-child {
position: absolute;
top: 8px;
left: 8px;
}
.smelting tr:nth-child(2) {
position: absolute;
bottom: 8px;
left: 8px;
}
.smelting tr:last-child {
position:absolute;
top:36px;
right:8px;
}
.smelting tr:last-child td {
width:48px;
height:48px;
}
.smelting:before {
content:'';
background:url(//static.miraheze.org/manoswiki/1/1f/Smelting_arrow.png);
width:44px;
height:32px;
display:block;
position:absolute;
left:56px;
top:42px;
background-size: cover;
image-rendering:pixelated
}
.smelting:after {
content:'';
left:8px;
top:46px;
position:absolute;
background:url(//static.miraheze.org/manoswiki/e/ea/Smelting_fire.png);
width:28px;
height:28px;
background-size: cover;
image-rendering:pixelated
}
.smelting a img {
position: absolute;
}
.smelting a {
position: relative;
height: 100%;
width: 100%;
display: block;
}
.smelting tr:last-child a {
width: 48px;
height: 48px;
}
.smelting tr:last-child a img {
top: 8px;
left: 8px;
}