Update editor-style

This commit is contained in:
Ben Word
2014-08-19 21:29:58 -05:00
parent c7a7d99417
commit ee3fc7119d

View File

@@ -8,6 +8,11 @@
* 5. Remove margin property on body tag * 5. Remove margin property on body tag
*/ */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
article, article,
aside, aside,
details, details,
@@ -24,8 +29,10 @@ summary {
} }
audio, audio,
canvas, canvas,
progress,
video { video {
display: inline-block; display: inline-block;
vertical-align: baseline;
} }
audio:not([controls]) { audio:not([controls]) {
display: none; display: none;
@@ -35,25 +42,13 @@ audio:not([controls]) {
template { template {
display: none; display: none;
} }
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
a { a {
background: transparent; background: transparent;
} }
a:focus {
outline: thin dotted;
}
a:active, a:active,
a:hover { a:hover {
outline: 0; outline: 0;
} }
h1 {
font-size: 2em;
margin: 0.67em 0;
}
abbr[title] { abbr[title] {
border-bottom: 1px dotted; border-bottom: 1px dotted;
} }
@@ -64,28 +59,14 @@ strong {
dfn { dfn {
font-style: italic; font-style: italic;
} }
hr { h1 {
-moz-box-sizing: content-box; font-size: 2em;
box-sizing: content-box; margin: 0.67em 0;
height: 0;
} }
mark { mark {
background: #ff0; background: #ff0;
color: #000; 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 { small {
font-size: 80%; font-size: 80%;
} }
@@ -109,28 +90,34 @@ svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
figure { figure {
margin: 0; margin: 1em 40px;
} }
fieldset { hr {
border: 1px solid #c0c0c0; -moz-box-sizing: content-box;
margin: 0 2px; box-sizing: content-box;
padding: 0.35em 0.625em 0.75em; height: 0;
} }
legend { pre {
border: 0; overflow: auto;
padding: 0; }
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
} }
button, button,
input, input,
optgroup,
select, select,
textarea { textarea {
font-family: inherit; color: inherit;
font-size: 100%; font: inherit;
margin: 0; margin: 0;
} }
button, button {
input { overflow: visible;
line-height: normal;
} }
button, button,
select { select {
@@ -147,11 +134,23 @@ button[disabled],
html input[disabled] { html input[disabled] {
cursor: default; cursor: default;
} }
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input {
line-height: normal;
}
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
box-sizing: border-box; box-sizing: border-box;
padding: 0; padding: 0;
} }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; -webkit-appearance: textfield;
-moz-box-sizing: content-box; -moz-box-sizing: content-box;
@@ -162,20 +161,34 @@ input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
} }
button::-moz-focus-inner, fieldset {
input::-moz-focus-inner { border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0; border: 0;
padding: 0; padding: 0;
} }
textarea { textarea {
overflow: auto; overflow: auto;
vertical-align: top; }
optgroup {
font-weight: bold;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
*, td,
th {
padding: 0;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before, *:before,
*:after { *:after {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
@@ -183,13 +196,13 @@ table {
box-sizing: border-box; box-sizing: border-box;
} }
html { html {
font-size: 62.5%; font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -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: 1.428571429; line-height: 1.42857143;
color: #333333; color: #333333;
background-color: #ffffff; background-color: #ffffff;
} }
@@ -211,15 +224,19 @@ a:focus {
text-decoration: underline; text-decoration: underline;
} }
a:focus { a:focus {
outline: thin dotted #333; outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color; outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px; outline-offset: -2px;
} }
figure {
margin: 0;
}
img { img {
vertical-align: middle; vertical-align: middle;
} }
.img-responsive { .img-responsive {
display: block; display: block;
width: 100% \9;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
@@ -228,13 +245,15 @@ img {
} }
.img-thumbnail { .img-thumbnail {
padding: 4px; padding: 4px;
line-height: 1.428571429; line-height: 1.42857143;
background-color: #ffffff; background-color: #ffffff;
border: 1px solid #dddddd; border: 1px solid #dddddd;
border-radius: 4px; border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
display: inline-block; display: inline-block;
width: 100% \9;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
@@ -257,68 +276,14 @@ hr {
clip: rect(0, 0, 0, 0); clip: rect(0, 0, 0, 0);
border: 0; border: 0;
} }
p { .sr-only-focusable:active,
margin: 0 0 10px; .sr-only-focusable:focus {
} position: static;
.lead { width: auto;
margin-bottom: 20px; height: auto;
font-size: 16px; margin: 0;
font-weight: 200; overflow: visible;
line-height: 1.4; clip: auto;
}
@media (min-width: 768px) {
.lead {
font-size: 21px;
}
}
small,
.small {
font-size: 85%;
}
cite {
font-style: normal;
}
.text-muted {
color: #999999;
}
.text-primary {
color: #428bca;
}
.text-primary:hover {
color: #3071a9;
}
.text-warning {
color: #c09853;
}
.text-warning:hover {
color: #a47e3c;
}
.text-danger {
color: #b94a48;
}
.text-danger:hover {
color: #953b39;
}
.text-success {
color: #468847;
}
.text-success:hover {
color: #356635;
}
.text-info {
color: #3a87ad;
}
.text-info:hover {
color: #2d6987;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
} }
h1, h1,
h2, h2,
@@ -332,7 +297,7 @@ h6,
.h4, .h4,
.h5, .h5,
.h6 { .h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: inherit;
font-weight: 500; font-weight: 500;
line-height: 1.1; line-height: 1.1;
color: inherit; color: inherit;
@@ -363,34 +328,52 @@ h6 .small,
.h6 .small { .h6 .small {
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
color: #999999; color: #777777;
} }
h1, h1,
.h1,
h2, h2,
h3 { .h2,
h3,
.h3 {
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
h1 small, h1 small,
.h1 small,
h2 small, h2 small,
.h2 small,
h3 small, h3 small,
.h3 small,
h1 .small, h1 .small,
.h1 .small,
h2 .small, h2 .small,
h3 .small { .h2 .small,
h3 .small,
.h3 .small {
font-size: 65%; font-size: 65%;
} }
h4, h4,
.h4,
h5, h5,
h6 { .h5,
h6,
.h6 {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
h4 small, h4 small,
.h4 small,
h5 small, h5 small,
.h5 small,
h6 small, h6 small,
.h6 small,
h4 .small, h4 .small,
.h4 .small,
h5 .small, h5 .small,
h6 .small { .h5 .small,
h6 .small,
.h6 .small {
font-size: 75%; font-size: 75%;
} }
h1, h1,
@@ -417,6 +400,120 @@ h6,
.h6 { .h6 {
font-size: 12px; font-size: 12px;
} }
p {
margin: 0 0 10px;
}
.lead {
margin-bottom: 20px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
}
@media (min-width: 768px) {
.lead {
font-size: 21px;
}
}
small,
.small {
font-size: 85%;
}
cite {
font-style: normal;
}
mark,
.mark {
background-color: #fcf8e3;
padding: .2em;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
.text-justify {
text-align: justify;
}
.text-nowrap {
white-space: nowrap;
}
.text-lowercase {
text-transform: lowercase;
}
.text-uppercase {
text-transform: uppercase;
}
.text-capitalize {
text-transform: capitalize;
}
.text-muted {
color: #777777;
}
.text-primary {
color: #428bca;
}
a.text-primary:hover {
color: #3071a9;
}
.text-success {
color: #3c763d;
}
a.text-success:hover {
color: #2b542c;
}
.text-info {
color: #31708f;
}
a.text-info:hover {
color: #245269;
}
.text-warning {
color: #8a6d3b;
}
a.text-warning:hover {
color: #66512c;
}
.text-danger {
color: #a94442;
}
a.text-danger:hover {
color: #843534;
}
.bg-primary {
color: #fff;
background-color: #428bca;
}
a.bg-primary:hover {
background-color: #3071a9;
}
.bg-success {
background-color: #dff0d8;
}
a.bg-success:hover {
background-color: #c1e2b3;
}
.bg-info {
background-color: #d9edf7;
}
a.bg-info:hover {
background-color: #afd9ee;
}
.bg-warning {
background-color: #fcf8e3;
}
a.bg-warning:hover {
background-color: #f7ecb5;
}
.bg-danger {
background-color: #f2dede;
}
a.bg-danger:hover {
background-color: #e4b9b9;
}
.page-header { .page-header {
padding-bottom: 9px; padding-bottom: 9px;
margin: 40px 0 20px; margin: 40px 0 20px;
@@ -440,21 +537,20 @@ ol ol {
.list-inline { .list-inline {
padding-left: 0; padding-left: 0;
list-style: none; list-style: none;
margin-left: -5px;
} }
.list-inline > li { .list-inline > li {
display: inline-block; display: inline-block;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.list-inline > li:first-child {
padding-left: 0;
}
dl { dl {
margin-top: 0;
margin-bottom: 20px; margin-bottom: 20px;
} }
dt, dt,
dd { dd {
line-height: 1.428571429; line-height: 1.42857143;
} }
dt { dt {
font-weight: bold; font-weight: bold;
@@ -475,65 +571,61 @@ dd {
.dl-horizontal dd { .dl-horizontal dd {
margin-left: 180px; margin-left: 180px;
} }
.dl-horizontal dd:before,
.dl-horizontal dd:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.dl-horizontal dd:after {
clear: both;
}
} }
abbr[title], abbr[title],
abbr[data-original-title] { abbr[data-original-title] {
cursor: help; cursor: help;
border-bottom: 1px dotted #999999; border-bottom: 1px dotted #777777;
} }
abbr.initialism { .initialism {
font-size: 90%; font-size: 90%;
text-transform: uppercase; text-transform: uppercase;
} }
blockquote { blockquote {
padding: 10px 20px; padding: 10px 20px;
margin: 0 0 20px; margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eeeeee; border-left: 5px solid #eeeeee;
} }
blockquote p { blockquote p:last-child,
font-size: 17.5px; blockquote ul:last-child,
font-weight: 300; blockquote ol:last-child {
line-height: 1.25;
}
blockquote p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
blockquote small { blockquote footer,
blockquote small,
blockquote .small {
display: block; display: block;
line-height: 1.428571429; font-size: 80%;
color: #999999; line-height: 1.42857143;
color: #777777;
} }
blockquote small:before { blockquote footer:before,
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0'; content: '\2014 \00A0';
} }
.blockquote-reverse,
blockquote.pull-right { blockquote.pull-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 small,
blockquote.pull-right .small {
text-align: right; text-align: right;
} }
.blockquote-reverse footer:before,
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before, blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before { blockquote.pull-right .small:before {
content: ''; content: '';
} }
.blockquote-reverse footer:after,
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after, blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after { blockquote.pull-right .small:after {
content: '\00A0 \2014'; content: '\00A0 \2014';
} }
@@ -544,5 +636,52 @@ blockquote:after {
address { address {
margin-bottom: 20px; margin-bottom: 20px;
font-style: normal; font-style: normal;
line-height: 1.428571429; line-height: 1.42857143;
}
.clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after {
content: " ";
display: table;
}
.clearfix:after,
.dl-horizontal dd:after {
clear: both;
}
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.hidden {
display: none !important;
visibility: hidden !important;
}
.affix {
position: fixed;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
} }