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 ++++++++++++++++++++++++++++++++++++++++++- docs/index.html | 8 ++++---- 2 files changed, 46 insertions(+), 5 deletions(-) (limited to 'docs') 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; +} diff --git a/docs/index.html b/docs/index.html index c22c305af..d1adc9a5d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,7 +11,6 @@ - @@ -744,6 +743,7 @@
+ Small snippet of help text
@@ -1180,12 +1180,12 @@
-

Tweet Modal

-

This is text about a modal that i am making. mark will say change this text. we will change it. It will be changed O_O

+

Example modal

+

Modals—dialogs or lightboxes—are great for contextual actions in situations where it's important that the background context be maintained.