web/wp-content/themes/twentyeleven/style.css
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
     2 Theme Name: Twenty Eleven
     2 Theme Name: Twenty Eleven
     3 Theme URI: http://wordpress.org/extend/themes/twentyeleven
     3 Theme URI: http://wordpress.org/extend/themes/twentyeleven
     4 Author: the WordPress team
     4 Author: the WordPress team
     5 Author URI: http://wordpress.org/
     5 Author URI: http://wordpress.org/
     6 Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
     6 Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
     7 Version: 1.4
     7 Version: 1.5
     8 License: GNU General Public License v2 or later
     8 License: GNU General Public License v2 or later
     9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
     9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
    10 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
    11 Text Domain: twentyeleven
    11 Text Domain: twentyeleven
    12 */
    12 */
    13 
    13 
    14 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
    14 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
    15 -------------------------------------------------------------- */
    15 -------------------------------------------------------------- */
   429 	bottom: 1ex;
   429 	bottom: 1ex;
   430 }
   430 }
   431 sub {
   431 sub {
   432 	top: .5ex;
   432 	top: .5ex;
   433 }
   433 }
       
   434 small {
       
   435 	font-size: smaller;
       
   436 }
   434 
   437 
   435 /* Forms */
   438 /* Forms */
   436 input[type=text],
   439 input[type=text],
   437 input[type=password],
   440 input[type=password],
       
   441 input[type=email],
       
   442 input[type=url],
       
   443 input[type=number],
   438 textarea {
   444 textarea {
   439 	background: #fafafa;
   445 	background: #fafafa;
   440 	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   446 	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   441 	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   447 	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   442 	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   448 	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
   443 	border: 1px solid #ddd;
   449 	border: 1px solid #ddd;
   444 	color: #888;
   450 	color: #888;
   445 }
   451 }
   446 input[type=text]:focus,
   452 input[type=text]:focus,
       
   453 input[type=password]:focus,
       
   454 input[type=email]:focus,
       
   455 input[type=url]:focus,
       
   456 input[type=number]:focus,
   447 textarea:focus {
   457 textarea:focus {
   448 	color: #373737;
   458 	color: #373737;
   449 }
   459 }
   450 textarea {
   460 textarea {
   451 	padding-left: 3px;
   461 	padding-left: 3px;
   452 	width: 98%;
   462 	width: 98%;
   453 }
   463 }
   454 input[type=text] {
   464 input[type=text],
       
   465 input[type=password],
       
   466 input[type=email],
       
   467 input[type=url],
       
   468 input[type=number] {
   455 	padding: 3px;
   469 	padding: 3px;
   456 }
   470 }
   457 input#s {
   471 input#s {
   458 	background: url(images/search.png) no-repeat 5px 6px;
   472 	background: url(images/search.png) no-repeat 5px 6px;
   459 	-moz-border-radius: 2px;
   473 	-moz-border-radius: 2px;
   528 	font-size: 14px;
   542 	font-size: 14px;
   529 	margin: 0 270px 3.65625em 0;
   543 	margin: 0 270px 3.65625em 0;
   530 }
   544 }
   531 #branding img {
   545 #branding img {
   532 	height: auto;
   546 	height: auto;
   533 	margin-bottom: -7px;
   547 	display: block;
   534 	width: 100%;
   548 	width: 100%;
   535 }
   549 }
   536 
   550 
   537 
   551 
   538 /* =Menu
   552 /* =Menu
   960 .wp-caption a:hover img {/* ... including captioned images! */
   974 .wp-caption a:hover img {/* ... including captioned images! */
   961 	background: #fff;
   975 	background: #fff;
   962 	border-color: #ddd;
   976 	border-color: #ddd;
   963 }
   977 }
   964 
   978 
   965 /* Make sure embeds and iframes fit their containers */
   979 /* Make sure videos and embeds fit their containers */
   966 embed,
   980 embed,
   967 iframe,
   981 iframe,
   968 object {
   982 object {
   969 	max-width: 100%;
   983 	max-width: 100%;
       
   984 }
       
   985 .entry-content .twitter-tweet-rendered {
       
   986 	max-width: 100% !important; /* Override the Twitter embed fixed width */
   970 }
   987 }
   971 
   988 
   972 /* Password Protected Posts */
   989 /* Password Protected Posts */
   973 .post-password-required .entry-header .comments-link {
   990 .post-password-required .entry-header .comments-link {
   974 	margin: 1.625em 0 0;
   991 	margin: 1.625em 0 0;
  1188 
  1205 
  1189 .format-gallery .gallery-thumb {
  1206 .format-gallery .gallery-thumb {
  1190 	float: left;
  1207 	float: left;
  1191 	display: block;
  1208 	display: block;
  1192 	margin: .375em 1.625em 0 0;
  1209 	margin: .375em 1.625em 0 0;
       
  1210 	max-width: 100%;
  1193 }
  1211 }
  1194 
  1212 
  1195 
  1213 
  1196 /* =Status
  1214 /* =Status
  1197 ----------------------------------------------- */
  1215 ----------------------------------------------- */
  1749 
  1767 
  1750 .widget-area {
  1768 .widget-area {
  1751 	font-size: 12px;
  1769 	font-size: 12px;
  1752 }
  1770 }
  1753 .widget {
  1771 .widget {
       
  1772 	word-wrap: break-word;
       
  1773 	-webkit-hyphens: auto;
       
  1774 	-moz-hyphens: auto;
       
  1775 	hyphens: auto;
  1754 	clear: both;
  1776 	clear: both;
  1755 	margin: 0 0 2.2em;
  1777 	margin: 0 0 2.2em;
  1756 }
  1778 }
  1757 .widget-title {
  1779 .widget-title {
  1758 	color: #666;
  1780 	color: #666;
  1958 	line-height: 1.625em;
  1980 	line-height: 1.625em;
  1959 	margin-left: 50px;
  1981 	margin-left: 50px;
  1960 }
  1982 }
  1961 .commentlist .children li.comment .comment-content {
  1983 .commentlist .children li.comment .comment-content {
  1962 	margin: 1.625em 0 0;
  1984 	margin: 1.625em 0 0;
       
  1985 	word-wrap: break-word;
       
  1986 	-webkit-hyphens: auto;
       
  1987 	-moz-hyphens: auto;
       
  1988 	hyphens: auto;
  1963 }
  1989 }
  1964 .comment-meta a {
  1990 .comment-meta a {
  1965 	font-weight: bold;
  1991 	font-weight: bold;
  1966 }
  1992 }
  1967 .comment-meta a:focus,
  1993 .comment-meta a:focus,
  2114 	color: #bd3500;
  2140 	color: #bd3500;
  2115 	font-size: 22px;
  2141 	font-size: 22px;
  2116 	font-weight: bold;
  2142 	font-weight: bold;
  2117 	left: 75%;
  2143 	left: 75%;
  2118 	position: absolute;
  2144 	position: absolute;
  2119 	top: 45px;
       
  2120 	z-index: 1;
  2145 	z-index: 1;
  2121 }
  2146 }
  2122 #respond .comment-notes,
  2147 #respond .comment-notes,
  2123 #respond .logged-in-as {
  2148 #respond .logged-in-as {
  2124 	font-size: 13px;
  2149 	font-size: 13px;
  2684 }
  2709 }
  2685 #ie7 section.recent-posts {
  2710 #ie7 section.recent-posts {
  2686 	margin-right: 7.6%;
  2711 	margin-right: 7.6%;
  2687 }
  2712 }
  2688 
  2713 
  2689 /* =IE8 
  2714 /* =IE8
  2690 ----------------------------------------------- */ 
  2715 ----------------------------------------------- */
  2691  
  2716 
  2692 #ie8 section.feature-image.large img { 
  2717 #ie8 section.feature-image.large img {
  2693 	width: 100%; 
  2718 	width: 100%;
  2694 } 
  2719 }