Close #881 - Update editor-style.css and instructions

This commit is contained in:
Ben Word
2013-11-03 16:08:52 -06:00
parent a6d3139269
commit e4c3364eef

View File

@@ -3,129 +3,314 @@
* *
* 1. Go to http://getbootstrap.com/customize/ * 1. Go to http://getbootstrap.com/customize/
* 2. Un-toggle everything * 2. Un-toggle everything
* 3. Check: 'Body type and links', 'Headings, body, etc', 'Code and pre' * 3. Check: 'Typography'
* 4. Download * 4. Download
* 5. Remove margin property on body tag * 5. Remove margin property on body tag
*/ */
.clearfix { article,
*zoom: 1; aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
} }
.clearfix:before, audio,
.clearfix:after { canvas,
display: table; video {
content: ""; display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
a {
background: transparent;
}
a:focus {
outline: thin dotted;
}
a:active,
a:hover {
outline: 0;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
mark {
background: #ff0;
color: #000;
}
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
pre {
white-space: pre-wrap;
}
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0; line-height: 0;
position: relative;
vertical-align: baseline;
} }
.clearfix:after { sup {
clear: both; top: -0.5em;
} }
.hide-text { sub {
font: 0/0 a; bottom: -0.25em;
color: transparent; }
text-shadow: none; img {
background-color: transparent;
border: 0; border: 0;
} }
.input-block-level { svg:not(:root) {
display: block; overflow: hidden;
width: 100%; }
min-height: 30px; figure {
margin: 0;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
button,
input,
select,
textarea {
font-family: inherit;
font-size: 100%;
margin: 0;
}
button,
input {
line-height: normal;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
vertical-align: top;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
html {
font-size: 62.5%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body { body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 1.428571429;
color: #333333; color: #333333;
background-color: #ffffff; background-color: #ffffff;
} }
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
a { a {
color: #0088cc; color: #428bca;
text-decoration: none; text-decoration: none;
} }
a:hover, a:hover,
a:focus { a:focus {
color: #005580; color: #2a6496;
text-decoration: underline; text-decoration: underline;
} }
a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
img {
vertical-align: middle;
}
.img-responsive {
display: block;
max-width: 100%;
height: auto;
}
.img-rounded { .img-rounded {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
} }
.img-polaroid { .img-thumbnail {
padding: 4px; padding: 4px;
background-color: #fff; line-height: 1.428571429;
border: 1px solid #ccc; background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid #dddddd;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 4px;
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -webkit-transition: all 0.2s ease-in-out;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
} }
.img-circle { .img-circle {
-webkit-border-radius: 500px; border-radius: 50%;
-moz-border-radius: 500px; }
border-radius: 500px; hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
} }
p { p {
margin: 0 0 10px; margin: 0 0 10px;
} }
.lead { .lead {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 21px; font-size: 16px;
font-weight: 200; font-weight: 200;
line-height: 30px; line-height: 1.4;
} }
small { @media (min-width: 768px) {
.lead {
font-size: 21px;
}
}
small,
.small {
font-size: 85%; font-size: 85%;
} }
strong {
font-weight: bold;
}
em {
font-style: italic;
}
cite { cite {
font-style: normal; font-style: normal;
} }
.muted { .text-muted {
color: #999999; color: #999999;
} }
a.muted:hover, .text-primary {
a.muted:focus { color: #428bca;
color: #808080; }
.text-primary:hover {
color: #3071a9;
} }
.text-warning { .text-warning {
color: #c09853; color: #c09853;
} }
a.text-warning:hover, .text-warning:hover {
a.text-warning:focus {
color: #a47e3c; color: #a47e3c;
} }
.text-error { .text-danger {
color: #b94a48; color: #b94a48;
} }
a.text-error:hover, .text-danger:hover {
a.text-error:focus {
color: #953b39; color: #953b39;
} }
.text-info {
color: #3a87ad;
}
a.text-info:hover,
a.text-info:focus {
color: #2d6987;
}
.text-success { .text-success {
color: #468847; color: #468847;
} }
a.text-success:hover, .text-success:hover {
a.text-success:focus {
color: #356635; color: #356635;
} }
.text-info {
color: #3a87ad;
}
.text-info:hover {
color: #2d6987;
}
.text-left { .text-left {
text-align: left; text-align: left;
} }
@@ -140,20 +325,42 @@ h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6,
margin: 10px 0; .h1,
font-family: inherit; .h2,
font-weight: bold; .h3,
line-height: 20px; .h4,
.h5,
.h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.1;
color: inherit; color: inherit;
text-rendering: optimizelegibility;
} }
h1 small, h1 small,
h2 small, h2 small,
h3 small, h3 small,
h4 small, h4 small,
h5 small, h5 small,
h6 small { h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
color: #999999; color: #999999;
@@ -161,119 +368,125 @@ h6 small {
h1, h1,
h2, h2,
h3 { h3 {
line-height: 40px; margin-top: 20px;
margin-bottom: 10px;
} }
h1 { h1 small,
font-size: 38.5px; h2 small,
} h3 small,
h2 { h1 .small,
font-size: 31.5px; h2 .small,
} h3 .small {
h3 { font-size: 65%;
font-size: 24.5px;
}
h4 {
font-size: 17.5px;
}
h5 {
font-size: 14px;
} }
h4,
h5,
h6 { h6 {
font-size: 11.9px; margin-top: 10px;
margin-bottom: 10px;
} }
h1 small { h4 small,
font-size: 24.5px; h5 small,
h6 small,
h4 .small,
h5 .small,
h6 .small {
font-size: 75%;
} }
h2 small { h1,
font-size: 17.5px; .h1 {
font-size: 36px;
} }
h3 small { h2,
.h2 {
font-size: 30px;
}
h3,
.h3 {
font-size: 24px;
}
h4,
.h4 {
font-size: 18px;
}
h5,
.h5 {
font-size: 14px; font-size: 14px;
} }
h4 small { h6,
font-size: 14px; .h6 {
font-size: 12px;
} }
.page-header { .page-header {
padding-bottom: 9px; padding-bottom: 9px;
margin: 20px 0 30px; margin: 40px 0 20px;
border-bottom: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee;
} }
ul, ul,
ol { ol {
padding: 0; margin-top: 0;
margin: 0 0 10px 25px; margin-bottom: 10px;
} }
ul ul, ul ul,
ol ul,
ul ol, ul ol,
ol ol, ol ol {
ol ul {
margin-bottom: 0; margin-bottom: 0;
} }
li { .list-unstyled {
line-height: 20px; padding-left: 0;
}
ul.unstyled,
ol.unstyled {
margin-left: 0;
list-style: none; list-style: none;
} }
ul.inline, .list-inline {
ol.inline { padding-left: 0;
margin-left: 0;
list-style: none; list-style: none;
} }
ul.inline > li, .list-inline > li {
ol.inline > li {
display: inline-block; display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.list-inline > li:first-child {
padding-left: 0;
}
dl { dl {
margin-bottom: 20px; margin-bottom: 20px;
} }
dt, dt,
dd { dd {
line-height: 20px; line-height: 1.428571429;
} }
dt { dt {
font-weight: bold; font-weight: bold;
} }
dd { dd {
margin-left: 10px; margin-left: 0;
} }
.dl-horizontal { @media (min-width: 768px) {
*zoom: 1; .dl-horizontal dt {
} float: left;
.dl-horizontal:before, width: 160px;
.dl-horizontal:after { clear: left;
display: table; text-align: right;
content: ""; overflow: hidden;
line-height: 0; text-overflow: ellipsis;
} white-space: nowrap;
.dl-horizontal:after { }
clear: both; .dl-horizontal dd {
} margin-left: 180px;
.dl-horizontal dt { }
float: left; .dl-horizontal dd:before,
width: 160px; .dl-horizontal dd:after {
clear: left; content: " ";
text-align: right; /* 1 */
overflow: hidden;
text-overflow: ellipsis; display: table;
white-space: nowrap; /* 2 */
}
.dl-horizontal dd { }
margin-left: 180px; .dl-horizontal dd:after {
} clear: both;
hr { }
margin: 20px 0;
border: 0;
border-top: 1px solid #eeeeee;
border-bottom: 1px solid #ffffff;
} }
abbr[title], abbr[title],
abbr[data-original-title] { abbr[data-original-title] {
@@ -285,99 +498,51 @@ abbr.initialism {
text-transform: uppercase; text-transform: uppercase;
} }
blockquote { blockquote {
padding: 0 0 0 15px; padding: 10px 20px;
margin: 0 0 20px; margin: 0 0 20px;
border-left: 5px solid #eeeeee; border-left: 5px solid #eeeeee;
} }
blockquote p { blockquote p {
margin-bottom: 0;
font-size: 17.5px; font-size: 17.5px;
font-weight: 300; font-weight: 300;
line-height: 1.25; line-height: 1.25;
} }
blockquote p:last-child {
margin-bottom: 0;
}
blockquote small { blockquote small {
display: block; display: block;
line-height: 20px; line-height: 1.428571429;
color: #999999; color: #999999;
} }
blockquote small:before { blockquote small:before {
content: '\2014 \00A0'; content: '\2014 \00A0';
} }
blockquote.pull-right { blockquote.pull-right {
float: right;
padding-right: 15px; padding-right: 15px;
padding-left: 0; padding-left: 0;
border-right: 5px solid #eeeeee; border-right: 5px solid #eeeeee;
border-left: 0; border-left: 0;
} }
blockquote.pull-right p, blockquote.pull-right p,
blockquote.pull-right small { blockquote.pull-right small,
blockquote.pull-right .small {
text-align: right; text-align: right;
} }
blockquote.pull-right small:before { blockquote.pull-right small:before,
blockquote.pull-right .small:before {
content: ''; content: '';
} }
blockquote.pull-right small:after { blockquote.pull-right small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014'; content: '\00A0 \2014';
} }
q:before,
q:after,
blockquote:before, blockquote:before,
blockquote:after { blockquote:after {
content: ""; content: "";
} }
address { address {
display: block;
margin-bottom: 20px; margin-bottom: 20px;
font-style: normal; font-style: normal;
line-height: 20px; line-height: 1.428571429;
}
code,
pre {
padding: 0 3px 2px;
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
font-size: 12px;
color: #333333;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
code {
padding: 2px 4px;
color: #d14;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
white-space: nowrap;
}
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 20px;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
pre.prettyprint {
margin-bottom: 20px;
}
pre code {
padding: 0;
color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;
}
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
} }