From e1a44ff3e454a8877a1a7fd856199ac61070797a Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 24 May 2010 22:18:40 +0000 Subject: [PATCH] In Twenty Ten, make dropdown menus slightly wider to accommodate long words. Minor cleanup of style.css git-svn-id: https://develop.svn.wordpress.org/trunk@14862 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyten/editor-style.css | 34 +++++++++----------- wp-content/themes/twentyten/style.css | 12 +++---- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/wp-content/themes/twentyten/editor-style.css b/wp-content/themes/twentyten/editor-style.css index d8cae0ac98..1993c78b31 100644 --- a/wp-content/themes/twentyten/editor-style.css +++ b/wp-content/themes/twentyten/editor-style.css @@ -31,8 +31,8 @@ thead th { pre { font-family: "Courier 10 Pitch", Courier, monospace; } -code { - font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +code, code var { + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace !important; } body, input, textarea { font-size: 12px; @@ -46,13 +46,16 @@ hr { clear:both; } /* Text elements */ +p { + margin-bottom: 18px; +} ul { list-style: square; - margin: 0 0 18px -18px; + margin: 0 0 18px 1.5em; } ol { list-style: decimal; - margin: 0 0 18px -18px; + margin: 0 0 18px 1.5em; } ol ol { list-style:upper-alpha; @@ -63,7 +66,10 @@ ol ol ol { ol ol ol ol { list-style:lower-alpha; } -ul ul, ol ol, ul ol, ol ul { +ul ul, +ol ol, +ul ol, +ol ul { margin-bottom:0; } dl { @@ -74,15 +80,16 @@ dt { } dd { margin-bottom: 18px; - margin-left: 0; } strong { font-weight: bold; color: #000; } -cite, em, i { +cite, +em, +i { font-style: italic; - border:none; + border: none; } big { font-size: 131.25%; @@ -99,8 +106,6 @@ del { blockquote { font-style: italic; padding: 0 3em; - margin-left: 0; - margin-right: 0; } blockquote cite, blockquote em, @@ -146,13 +151,6 @@ a:active, a:hover { color: #FF4B33; } - -input, -textarea { - color: #444; - font-size: 16px; - line-height: 24px; -} p, ul, ol, @@ -237,7 +235,7 @@ tr td { img { - margin: 0 0 24px 0; + margin: 0; max-width: 640px; } .alignleft, diff --git a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css index 5879c98547..439764f3c0 100644 --- a/wp-content/themes/twentyten/style.css +++ b/wp-content/themes/twentyten/style.css @@ -200,6 +200,7 @@ div.menu, body { background: #f1f1f1; } + body, input, textarea { @@ -263,7 +264,8 @@ big { font-size: 131.25%; } ins { - background: #FFFFCC; + background: #ffc; + text-decoration: none; } blockquote { font-style: italic; @@ -286,9 +288,7 @@ acronym { border-bottom: 1px dotted #666; cursor: help; } -ins { - text-decoration: none; -} + sup, sub { height: 0; @@ -408,7 +408,7 @@ div.menu li { box-shadow: 0px 3px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - width:150px; + width:180px; z-index: 99999; } #access ul ul ul { @@ -420,7 +420,7 @@ div.menu li { height:auto; line-height:1em; padding:10px; - width: 130px; + width: 160px; } #access li:hover > a, #access ul ul :hover > a {