changeset 204 | 09a1c134465b |
parent 194 | 32102edaa81b |
203:f507feede89a | 204:09a1c134465b |
---|---|
1 /* |
1 /* |
2 Theme Name: Twenty Ten |
2 Theme Name: Twenty Ten |
3 Theme URI: http://wordpress.org/ |
3 Theme URI: http://wordpress.org/extend/themes/twentyten |
4 Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. |
4 Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. |
5 Author: the WordPress team |
5 Author: the WordPress team |
6 Version: 1.4 |
6 Author URI: http://wordpress.org/ |
7 Version: 1.5 |
|
7 License: GNU General Public License v2 or later |
8 License: GNU General Public License v2 or later |
8 License URI: http://www.gnu.org/licenses/gpl-2.0.html |
9 License URI: http://www.gnu.org/licenses/gpl-2.0.html |
9 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu |
10 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header |
10 Text Domain: twentyten |
11 Text Domain: twentyten |
11 */ |
12 */ |
12 |
13 |
13 |
14 |
14 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html |
15 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html |
143 .reply, |
144 .reply, |
144 .widget-title, |
145 .widget-title, |
145 .wp-caption-text { |
146 .wp-caption-text { |
146 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; |
147 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; |
147 } |
148 } |
148 input[type=submit] { |
149 input[type="submit"] { |
149 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; |
150 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; |
150 } |
151 } |
151 pre { |
152 pre { |
152 font-family: "Courier 10 Pitch", Courier, monospace; |
153 font-family: "Courier 10 Pitch", Courier, monospace; |
153 } |
154 } |
305 bottom: 1ex; |
306 bottom: 1ex; |
306 } |
307 } |
307 sub { |
308 sub { |
308 top: .5ex; |
309 top: .5ex; |
309 } |
310 } |
311 small { |
|
312 font-size: smaller; |
|
313 } |
|
310 input[type="text"], |
314 input[type="text"], |
315 input[type="password"], |
|
316 input[type="email"], |
|
317 input[type="url"], |
|
318 input[type="number"], |
|
311 textarea { |
319 textarea { |
312 background: #f9f9f9; |
320 background: #f9f9f9; |
313 border: 1px solid #ccc; |
321 border: 1px solid #ccc; |
314 box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); |
322 box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); |
315 -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); |
323 -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); |
435 } |
443 } |
436 #access ul li:hover > ul { |
444 #access ul li:hover > ul { |
437 display: block; |
445 display: block; |
438 } |
446 } |
439 #access ul li.current_page_item > a, |
447 #access ul li.current_page_item > a, |
448 #access ul li.current_page_ancestor > a, |
|
440 #access ul li.current-menu-ancestor > a, |
449 #access ul li.current-menu-ancestor > a, |
441 #access ul li.current-menu-item > a, |
450 #access ul li.current-menu-item > a, |
442 #access ul li.current-menu-parent > a { |
451 #access ul li.current-menu-parent > a { |
443 color: #fff; |
452 color: #fff; |
444 } |
453 } |
445 * html #access ul li.current_page_item a, |
454 * html #access ul li.current_page_item a, |
455 * html #access ul li.current_page_ancestor a, |
|
446 * html #access ul li.current-menu-ancestor a, |
456 * html #access ul li.current-menu-ancestor a, |
447 * html #access ul li.current-menu-item a, |
457 * html #access ul li.current-menu-item a, |
448 * html #access ul li.current-menu-parent a, |
458 * html #access ul li.current-menu-parent a, |
449 * html #access ul li a:hover { |
459 * html #access ul li a:hover { |
450 color: #fff; |
460 color: #fff; |
643 } |
653 } |
644 .page-link { |
654 .page-link { |
645 clear: both; |
655 clear: both; |
646 color: #000; |
656 color: #000; |
647 font-weight: bold; |
657 font-weight: bold; |
648 margin: 0 0 22px 0; |
658 line-height: 48px; |
649 word-spacing: 0.5em; |
659 word-spacing: 0.5em; |
650 } |
660 } |
651 .page-link a:link, |
661 .page-link a:link, |
652 .page-link a:visited { |
662 .page-link a:visited { |
653 background: #f1f1f1; |
663 background: #f1f1f1; |
779 */ |
789 */ |
780 img.size-auto, |
790 img.size-auto, |
781 img.size-full, |
791 img.size-full, |
782 img.size-large, |
792 img.size-large, |
783 img.size-medium, |
793 img.size-medium, |
784 .attachment img { |
794 .attachment img, |
795 .widget-container img { |
|
785 max-width: 100%; /* When images are too wide for containing element, force them to fit. */ |
796 max-width: 100%; /* When images are too wide for containing element, force them to fit. */ |
786 height: auto; /* Override height to match resized width for correct aspect ratio. */ |
797 height: auto; /* Override height to match resized width for correct aspect ratio. */ |
787 } |
798 } |
788 .alignleft, |
799 .alignleft, |
789 img.alignleft { |
800 img.alignleft { |
1039 font-size: 13px; |
1050 font-size: 13px; |
1040 font-style: italic; |
1051 font-style: italic; |
1041 } |
1052 } |
1042 |
1053 |
1043 /* Comments form */ |
1054 /* Comments form */ |
1044 input[type=submit] { |
1055 input[type="submit"] { |
1045 color: #333; |
1056 color: #333; |
1046 } |
1057 } |
1047 #respond { |
1058 #respond { |
1048 border-top: 1px solid #e7e7e7; |
1059 border-top: 1px solid #e7e7e7; |
1049 margin: 24px 0; |
1060 margin: 24px 0; |
1127 } |
1138 } |
1128 .widget_search label { |
1139 .widget_search label { |
1129 display: none; |
1140 display: none; |
1130 } |
1141 } |
1131 .widget-container { |
1142 .widget-container { |
1143 word-wrap: break-word; |
|
1144 -webkit-hyphens: auto; |
|
1145 -moz-hyphens: auto; |
|
1146 hyphens: auto; |
|
1132 margin: 0 0 18px 0; |
1147 margin: 0 0 18px 0; |
1148 } |
|
1149 .widget-container .wp-caption img { |
|
1150 margin: auto; |
|
1133 } |
1151 } |
1134 .widget-title { |
1152 .widget-title { |
1135 color: #222; |
1153 color: #222; |
1136 font-weight: bold; |
1154 font-weight: bold; |
1137 } |
1155 } |