X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/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 fa875cad..c397b116 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, @@ -39,41 +37,46 @@ body, input, textarea { line-height: 18px; } hr { - background-color: #E7E7E7; - border:0; + background-color: #e7e7e7; + 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,14 +145,14 @@ sub { top: .5ex; } a:link { - color:#0066CC; + color: #06c; } a:visited { - color:#743399; + color: #743399; } a:active, a:hover { - color: #FF4B33; + color: #ff4b33; } p, ul, @@ -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; +}