MediaWiki:Common.css: Difference between revisions

From Survival Manos Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 268: Line 268:
background: #100010;
background: #100010;
border: 2px #201042 solid;
border: 2px #201042 solid;
min-width: 50px;
min-width: 0;
color: white;
color: white;
padding: 4px;
padding: 4px;

Revision as of 12: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;
}