Difference between revisions of "Template:Recipe draw/styles.css"

From Captain of Industry Wiki
Jump to: navigation, search
(Styling to make the template output look just like the recipe list inside machines)
(almost pixel-perfect)
Line 13: Line 13:
   background-color: rgba(34,34,34,1);
   background-color: rgba(34,34,34,1);
   border: 3px solid rgba(128,128,128,1);
   border: 3px solid rgba(128,128,128,1);
   font-size: 16px;
   font-size: 15px;
   font-weight: bold;
   font-weight: bold;
}
}
Line 29: Line 29:
.colon { font-size: 24px; }
.colon { font-size: 24px; }
.plus { font-size: 36px; }
.plus { font-size: 36px; }
.time { font-weight: normal; }

Revision as of 17:13, 16 January 2022

/* External stylesheet intended for ease of maintenance with the following templates:

   - Template:Recipe

*/

.recipe-wrapper {
  display: table;
  min-height: 75px;
  margin: 7px;
  padding: 4px 18px;
  color: white;
  background-color: rgba(34,34,34,1);
  border: 3px solid rgba(128,128,128,1);
  font-size: 15px;
  font-weight: bold;
}

.block {
  display: inline-block;
  max-width: 64px;
  text-align: center;
  vertical-align: middle;
  padding: 0 5px;
}

.accepts-provides { max-width: unset; }
.quantity { margin-top: 5px; }
.colon { font-size: 24px; }
.plus { font-size: 36px; }
.time { font-weight: normal; }