/*
Theme Name: Twenty Ten
Theme URI: http://wordpress.org/
-Description: The 2010 default theme for WordPress.
+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.
Author: the WordPress team
-Version: 1.0
-Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
+Version: 1.4
+License: GNU General Public License v2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+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
+Text Domain: twentyten
*/
-/* 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,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
+ background: transparent;
+ border: 0;
margin: 0;
padding: 0;
- border: 0;
vertical-align: baseline;
- background: transparent;
}
body {
line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
- font-weight: normal;
clear: both;
+ font-weight: normal;
}
ol, ul {
list-style: none;
border-collapse: collapse;
border-spacing: 0;
}
-a img { border: none; }
-
+a img {
+ border: none;
+}
+/* =Layout
+-------------------------------------------------------------- */
/*
LAYOUT: Two columns
.pingback a.url {
font-family: Georgia, "Bitstream Charter", serif;
}
-
h3#comments-title,
h3#reply-title,
#access .menu,
.pingback p,
.reply,
.widget-title,
-.wp-caption-text,
-input[type=submit]
-{
+.wp-caption-text {
+ font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+}
+input[type=submit] {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
pre {
}
-
/* =Structure
-------------------------------------------------------------- */
width: 940px;
}
#wrapper {
- margin-top: 20px;
background: #fff;
+ margin-top: 20px;
padding: 0 20px;
}
}
#site-info {
float: left;
- width: 700px;
- font-weight: bold;
font-size: 14px;
+ font-weight: bold;
+ width: 700px;
}
#site-generator {
float: right;
}
-
/* =Global Elements
-------------------------------------------------------------- */
-/* Main global 'theme' and typographic styles */
+/* Main global 'theme' and typographic styles */
body {
background: #f1f1f1;
}
-
body,
input,
textarea {
line-height: 18px;
}
hr {
- background-color: #E7E7E7;
- border:0;
+ background-color: #e7e7e7;
+ border: 0;
+ clear: both;
height: 1px;
margin-bottom: 18px;
- clear:both;
}
/* Text elements */
margin: 0 0 18px 1.5em;
}
ol ol {
- list-style:upper-alpha;
+ list-style: upper-alpha;
}
ol ol ol {
- list-style:lower-roman;
+ list-style: lower-roman;
}
ol ol ol ol {
- list-style:lower-alpha;
+ list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
- margin-bottom:0;
+ margin-bottom: 0;
}
dl {
- margin:0 0 24px 0;
+ margin: 0 0 24px 0;
}
dt {
font-weight: bold;
color: #222;
line-height: 18px;
margin-bottom: 18px;
+ overflow: auto;
padding: 1.5em;
}
abbr,
border-bottom: 1px dotted #666;
cursor: help;
}
-
sup,
sub {
height: 0;
line-height: 1;
- vertical-align: baseline;
position: relative;
+ vertical-align: baseline;
}
sup {
bottom: 1ex;
}
input[type="text"],
textarea {
- 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);
+ padding: 2px;
}
a:link {
- color:#0066CC;
+ color: #0066cc;
}
a:visited {
- color:#743399;
+ color: #743399;
}
a:active,
a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
/* Text meant only for screen readers */
}
-
/* =Header
-------------------------------------------------------------- */
}
#site-title {
float: left;
- margin: 0 0 18px 0;
- width: 700px;
font-size: 30px;
line-height: 36px;
+ margin: 0 0 18px 0;
+ width: 700px;
}
#site-title a {
color: #000;
clear: right;
float: right;
font-style: italic;
- margin: 14px 0 18px 0;
+ margin: 15px 0 18px 0;
width: 220px;
}
/* This is the custom header image */
#branding img {
- clear: both;
border-top: 4px solid #000;
- display: block;
border-bottom: 1px solid #000;
+ display: block;
+ float: left;
}
-
/* =Menu
-------------------------------------------------------------- */
#access {
background: #000;
+ display: block;
+ float: left;
margin: 0 auto;
width: 940px;
- display:block;
- float:left;
}
#access .menu-header,
div.menu {
font-size: 13px;
margin-left: 12px;
+ width: 928px;
}
#access .menu-header ul,
div.menu ul {
}
#access .menu-header li,
div.menu li {
- float:left;
+ float: left;
position: relative;
}
#access a {
- display:block;
- text-decoration:none;
- color:#aaa;
- padding:0 10px;
- line-height:38px;
+ color: #aaa;
+ display: block;
+ line-height: 38px;
+ padding: 0 10px;
+ text-decoration: none;
}
#access ul ul {
- display:none;
- position:absolute;
- top:38px;
- left:0;
- float:left;
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);
+ display: none;
+ position: absolute;
+ top: 38px;
+ left: 0;
+ float: left;
width: 180px;
z-index: 99999;
}
#access ul ul li {
- min-width: 180px;
+ min-width: 180px;
}
#access ul ul ul {
- left:100%;
- top:0;
+ left: 100%;
+ top: 0;
}
#access ul ul a {
- background:#333;
- height:auto;
- line-height:1em;
- padding:10px;
+ background: #333;
+ line-height: 1em;
+ padding: 10px;
width: 160px;
+ height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
- color:#fff;
- background:#333;
+ background: #333;
+ color: #fff;
}
#access ul li:hover > ul {
- display:block;
+ display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-parent > a {
color: #fff;
}
-
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
- color:#fff;
+ color: #fff;
}
+
/* =Content
-------------------------------------------------------------- */
#main {
+ clear: both;
overflow: hidden;
padding: 40px 0 0 0;
}
#content dd,
#content pre,
#content hr {
- margin-bottom:24px;
+ margin-bottom: 24px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
- margin-bottom:0;
+ margin-bottom: 0;
}
#content pre,
#content kbd,
#content h5,
#content h6 {
color: #000;
- margin: 0 0 20px 0;
line-height: 1.5em;
+ margin: 0 0 20px 0;
}
#content table {
border: 1px solid #e7e7e7;
- text-align: left;
margin: 0 -1px 24px 0;
+ text-align: left;
width: 100%;
}
#content tr th,
padding: 6px 24px;
}
#content tr.odd td {
- background: #F2F7FC;
+ background: #f2f7fc;
}
.hentry {
margin: 0 0 48px 0;
}
.home .sticky {
- background: #F2F7FC;
+ background: #f2f7fc;
border-top: 4px solid #000;
- padding: 18px 20px;
margin-left: -20px;
margin-right: -20px;
+ padding: 18px 20px;
}
.single .hentry {
margin: 0 0 36px 0;
}
.page-title a:link,
.page-title a:visited {
- color:#888;
+ color: #888;
text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
#content .entry-title {
color: #000;
font-size: 21px;
- line-height: 1.3em;
font-weight: bold;
+ line-height: 1.3em;
margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
- color:#000;
+ color: #000;
text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
.entry-meta {
color: #888;
margin-bottom: 12px;
}
.entry-content fieldset {
- border: 1px solid #E7E7E7;
+ border: 1px solid #e7e7e7;
margin: 0 0 24px 0;
padding: 24px;
}
width: 33%;
}
.page-link {
+ clear: both;
color: #000;
- font-weight:bold;
- margin:0 0 22px 0;
- word-spacing:0.5em;
+ font-weight: bold;
+ margin: 0 0 22px 0;
+ word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
background: #f1f1f1;
- color:#333;
- font-weight:normal;
- padding:0.5em 0.75em;
- text-decoration:none;
+ color: #333;
+ font-weight: normal;
+ padding: 0.5em 0.75em;
+ text-decoration: none;
}
.home .sticky .page-link a {
- background: #D9E8F7;
+ background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
-.page .edit-link {
+body.page .edit-link {
clear: both;
display: block;
}
#entry-author-info {
- background: #F2F7FC;
+ background: #f2f7fc;
border-top: 4px solid #000;
- padding: 18px 20px;
- margin: 24px 0;
- overflow: hidden;
clear: both;
font-size: 14px;
line-height: 20px;
+ margin: 24px 0;
+ overflow: hidden;
+ padding: 18px 20px;
}
#entry-author-info #author-avatar {
background: #fff;
border: 1px solid #e7e7e7;
float: left;
+ height: 60px;
margin: 0 -104px 0 0;
padding: 11px;
- height: 60px;
}
#entry-author-info #author-description {
float: left;
}
#entry-author-info h2 {
color: #000;
- font-weight: bold;
font-size: 100%;
+ font-weight: bold;
margin-bottom: 0;
}
.entry-utility {
+ clear: both;
color: #888;
font-size: 12px;
line-height: 18px;
- clear: both;
}
.entry-meta a,
.entry-utility a {
}
.entry-meta a:hover,
.entry-utility a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
#content .video-player {
padding: 0;
}
-
-/* Asides
+/* =Asides
-------------------------------------------------------------- */
+.home #content .format-aside p,
.home #content .category-asides p {
font-size: 14px;
line-height: 20px;
margin-bottom: 10px;
- margin-top:0;
+ margin-top: 0;
}
+.home .hentry.format-aside,
.home .hentry.category-asides {
padding: 0;
}
+.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
padding-top: 0;
}
-
-
-/* Gallery listing
+/* =Gallery listing
-------------------------------------------------------------- */
-.category-gallery {
- margin-bottom: 48px;
-}
-.category-gallery h2 {
- margin-top: 10px;
-}
-.category-gallery .entry-meta {
-}
+.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
border: 10px solid #f1f1f1;
margin-bottom: 0;
}
+.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
float: left;
- margin-right:20px;
+ margin-right: 20px;
margin-top: -4px;
}
-.home #content .category-gallery .entry-content p {
- display: inline;
-}
+.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
- padding-top:4px;
+ padding-top: 4px;
}
-/* Attachment pages
+/* =Attachment pages
-------------------------------------------------------------- */
-.entry-content .attachment img {
- margin-bottom: 0;
-}
.attachment .entry-content .entry-caption {
font-size: 140%;
margin-top: 24px;
}
-
-/* Images
+/* =Images
-------------------------------------------------------------- */
-#content img {
- margin: 0;
- max-width: 640px;
-}
-#content .attachment img {
- max-width: 900px;
-}
-#content .alignleft,
-#content img.alignleft {
+/*
+Resize images to fit the main content area.
+- Applies only to images uploaded via WordPress by targeting size-* classes.
+- Other images will be left alone. Use "size-auto" class to apply to other images.
+*/
+img.size-auto,
+img.size-full,
+img.size-large,
+img.size-medium,
+.attachment img {
+ max-width: 100%; /* When images are too wide for containing element, force them to fit. */
+ height: auto; /* Override height to match resized width for correct aspect ratio. */
+}
+.alignleft,
+img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
-#content .alignright,
-#content img.alignright {
+.alignright,
+img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
-#content .aligncenter,
-#content img.aligncenter {
+.aligncenter,
+img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
-#content img.alignleft,
-#content img.alignright,
-#content img.aligncenter {
+img.alignleft,
+img.alignright,
+img.aligncenter {
margin-bottom: 12px;
}
-#content .wp-caption {
+.wp-caption {
background: #f1f1f1;
line-height: 18px;
- text-align: center;
margin-bottom: 20px;
+ max-width: 632px !important; /* prevent too-wide images from breaking layout */
padding: 4px;
+ text-align: center;
}
-#content .wp-caption img {
+.wp-caption img {
margin: 5px 5px 0;
}
-#content .wp-caption p.wp-caption-text {
- margin: 5px;
+.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
+ margin: 5px;
}
-#content .wp-smiley {
- margin:0;
+.wp-smiley {
+ margin: 0;
}
-#content .gallery {
- margin: auto;
+.gallery {
+ margin: 0 auto 18px;
}
-#content .gallery .gallery-item {
+.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
-#content .gallery img {
+.gallery-columns-2 .gallery-item {
+ width: 50%;
+}
+.gallery-columns-4 .gallery-item {
+ width: 25%;
+}
+.gallery img {
border: 2px solid #cfcfcf;
}
-#content .gallery .gallery-caption {
+.gallery-columns-2 .attachment-medium {
+ max-width: 92%;
+ height: auto;
+}
+.gallery-columns-4 .attachment-thumbnail {
+ max-width: 84%;
+ height: auto;
+}
+.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
-#content .gallery dl {
+.gallery dl {
margin: 0;
}
-#content .gallery img {
+.gallery img {
border: 10px solid #f1f1f1;
}
-#content .gallery br+br {
+.gallery br+br {
display: none;
}
-
+#content .attachment img {/* single attachment images should be centered */
+ display: block;
+ margin: 0 auto;
+}
/* =Navigation
-------------------------------------------------------------- */
.navigation {
- font-size: 12px;
+ color: #888;
+ font-size: 12px;
line-height: 18px;
overflow: hidden;
- color: #888;
}
.navigation a:link,
.navigation a:visited {
}
.navigation a:active,
.navigation a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
.nav-previous {
float: left;
}
.nav-next {
float: right;
+ text-align: right;
width: 50%;
- text-align:right;
}
#nav-above {
margin: 0 0 18px 0;
}
-
/* =Comments
-------------------------------------------------------------- */
#comments {
h3#comments-title,
h3#reply-title {
color: #000;
- font-weight: bold;
font-size: 20px;
+ font-weight: bold;
margin-bottom: 0;
}
h3#comments-title {
position: relative;
}
.commentlist li:last-child {
- border-bottom:none;
- margin-bottom:0;
+ border-bottom: none;
+ margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
}
.comment-meta a:active,
.comment-meta a:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
.commentlist .even {
}
}
.reply a:hover,
a.comment-edit-link:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
.commentlist .children {
list-style: none;
display: none;
}
#comments .pingback {
+ border-bottom: 1px solid #e7e7e7;
margin-bottom: 18px;
padding-bottom: 18px;
- border-bottom: 1px solid #e7e7e7;
}
.commentlist li.comment+li.pingback {
margin-top: -6px;
}
#comments .pingback p {
color: #888;
+ display: block;
font-size: 12px;
line-height: 18px;
- display:block;
margin: 0;
}
#comments .pingback .url {
- font-style: italic;
font-size: 13px;
+ font-style: italic;
}
-
-
/* Comments form */
input[type=submit] {
color: #333;
}
#respond {
- margin: 24px 0;
border-top: 1px solid #e7e7e7;
+ margin: 24px 0;
overflow: hidden;
position: relative;
}
}
#cancel-comment-reply-link {
font-size: 12px;
- line-height: 18px;
font-weight: normal;
+ line-height: 18px;
}
#respond .required {
- color:#FF4B33;
- font-weight:bold;
+ color: #ff4b33;
+ font-weight: bold;
}
#respond label {
color: #888;
font-size: 12px;
}
#respond input {
- margin:0 0 9px;
- width:98%;
+ margin: 0 0 9px;
+ width: 98%;
}
#respond textarea {
- width:98%;
+ width: 98%;
}
#respond .form-allowed-tags {
color: #888;
margin: 12px 0;
}
#respond .form-submit input {
- width: auto;
font-size: 14px;
+ width: auto;
}
list-style: square;
margin-left: 1.3em;
}
-.widget_search #s { /* This keeps the search inputs in line */
+.widget-area select {
+ max-width: 100%;
+}
+.widget_search #s {/* This keeps the search inputs in line */
width: 60%;
}
.widget_search label {
- display:none;
+ display: none;
}
.widget-container {
margin: 0 0 18px 0;
line-height: 1.6em;
}
#wp-calendar {
- width:100%;
+ width: 100%;
}
#wp-calendar caption {
- font-weight: bold;
color: #222;
- text-align: left;
- font-size:14px;
+ font-size: 14px;
+ font-weight: bold;
padding-bottom: 4px;
+ text-align: left;
}
#wp-calendar thead {
- font-size:11px;
+ font-size: 11px;
}
#wp-calendar thead th {
}
color: #aaa;
}
#wp-calendar tbody td {
- padding: 3px 0 2px;
background: #f5f5f5;
- border:1px solid #fff;
+ border: 1px solid #fff;
+ padding: 3px 0 2px;
text-align: center;
}
#wp-calendar tbody .pad {
color: #000;
}
.widget_rss a.rsswidget:hover {
- color: #FF4B33;
+ color: #ff4b33;
}
.widget_rss .widget-title img {
- height: 11px;
width: 11px;
+ height: 11px;
}
/* Main sidebars */
}
-
/* =Footer
-------------------------------------------------------------- */
#colophon {
border-top: 4px solid #000;
margin-top: -4px;
- padding: 18px 0;
overflow: hidden;
+ padding: 18px 0;
}
#site-info {
font-weight: bold;
text-decoration: none;
}
#site-generator {
- position: relative;
font-style: italic;
+ position: relative;
}
#site-generator a {
- color: #666;
- display:inline-block;
- text-decoration: none;
background: url(images/wordpress.png) center left no-repeat;
- padding-left: 20px;
+ color: #666;
+ display: inline-block;
line-height: 16px;
+ padding-left: 20px;
+ text-decoration: none;
}
#site-generator a:hover {
text-decoration: underline;
}
img#wpstats {
- display:block;
+ display: block;
margin: 0 auto 10px;
}
-
-/* Mobile Safari ( iPad, iPhone and iPod Touch )
+/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */
pre {
}
-
/* =Print Style
-------------------------------------------------------------- */
@media print {
body {
- background:none !important;
+ background: none !important;
}
#wrapper {
- float: none !important;
clear: both !important;
display: block !important;
+ float: none !important;
position: relative !important;
}
#header {
#site-title,
#site-description {
float: none;
- margin: 0;
- padding:0;
line-height: 1.4em;
+ margin: 0;
+ padding: 0;
}
#site-title {
font-size: 13pt;
#container,
#header,
#footer {
- width: 100%;
margin: 0;
+ width: 100%;
}
#content,
.one-column #content {
- width: 100%;
margin: 24pt 0 0;
+ width: 100%;
}
.wp-caption p {
font-size: 11pt;
width: auto;
}
img#wpstats {
- display:none
+ display: none;
}
#site-generator a {
+ margin: 0;
padding: 0;
- margin: 0;
}
#entry-author-info {
border: 1px solid #e7e7e7;
}
#main {
- display:inline;
+ display: inline;
}
.home .sticky {
border: none;
}
-}
+}
\ No newline at end of file