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
This commit is contained in:
Matt Thomas 2010-05-24 22:18:40 +00:00
parent 4f9fd195ab
commit e1a44ff3e4
2 changed files with 22 additions and 24 deletions

View File

@ -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,

View File

@ -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 {