MediaWiki:Common.css: Difference between revisions
From The Blockheads Wiki
FloofyPlasma (talk | contribs) Crafting box CSS |
FloofyPlasma (talk | contribs) No edit summary |
||
| Line 176: | Line 176: | ||
} | } | ||
.craft-recipe:hover { | .craft-recipe:hover { | ||
background-color: #fafafa; | background-color: #fafafa; | ||
} | |||
.craft-recipe { | |||
width: 100% !important; | |||
border-collapse: collapse !important; | |||
margin: 1.5em 0 !important; | |||
background-color: #ffffff !important; | |||
border: 1px solid #d0d0d0 !important; | |||
border-radius: 6px !important; | |||
overflow: hidden; | |||
} | |||
.craft-recipe th, | |||
.craft-recipe td { | |||
border: 1px solid #d0d0d0 !important; | |||
padding: 0.75em !important; | |||
text-align: center; | |||
vertical-align: middle; | |||
} | |||
.craft-recipe th { | |||
background-color: #f5f5f5; | |||
font-weight: 600; | |||
color: #333; | |||
} | |||
.craft-recipe tr:hover { | |||
background-color: #f9f9f9; | |||
} | } | ||
Revision as of 20:25, 14 September 2026
/* CSS placed here will be applied to all skins */
div.editsection
{
font-size: 80% !important;
float: right !important;
}
.ns-6 .editsection,
.ns-8 .editsection,
.ns-12 .editsection,
.ns-14 .editsection
{
display: none !important;
}
/* Message Box */
.msgbox{
display:flex;
background:#FCFCFC;
box-sizing:border-box;
align-items:center;
width:auto;
padding:.4em .8em;
margin:0 auto;
margin-bottom:1em
}
.msgbox + .msgbox{
border-top:none;
margin-top:-1em
}
:not(.msgbox) + .msgbox,.msgbox:first-of-type{
border-top-right-radius:.15em;
border-top-left-radius:.15em
}
.msgbox #msgbox-iconimage,.msgbox #msgbox-image{
margin:0 1.5em 0 .5em
}
.msgbox-mini{
padding:.4em .5em;
margin:0 0;
margin-bottom:1em
}
.msgbox-mini #msgbox-icon{
align-self:flex-start
}
.msgbox-mini #msgbox-iconimage,.msgbox-mini #msgbox-image{
margin:0 .4em 0 .5em
}
.msgbox-mini #msgbox-text{
font-size:small
}
.msgbox-red{
background:hsl(0,75%,92%);
border-left:4px solid hsl(0,75%,85%)
}
.msgbox-orange{
background:hsl(40,75%,92%);
border-left:4px solid hsl(40,75%,85%)
}
.msgbox-yellow{
background:hsl(60,75%,92%);
border-left:4px solid hsl(60,75%,85%)
}
.msgbox-green{
background:hsl(120,75%,92%);
border-left:4px solid hsl(120,75%,85%)
}
.msgbox-blue{
background:hsl(215,75%,92%);
border-left:4px solid hsl(215,75%,85%)
}
.msgbox-magenta{
background:hsl(310,75%,92%);
border-left:4px solid hsl(310,75%,85%)
}
.msgbox-purple{
background:hsl(260,75%,92%);
border-left:4px solid hsl(260,75%,85%)
}
.msgbox-gray{
background:hsl(0,0%,92%);
border-left:4px solid hsl(0,0%,85%)
}
/* Crafting Recipe */
.craft-recipe {
width: 100% !important;
border-collapse: collapse !important;
margin: 1.5em 0 !important;
background-color: #ffffff !important;
border: 1px solid #d0d0d0 !important;
border-radius: 6px !important;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.craft-recipe tr {
border: none !important;
}
.craft-recipe td {
padding: 1.25em 1.5em !important;
border: none !important;
vertical-align: middle;
background-color: #ffffff;
}
.craft-bench {
font-weight: 600;
color: #0066cc;
min-width: 140px;
white-space: nowrap;
text-align: center;
border-right: 1px solid #e8e8e8 !important;
}
.craft-inputs {
text-align: left;
padding-left: 2em !important;
flex: 1;
border-right: 1px solid #e8e8e8 !important;
}
.craft-inputs a {
color: #0066cc;
text-decoration: none;
}
.craft-inputs a:hover {
text-decoration: underline;
}
.craft-arrow {
font-size: 1.5em;
font-weight: bold;
color: #666;
text-align: center;
padding: 1.25em 1em !important;
border-right: 1px solid #e8e8e8 !important;
border-left: 1px solid #e8e8e8 !important;
width: 40px;
user-select: none;
}
.craft-output {
font-weight: 600;
color: #0d7c2f;
text-align: center;
border-right: 1px solid #e8e8e8 !important;
min-width: 140px;
}
.craft-output a {
color: #0d7c2f;
text-decoration: none;
}
.craft-output a:hover {
text-decoration: underline;
}
.craft-cost {
text-align: center;
font-size: 0.9em;
color: #666;
min-width: 120px;
border-left: 1px solid #e8e8e8 !important;
line-height: 1.5;
}
.craft-cost img {
vertical-align: middle;
margin: 0 0.25em;
}
.craft-recipe:hover {
background-color: #fafafa;
}
.craft-recipe {
width: 100% !important;
border-collapse: collapse !important;
margin: 1.5em 0 !important;
background-color: #ffffff !important;
border: 1px solid #d0d0d0 !important;
border-radius: 6px !important;
overflow: hidden;
}
.craft-recipe th,
.craft-recipe td {
border: 1px solid #d0d0d0 !important;
padding: 0.75em !important;
text-align: center;
vertical-align: middle;
}
.craft-recipe th {
background-color: #f5f5f5;
font-weight: 600;
color: #333;
}
.craft-recipe tr:hover {
background-color: #f9f9f9;
}