fda-nutrition-facts-label
Version:
FDA nutritional label with 2018 specs.
1 lines • 2.96 kB
CSS
.fda-nutrition-label{background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1em;border:2px solid #000;padding:5px;width:300px}.fda-nutrition-label b{font-family:Arial Black,Arial,sans-serif;font-weight:800}.fda-nutrition-label--row{display:flex;justify-content:space-between;align-items:baseline;line-height:1.4em}.fda-nutrition-label--row.indent{padding-left:1em}.fda-nutrition-label--row.indent-2{margin-left:2em}.fda-nutrition-label--section{line-height:.9em}.fda-nutrition-label--section+.fda-nutrition-label--section{margin-top:4px}.fda-nutrition-label--section.title{font-size:2.25em;white-space:nowrap;letter-spacing:-.02em;padding-bottom:2px;border-bottom:2px solid #000}.fda-nutrition-label--section.servings{font-size:1.125em;padding-bottom:4px;border-bottom:15px solid #000}.fda-nutrition-label--section.calories,.fda-nutrition-label--section.daily-value-b{border-bottom:7px solid #000}.fda-nutrition-label--section.calories{padding-bottom:6px}.fda-nutrition-label--section.calories .fda-nutrition-label--row{font-size:32px;line-height:.9em}.fda-nutrition-label--section.calories .fda-nutrition-label--row div:last-child{font-size:1.25em}.fda-nutrition-label--section.daily-value-a{border-bottom:15px solid #000}.fda-nutrition-label--section.daily-value-a .fda-nutrition-label--row{font-size:.9375em;border-top:2px solid #000}.fda-nutrition-label--section.daily-value-a .fda-nutrition-label--row.indent,.fda-nutrition-label--section.daily-value-a .fda-nutrition-label--row.indent-2{border-top:1px solid #000}.fda-nutrition-label--section.daily-value-a .fda-nutrition-label--row:first-of-type{border-top:none}.fda-nutrition-label--section.daily-value-b .fda-nutrition-label--row{font-size:.9375em;border-bottom:1px solid #000}.fda-nutrition-label--section.daily-value-b .fda-nutrition-label--row:first-of-type{border-bottom:2px solid #000}.fda-nutrition-label--section.daily-value-b .fda-nutrition-label--row:last-of-type{border-bottom:none}.fda-nutrition-label--section.disclaimer{position:relative;font-size:.75em;padding-left:.6em;line-height:1.2em}.fda-nutrition-label--section.disclaimer:before{content:"*";position:absolute;top:0;left:0}.fda-nutrition-label--section.disclaimer .calories-per-gram{border-top:1px solid #000;margin-top:4px;padding-top:4px}.fda-nutrition-label--section.disclaimer .calories-per-gram>span{display:block;text-align:center}.fda-nutrition-label--section.disclaimer .calories-per-gram ul{display:inline-block;padding:2px 0 0;margin:0 auto;list-style:none}.fda-nutrition-label--section.disclaimer .calories-per-gram ul:after{content:"";display:table;clear:both}.fda-nutrition-label--section.disclaimer .calories-per-gram ul li{float:left;position:relative}.fda-nutrition-label--section.disclaimer .calories-per-gram ul li+li{padding-left:2em}.fda-nutrition-label--section.disclaimer .calories-per-gram ul li+li:before{content:"\2022";position:absolute;left:1em;transform:translateX(-50%)}