Commit 27cbe7f6 authored by Mark Otto's avatar Mark Otto

add abbr styles, overhaul type docs section to remove lots of verbose text and...

add abbr styles, overhaul type docs section to remove lots of verbose text and put emphasis on tables and more scannable content
parent d035fa73
......@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Mon Oct 17 12:44:52 PDT 2011
* Date: Mon Oct 17 14:16:58 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
......@@ -367,6 +367,7 @@ h5,
h6 {
font-weight: bold;
color: #404040;
text-rendering: optimizelegibility;
}
h1 small,
h2 small,
......@@ -388,7 +389,7 @@ h2 {
line-height: 36px;
}
h2 small {
font-size: 14px;
font-size: 18px;
}
h3 {
line-height: 27px;
......@@ -466,6 +467,12 @@ em {
.muted {
color: #bfbfbf;
}
abbr {
font-size: 90%;
text-transform: uppercase;
border-bottom: 1px dotted #ddd;
cursor: help;
}
blockquote {
margin-bottom: 18px;
border-left: 5px solid #eee;
......
......@@ -63,9 +63,9 @@ a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:
.offset10{margin-left:820px;}
.offset11{margin-left:900px;}
p{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;margin-bottom:9px;}p small{font-size:11px;color:#bfbfbf;}
h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#bfbfbf;}
h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#bfbfbf;}
h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}
h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}
h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;}
h4{font-size:16px;line-height:36px;}h4 small{font-size:12px;}
h5{font-size:14px;line-height:18px;}
......@@ -83,6 +83,7 @@ hr{margin:20px 0 19px;border:0;border-bottom:1px solid #eee;}
strong{font-style:inherit;font-weight:bold;}
em{font-style:italic;font-weight:inherit;line-height:inherit;}
.muted{color:#bfbfbf;}
abbr{font-size:90%;text-transform:uppercase;border-bottom:1px dotted #ddd;cursor:help;}
blockquote{margin-bottom:18px;border-left:5px solid #eee;padding-left:15px;}blockquote p{font-size:14px;font-weight:300;line-height:18px;margin-bottom:0;}
blockquote small{display:block;font-size:12px;font-weight:300;line-height:18px;color:#bfbfbf;}blockquote small:before{content:'\2014 \00A0';}
address{display:block;line-height:18px;margin-bottom:18px;}
......
......@@ -307,6 +307,11 @@ pre.prettyprint {
max-width: 100%;
}
/* Make tables spaced out a bit more */
h2 + table {
margin-top: 10px;
}
/* Responsive Docs
-------------------------------------------------- */
@media (max-width: 480px) {
......
This diff is collapsed.
......@@ -24,6 +24,7 @@ p {
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
color: @grayDark;
text-rendering: optimizelegibility;
small {
color: @grayLight;
}
......@@ -39,7 +40,7 @@ h2 {
font-size: 24px;
line-height: @baseLineHeight * 2;
small {
font-size: 14px;
font-size: 18px;
}
}
h3 {
......@@ -134,6 +135,14 @@ em {
color: @grayLight;
}
// Abbreviations and acronyms
abbr {
font-size: 90%;
text-transform: uppercase;
border-bottom: 1px dotted #ddd;
cursor: help;
}
// Blockquotes
blockquote {
margin-bottom: @baseLineHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment