In twentyten, fix Firefox print style, make print styles use full page width, and style form inputs.

git-svn-id: https://develop.svn.wordpress.org/trunk@14201 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2010-04-23 18:49:58 +00:00
parent 774007dd8c
commit 746aa8edeb
1 changed files with 23 additions and 18 deletions

View File

@ -3,7 +3,7 @@ Theme Name: Twenty Ten
Theme URI: http://wordpress.org/ Theme URI: http://wordpress.org/
Description: The 2010 default theme for WordPress. Description: The 2010 default theme for WordPress.
Author: the WordPress team Author: the WordPress team
Version: 0.9 Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, theme-options, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style Tags: black, blue, white, two-columns, fixed-width, custom-header, theme-options, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/ */
@ -134,7 +134,8 @@ h3#reply-title,
.pingback p, .pingback p,
.reply, .reply,
.widget_search label, .widget_search label,
.widget-title .widget-title,
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;
} }
@ -295,7 +296,12 @@ sub {
top: .5ex; top: .5ex;
} }
input[type="text"], textarea { input[type="text"], textarea {
padding: 0 0 0 3px; padding: 2px;
background: #f9f9f9;
border: 1px solid #ccc;
box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
} }
a:link { a:link {
color:#0066CC; color:#0066CC;
@ -387,9 +393,9 @@ a:hover {
top:38px; top:38px;
left:0; left:0;
float:left; float:left;
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 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);
z-index: 99999; z-index: 99999;
} }
#access ul ul ul { #access ul ul ul {
@ -974,6 +980,9 @@ h3#comments-title {
/* Comments form */ /* Comments form */
input[type=submit] {
color: #333;
}
#respond { #respond {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -984,6 +993,9 @@ h3#comments-title {
#respond .comment-notes { #respond .comment-notes {
margin-bottom: 1em; margin-bottom: 1em;
} }
.form-allowed-tags {
line-height: 1em;
}
.children #respond { .children #respond {
margin: 0 48px 0 0; margin: 0 48px 0 0;
} }
@ -1030,6 +1042,7 @@ h3#reply-title {
} }
#respond .form-submit input { #respond .form-submit input {
width: auto; width: auto;
font-size: 14px;
} }
#respond dl { #respond dl {
margin: 0 0 10px; margin: 0 0 10px;
@ -1224,6 +1237,8 @@ code {
#site-title, #site-description { #site-title, #site-description {
float: none; float: none;
margin: 0; margin: 0;
padding:0;
line-height: 1.4em;
} }
#site-title { #site-title {
font-size: 13pt; font-size: 13pt;
@ -1234,7 +1249,6 @@ code {
} }
.entry-title { .entry-title {
font-size: 21pt; font-size: 21pt;
line-height: 1.4em;
} }
#access, #access,
#branding img, #branding img,
@ -1246,16 +1260,9 @@ code {
.widget-area { .widget-area {
display: none !important; display: none !important;
} }
#branding img.wp-post-image {
display: block !important;
margin-left: -104pt;
margin-top: 20pt;
border: none;
margin-bottom: -24pt;
}
#container, #header, #footer { #container, #header, #footer {
margin: 0 0 0 24%; width: 100%;
width: 70%; margin: 0;
} }
#content { #content {
margin: 24pt 0 0; margin: 24pt 0 0;
@ -1282,9 +1289,7 @@ code {
border: 1px solid #e7e7e7; border: 1px solid #e7e7e7;
} }
#main { #main {
margin: 0; display:inline;
width: auto;
padding: 0;
} }
.home .sticky { .home .sticky {
border: none; border: none;