]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyten/editor-style.css
Wordpress 3.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyten / editor-style.css
index 31ea0d5b25f4c6f32d4164c46ad3c9cf15037eee..c397b116c2c200bcb0960d485851bc8543288e41 100644 (file)
@@ -1,15 +1,13 @@
 /*
 Theme Name: Twenty Ten
-*/
-/*
-Used to style the TinyMCE editor.
+Description: Used to style the TinyMCE editor.
 */
 html .mceContentBody {
-       max-width:640px;
+       max-width: 640px;
 }
 * {
-       font-family: Georgia, "Bitstream Charter", serif;
        color: #444;
+       font-family: Georgia, "Bitstream Charter", serif;
        line-height: 1.5;
 }
 p,
@@ -40,40 +38,45 @@ body, input, textarea {
 }
 hr {
        background-color: #e7e7e7;
-       border:0;
+       border: 0;
+       clear: both;
        height: 1px;
        margin-bottom: 18px;
-       clear:both;
 }
 /* Text elements */
 p {
        margin-bottom: 18px;
 }
+
+ul,
+ol {
+       margin: 0 0 18px 1.5em;
+       padding: 0;
+}
+
 ul {
        list-style: square;
-       margin: 0 0 18px 1.5em;
 }
 ol {
        list-style: decimal;
-       margin: 0 0 18px 1.5em;
 }
 ol ol {
-       list-style:upper-alpha;
+       list-style: upper-alpha;
 }
 ol ol ol {
-       list-style:lower-roman;
+       list-style: lower-roman;
 }
 ol ol ol ol {
-       list-style:lower-alpha;
+       list-style: lower-alpha;
 }
 ul ul,
 ol ol,
 ul ol,
 ol ul {
-       margin-bottom:0;
+       margin-bottom: 0;
 }
 dl {
-       margin:0 0 24px 0;
+       margin: 0 0 24px 0;
 }
 dt {
        font-weight: bold;
@@ -82,20 +85,20 @@ dd {
        margin-bottom: 18px;
 }
 strong {
-       font-weight: bold;
        color: #000;
+       font-weight: bold;
 }
 cite,
 em,
 i {
-       font-style: italic;
        border: none;
+       font-style: italic;
 }
 big {
        font-size: 131.25%;
 }
 ins {
-       background: #ffffcc;
+       background: #ffc;
        border: none;
        color: #333;
 }
@@ -129,11 +132,11 @@ ins {
 }
 sup,
 sub {
+       font-size: 10px;
        height: 0;
        line-height: 1;
-       vertical-align: baseline;
        position: relative;
-       font-size: 10px;
+       vertical-align: baseline;
 }
 sup {
        bottom: 1ex;
@@ -142,10 +145,10 @@ sub {
        top: .5ex;
 }
 a:link {
-       color:#0066cc;
+       color: #06c;
 }
 a:visited {
-       color:#743399;
+       color: #743399;
 }
 a:active,
 a:hover {
@@ -157,13 +160,13 @@ ol,
 dd,
 pre,
 hr {
-       margin-bottom:24px;
+       margin-bottom: 24px;
 }
 ul ul,
 ol ol,
 ul ol,
 ol ul {
-       margin-bottom:0;
+       margin-bottom: 0;
 }
 pre,
 kbd,
@@ -188,9 +191,9 @@ h4,
 h5,
 h6 {
        color: #000;
-       margin: 0 0 20px 0;
-       line-height: 1.5em;
        font-weight: normal;
+       line-height: 1.5em;
+       margin: 0 0 20px 0;
 }
 h1 {
        font-size: 2.4em;
@@ -212,11 +215,11 @@ h6 {
 }
 table {
        border: 1px solid #e7e7e7 !important;
-       text-align: left;
-       margin: 0 -1px 24px 0;
-       width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
+       margin: 0 -1px 24px 0;
+       text-align: left;
+       width: 100%;
 }
 tr th,
 thead th {
@@ -232,11 +235,15 @@ tr td {
        border-top: 1px solid #e7e7e7 !important;
        padding: 6px 24px;
 }
-
-
 img {
        margin: 0;
-       max-width: 640px;
+}
+img.size-auto,
+img.size-large,
+img.size-full,
+img.size-medium {
+       max-width: 100%;
+       height: auto;
 }
 .alignleft,
 img.alignleft {
@@ -265,18 +272,19 @@ img.aligncenter {
        margin-bottom: 12px;
 }
 .wp-caption {
-       border: none;
        background: #f1f1f1;
+       border: none;
+       -khtml-border-radius: 0;
+       -moz-border-radius: 0;
+       -webkit-border-radius: 0;
+       border-radius: 0;
        color: #888;
        font-size: 12px;
        line-height: 18px;
-       text-align: center;
        margin-bottom: 20px;
+       max-width: 632px !important; /* prevent too-wide images from breaking layout */
        padding: 4px;
-       -moz-border-radius: 0;
-       -khtml-border-radius: 0;
-       -webkit-border-radius: 0;
-       border-radius: 0;
+       text-align: center;
 }
 .wp-caption img {
        margin: 5px;
@@ -285,5 +293,5 @@ img.aligncenter {
        margin: 0 0 4px;
 }
 .wp-smiley {
-       margin:0;
-}
\ No newline at end of file
+       margin: 0;
+}