@import "sass-zero/base/variables"; @import "sass-zero/mixins"; html { color: $breadboard-color; font-size: 14px; } main { padding-right: $size-2; padding-left: $size-2; } blockquote { border-left-width: $border-4; padding: $size-3 $size-4; *:last-child { margin-bottom: $size-0; } } .btn { background-color: $white; border-radius: $rounded; border-width: $border; color: $breadboard-color; display: inline-block; font-weight: $font-bold; padding: $size-2 $size-4; text-align: center; cursor: pointer; &:disabled, &.disabled { pointer-events: none; opacity: $opacity-50; } &--primary { background-color: $breadboard-primary; border-color: $breadboard-primary; color: $white; box-shadow: $shadow-md; } &--secondary { background-color: $white; border-color: $breadboard-primary; } &--tertiary { background-color: transparent; border-color: transparent; } } code { background-color: $breadboard-background; border-radius: $rounded; font-size: $text-sm; margin: $size-0 $size-1; padding: $size-1 $size-2; white-space: nowrap; } pre { background-color: $breadboard-background; border-color: $breadboard-primary; border-left-width: $border-4; overflow-y: hidden; & > code { border-radius: $rounded-none; display: block; padding: $size-2 $size-3; white-space: pre; } } hr { margin: $size-10 $size-0; } .input { border-radius: $rounded; border-width: $border; padding: $size-2 $size-3; width: $size-full; &:focus { border-color: $breadboard-color; box-shadow: $shadow-outline; outline: 0; } &--select { appearance: none; background-image: url('data:image/svg+xml,'); background-position: right $size-2 center; background-repeat: no-repeat; background-size: auto $size-6; padding-right: $size-10; } } label, legend { display: inline-block; margin-bottom: $size-1; } .checkbox, .radio { appearance: none; border-width: $border; color: $breadboard-primary; margin-bottom: -0.2rem; height: $size-4; width: $size-4; &:checked { border-color: transparent; background-color: currentColor; background-position: center; background-repeat: no-repeat; } &:focus { border-color: $breadboard-color; box-shadow: $shadow-outline; outline: 0; } } .checkbox { border-radius: $rounded; &:checked { background-image: url('data:image/svg+xml,'); } } .radio { border-radius: $rounded-full; &:checked { background-image: url('data:image/svg+xml,'); } } a { font-weight: $font-bold; } ul { list-style: disc inside; } ol { list-style: decimal inside; } dt, dd, li { &:last-child { margin-bottom: $size-0; } } h1, h2, h3, h4, h5, h6, .hdg { margin-bottom: $size-2; } dt, dd, li, .btn { margin-bottom: $size-2; } fieldset, .input { margin-bottom: $size-4; } blockquote, figure, p, pre, table, ul, ol, dl { margin-bottom: $size-4; } table { width: $size-full; } td, th { border-bottom-width: $border; padding: $size-3 $size-4; text-align: left; } h1, h2, h3, h4, h5, h6, .hdg { font-weight: $font-bold; line-height: $leading-tight; } h1, .hdg--4xl { font-size: $text-4xl; } h2, .hdg--3xl { font-size: $text-3xl; } h3, .hdg--2xl { font-size: $text-2xl; } h4, .hdg--xl { font-size: $text-xl; } h5, .hdg--lg { font-size: $text-lg; } h6, .hdg--base { font-size: $text-base; } @media (min-width: $breakpoint-md) { html { font-size: 16px; } main { @include make-container($size-10, $breakpoint-lg); } }