From fd1bb05f2deffd1bd9a48963ef3917fe9f0ef090 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 19 Mar 2016 18:46:16 +0800 Subject: add breadcrumb code --- dist/spectre.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'dist') diff --git a/dist/spectre.css b/dist/spectre.css index 884ce1c..98cd410 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -1123,6 +1123,28 @@ textarea.form-input { border-bottom: 1px solid #efefef; margin: .5rem; } +.breadcrumb { + list-style: none; + margin: .5rem 0; + padding: 1.2rem; +} +.breadcrumb li { + display: inline-block; + margin: 0; +} +.breadcrumb li a { + text-decoration: none; +} +.breadcrumb li:last-child, +.breadcrumb li:last-child a { + color: #666666; + pointer-events: none; +} +.breadcrumb li:not(:last-child)::after { + content: "/"; + padding: 0 .4rem; + color: #c5c5c5; +} .clearfix::after, .container::after, .columns::after { -- cgit v1.3.1-26-gb76a