Repository navigation
bevel.css 0.1.0
First release: enough for a page, a nav, text, a form, a table and feedback.
Added
- Tokens for color, type, spacing, radius, shadow, emboss and motion, all prefixed
--bv-. - Base typography: headings with subtitles,
.lead, paragraphs capped at about 70 characters a line, links with a faint underline,small,code,preand the etchedhr. Long words break instead of widening the page, and images and video shrink to fit. - Layout:
.container,.rowwith.cols-2,.cols-3and.cols-4,.sectionand.page-header. - Navbar: dark top bar with links, an active state marked by a bottom bar, vertical divider and brand; the brand sits left or right by its place in the markup,
.nav-endpushes a group of links to the right, and.navbar-stickykeeps the bar at the top while the page scrolls..skip-linklets keyboard users jump past it. - Buttons: default, primary and danger; small and large; pressed and disabled;
.btn-groupand.btn-toolbar. - Forms, stacked: labels, text fields (including date, time, datetime-local, month and week), select and list boxes, textarea, checkbox, radio,
fieldsetandlegend, help text, error state and.form-actions. - Tables:
.tablewith striped, bordered and condensed modifiers, and row hover. - Alerts: warning, error, success and info in pastel tints, plus
.alert-block. - Labels and badges: default, success, warning, important, info and inverse, as pastel chips.
- Hero unit:
.hero-unit, an opt-in large callout to open a page, with a smaller heading and inset below 768px;.hero-unit-gridswaps the grey fill for the 2.0 docs' 18px grid on white. - Utilities:
.muted,.text-rightand.table-scroll.
Using it
Download bevel-0.1.0.css below, copy it into your app's static folder and link it before your own stylesheet.