X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a5227bf01edbe6660486c9f5c0f0ed7b7fea3130..refs/tags/wordpress-3.1:/wp-content/themes/twentyten/editor-style.css diff --git a/wp-content/themes/twentyten/editor-style.css b/wp-content/themes/twentyten/editor-style.css index 31ea0d5b..7d051355 100644 --- a/wp-content/themes/twentyten/editor-style.css +++ b/wp-content/themes/twentyten/editor-style.css @@ -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,10 +38,10 @@ body, input, textarea { } hr { background-color: #e7e7e7; - border:0; + border: 0; + clear: both; height: 1px; margin-bottom: 18px; - clear:both; } /* Text elements */ p { @@ -58,22 +56,22 @@ ol { 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 +80,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 +127,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 +140,10 @@ sub { top: .5ex; } a:link { - color:#0066cc; + color: #06c; } a:visited { - color:#743399; + color: #743399; } a:active, a:hover { @@ -157,13 +155,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 +186,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 +210,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 +230,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 +267,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 +288,5 @@ img.aligncenter { margin: 0 0 4px; } .wp-smiley { - margin:0; + margin: 0; } \ No newline at end of file