@import "sass-zero/base/variables"; @import "sass-zero/mixins"; html { color: $breadboard-color; } blockquote { border-left-width: $border-4; padding: $size-3 $size-4; *:last-child { margin-bottom: $size-0; } } .btn, button, input[type='button'], input[type='reset'], input[type='submit'] { background-color: $white; border-radius: $rounded; border-width: $border; color: $breadboard-primary; display: inline-block; font-weight: $font-bold; padding: $size-2 $size-4; cursor: pointer; &[disabled] { cursor: default; opacity: $opacity-50; } } .btn { &--primary { background-color: $breadboard-primary !important; border-color: $breadboard-primary; box-shadow: $shadow-sm; color: $white !important; } &--secondary { background-color: transparent !important; border-color: $breadboard-primary; } &--tertiary { background-color: transparent !important; border-color: transparent; } } code { background-color: $breadboard-background; border-radius: $rounded; font-size: $text-sm; margin: 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; border-bottom-width: $border-2; } input[type='email'], input[type='number'], input[type='password'], input[type='search'], input[type='tel'], input[type='text'], input[type='url'], input[type='color'], input[type='date'], input[type='month'], input[type='week'], input[type='datetime'], input[type='datetime-local'], input:not([type]), textarea, select { appearance: none; border-radius: $rounded; border-width: $border; display: block; padding: $size-2 $size-3; width: $size-full; &:focus { border-color: $breadboard-color; box-shadow: $shadow-outline; outline: 0; } } select:not([multiple]) { 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: block; margin-bottom: $size-1; } input[type='checkbox'], input[type='radio'] { appearance: none; background-origin: border-box; border-width: $border; color: $breadboard-primary; display: inline-block; margin-bottom: -2.6px; height: $size-4; width: $size-4; &:checked { border-color: transparent; background-color: currentColor; background-position: center; background-repeat: no-repeat; } } input[type='checkbox'] { border-radius: $rounded; &:checked { background-image: url('data:image/svg+xml,'); } } input[type='radio'] { border-radius: $rounded-full; &:checked { background-image: url('data:image/svg+xml,'); } } a { color: $breadboard-primary; font-weight: $font-semibold; cursor: pointer; } ol { list-style: decimal inside; } ul { list-style: disc inside; } h1, h2, h3, h4, h5, h6 { margin-bottom: $size-2; } button, dd, dt, li { margin-bottom: $size-2; } fieldset, input, select, textarea { margin-bottom: $size-4; } blockquote, dl, figure, form, ol, p, pre, table, ul { margin-bottom: $size-6; } table { width: $size-full; } thead th { border-bottom-width: $border-2; } td, th { border-bottom-width: $border; padding: $size-3 $size-4; text-align: left; } h1, h2, h3, h4, h5, h6 { color: $breadboard-primary; font-weight: $font-bold; line-height: $leading-tight; } h1 { font-size: $text-4xl; } h2 { font-size: $text-3xl; } h3 { font-size: $text-2xl; } h4 { font-size: $text-xl; } h5 { font-size: $text-lg; } h6 { font-size: $text-base; } main { @include make-container($size-4, $breakpoint-lg); }