MediaWiki:Common.css: Difference between revisions

More tinkering
No edit summary
Line 93: Line 93:
   margin: 1.5rem 0;
   margin: 1.5rem 0;
}
}
 
.craft-header {
.craft-header {
   font-size: 13px;
   font-size: 13px;
Line 99: Line 99:
   margin-bottom: 1.25rem;
   margin-bottom: 1.25rem;
   font-weight: 500;
   font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.craft-bench-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.craft-bench-icon img {
  max-width: 100%;
  height: auto;
}
}
 
.craft-row {
.craft-row {
   display: flex;
   display: flex;
Line 108: Line 125:
   justify-content: center;
   justify-content: center;
}
}
 
.craft-item {
.craft-item {
   text-align: center;
   text-align: center;
   min-width: 60px;
   min-width: 60px;
}
}
 
.craft-icon {
.craft-icon {
   width: 36px;
   width: 36px;
Line 125: Line 142:
   border-radius: 4px;
   border-radius: 4px;
}
}
 
.craft-icon img {
.craft-icon img {
   max-width: 100%;
   max-width: 100%;
   height: auto;
   height: auto;
}
}
 
.craft-qty {
.craft-qty {
   font-size: 12px;
   font-size: 12px;
Line 137: Line 154:
   margin-bottom: 0.25rem;
   margin-bottom: 0.25rem;
}
}
 
.craft-name {
.craft-name {
   font-size: 12px;
   font-size: 12px;
Line 143: Line 160:
   word-break: break-word;
   word-break: break-word;
}
}
 
.craft-name a {
.craft-name a {
   color: var(--text-accent);
   color: var(--text-accent);
   text-decoration: none;
   text-decoration: none;
}
}
 
.craft-name a:hover {
.craft-name a:hover {
   text-decoration: underline;
   text-decoration: underline;
}
}
 
.craft-plus {
.craft-plus {
   font-size: 16px;
   font-size: 16px;
Line 158: Line 175:
   font-weight: 300;
   font-weight: 300;
}
}
 
.craft-equals {
.craft-equals {
   font-size: 16px;
   font-size: 16px;