From 4e95e558db14a2de80c6cdfd5712c15c8130a951 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 28 Jun 2011 15:11:41 -0700 Subject: reseting baseline to 18px, fixing wells, moving pre styles for chili to docs --- docs/assets/css/docs.css | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) (limited to 'docs/assets/css/docs.css') diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 9c61dfb02..6f96d166e 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -185,4 +185,45 @@ div.topbar-wrapper div.topbar { padding-right: 20px; -moz-border-radius: 4px; border-radius: 4px; -} \ No newline at end of file +} +/* Code blocks +-------------------------------------------------- */ +pre.css, pre.html { + background-color: #fff; +} +pre ol { + background-color: #feeed6; + list-style: decimal; + margin: -17px; + padding-left: 59px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; +} +pre ol li { + background-color: #fff; + padding: 0 10px; + border-left: 1px solid rgba(0, 0, 0, 0.1); + border-left-color: #fddfb3; + font-size: 11px; + line-height: 18px; + color: #bbb; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); + word-wrap: break-word; +} +pre ol li:first-child { + padding-top: 9px; +} +pre ol li:last-child { + padding-bottom: 9px; +} +span.html__tag_start, span.html__tag_end { + color: #277ac1; + font-weight: normal; +} +span.html__attr_name { + color: #d78b41; +} +span.html__attr_value { + color: #de4a3f; +} -- cgit v1.2.3