mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-09 00:51:35 +01:00
In twentyten, CSS code cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@14204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5af1e0d69d
commit
e0190cbf73
@ -8,13 +8,7 @@ Tags: black, blue, white, two-columns, fixed-width, custom-header, theme-options
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* --------------------------------------------------------------
|
/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
|
||||||
|
|
||||||
Reset default browser CSS.
|
|
||||||
|
|
||||||
Based on work by Eric Meyer:
|
|
||||||
http://meyerweb.com/eric/tools/css/reset/index.html
|
|
||||||
|
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
html, body, div, span, applet, object, iframe,
|
html, body, div, span, applet, object, iframe,
|
||||||
@ -35,7 +29,7 @@ table, caption, tbody, tfoot, thead, tr, th, td {
|
|||||||
body {
|
body {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
h1,h2,h3,h4,h5,h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@ -139,11 +133,9 @@ input[type=submit]
|
|||||||
{
|
{
|
||||||
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: "Courier 10 Pitch", Courier, monospace;
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||||
}
|
}
|
||||||
@ -200,7 +192,9 @@ div.menu,
|
|||||||
body {
|
body {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
}
|
}
|
||||||
body, input, textarea {
|
body,
|
||||||
|
input,
|
||||||
|
textarea {
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
@ -234,7 +228,10 @@ ol ol ol {
|
|||||||
ol ol ol ol {
|
ol ol ol ol {
|
||||||
list-style:lower-alpha;
|
list-style:lower-alpha;
|
||||||
}
|
}
|
||||||
ul ul, ol ol, ul ol, ol ul {
|
ul ul,
|
||||||
|
ol ol,
|
||||||
|
ul ol,
|
||||||
|
ol ul {
|
||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
}
|
}
|
||||||
dl {
|
dl {
|
||||||
@ -249,7 +246,9 @@ dd {
|
|||||||
strong {
|
strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
cite, em, i {
|
cite,
|
||||||
|
em,
|
||||||
|
i {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
big {
|
big {
|
||||||
@ -295,7 +294,8 @@ sup {
|
|||||||
sub {
|
sub {
|
||||||
top: .5ex;
|
top: .5ex;
|
||||||
}
|
}
|
||||||
input[type="text"], textarea {
|
input[type="text"],
|
||||||
|
textarea {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background: #f9f9f9;
|
background: #f9f9f9;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@ -368,15 +368,18 @@ a:hover {
|
|||||||
display:block;
|
display:block;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
#access .menu-header, div.menu {
|
#access .menu-header,
|
||||||
|
div.menu {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
#access .menu-header ul, div.menu ul {
|
#access .menu-header ul,
|
||||||
|
div.menu ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
#access .menu-header li, div.menu li {
|
#access .menu-header li,
|
||||||
|
div.menu li {
|
||||||
float:left;
|
float:left;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -523,11 +526,13 @@ a:hover {
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
.page-title a:link, .page-title a:visited {
|
.page-title a:link,
|
||||||
|
.page-title a:visited {
|
||||||
color:#888;
|
color:#888;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.page-title a:active, .page-title a:hover {
|
.page-title a:active,
|
||||||
|
.page-title a:hover {
|
||||||
color: #FF4B33;
|
color: #FF4B33;
|
||||||
}
|
}
|
||||||
.entry-title,
|
.entry-title,
|
||||||
@ -542,21 +547,25 @@ a:hover {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.entry-title a:link, .entry-title a:visited {
|
.entry-title a:link,
|
||||||
|
.entry-title a:visited {
|
||||||
color:#000;
|
color:#000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.entry-title a:active, .entry-title a:hover {
|
.entry-title a:active,
|
||||||
|
.entry-title a:hover {
|
||||||
color: #FF4B33;
|
color: #FF4B33;
|
||||||
}
|
}
|
||||||
.entry-meta {
|
.entry-meta {
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.entry-meta abbr, .entry-utility abbr {
|
.entry-meta abbr,
|
||||||
|
.entry-utility abbr {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.entry-meta abbr:hover, .entry-utility abbr:hover {
|
.entry-meta abbr:hover,
|
||||||
|
.entry-utility abbr:hover {
|
||||||
border-bottom: 1px dotted #666;
|
border-bottom: 1px dotted #666;
|
||||||
}
|
}
|
||||||
.entry-content,
|
.entry-content,
|
||||||
@ -665,10 +674,12 @@ a:hover {
|
|||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.entry-meta a, .entry-utility a {
|
.entry-meta a,
|
||||||
|
.entry-utility a {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
.entry-meta a:hover, .entry-utility a:hover {
|
.entry-meta a:hover,
|
||||||
|
.entry-utility a:hover {
|
||||||
color: #FF4B33;
|
color: #FF4B33;
|
||||||
}
|
}
|
||||||
#content .video-player {
|
#content .video-player {
|
||||||
@ -771,7 +782,9 @@ img.aligncenter {
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
img.alignleft, img.alignright, img.aligncenter {
|
img.alignleft,
|
||||||
|
img.alignright,
|
||||||
|
img.aligncenter {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
#content .wp-caption {
|
#content .wp-caption {
|
||||||
@ -833,7 +846,8 @@ img.alignleft, img.alignright, img.aligncenter {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
.navigation a:link, .navigation a:visited {
|
.navigation a:link,
|
||||||
|
.navigation a:visited {
|
||||||
color: #888;
|
color: #888;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -872,7 +886,8 @@ img.alignleft, img.alignright, img.aligncenter {
|
|||||||
#comments .navigation {
|
#comments .navigation {
|
||||||
padding: 0 0 18px 0;
|
padding: 0 0 18px 0;
|
||||||
}
|
}
|
||||||
h3#comments-title, h3#reply-title {
|
h3#comments-title,
|
||||||
|
h3#reply-title {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
@ -928,7 +943,8 @@ h3#comments-title {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin: 0 0 18px 0;
|
margin: 0 0 18px 0;
|
||||||
}
|
}
|
||||||
.comment-meta a:link, .comment-meta a:visited {
|
.comment-meta a:link,
|
||||||
|
.comment-meta a:visited {
|
||||||
color: #888;
|
color: #888;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -944,10 +960,12 @@ h3#comments-title {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 0 0 24px 0;
|
padding: 0 0 24px 0;
|
||||||
}
|
}
|
||||||
.reply a, a.comment-edit-link {
|
.reply a,
|
||||||
|
a.comment-edit-link {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
.reply a:hover, a.comment-edit-link:hover {
|
.reply a:hover,
|
||||||
|
a.comment-edit-link:hover {
|
||||||
color: #FF4B33;
|
color: #FF4B33;
|
||||||
}
|
}
|
||||||
.commentlist .children {
|
.commentlist .children {
|
||||||
@ -1089,10 +1107,12 @@ h3#reply-title {
|
|||||||
color: #222;
|
color: #222;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.widget-area a:link, .widget-area a:visited {
|
.widget-area a:link,
|
||||||
|
.widget-area a:visited {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.widget-area a:active, .widget-area a:hover {
|
.widget-area a:active,
|
||||||
|
.widget-area a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
#wp_tag_cloud div {
|
#wp_tag_cloud div {
|
||||||
@ -1208,15 +1228,17 @@ img#wpstats {
|
|||||||
pre {
|
pre {
|
||||||
-webkit-text-size-adjust: 140%;
|
-webkit-text-size-adjust: 140%;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
-webkit-text-size-adjust: 160%;
|
-webkit-text-size-adjust: 160%;
|
||||||
}
|
}
|
||||||
|
#access,
|
||||||
#access, .entry-meta, .entry-utility, .widget_search label, .navigation, .widget-area {
|
.entry-meta,
|
||||||
|
.entry-utility,
|
||||||
|
.widget_search label,
|
||||||
|
.navigation,
|
||||||
|
.widget-area {
|
||||||
-webkit-text-size-adjust: 120%;
|
-webkit-text-size-adjust: 120%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#site-description {
|
#site-description {
|
||||||
-webkit-text-size-adjust: none;
|
-webkit-text-size-adjust: none;
|
||||||
}
|
}
|
||||||
@ -1240,7 +1262,8 @@ code {
|
|||||||
border-bottom: 4pt solid #000;
|
border-bottom: 4pt solid #000;
|
||||||
padding-bottom: 18pt;
|
padding-bottom: 18pt;
|
||||||
}
|
}
|
||||||
#site-title, #site-description {
|
#site-title,
|
||||||
|
#site-description {
|
||||||
float: none;
|
float: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding:0;
|
padding:0;
|
||||||
@ -1266,7 +1289,9 @@ code {
|
|||||||
.widget-area {
|
.widget-area {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
#container, #header, #footer {
|
#container,
|
||||||
|
#header,
|
||||||
|
#footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user