]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyten/style.css
Wordpress 3.0.1
[autoinstalls/wordpress.git] / wp-content / themes / twentyten / style.css
index 71a129e7e76f71bdcdf34feb2d98909e30deeaa5..5dbf6317b64abbad9367fe8550c05a49719a7643 100644 (file)
@@ -1,14 +1,14 @@
 /*
 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
+Version: 1.1
 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
 */
 
 
-/* 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,
@@ -20,18 +20,18 @@ b, u, i, center,
 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;
@@ -51,9 +51,12 @@ table {
        border-collapse: collapse;
        border-spacing: 0;
 }
-a img { border: none; }
-
+a img {
+       border: none;
+}
 
+/* =Layout
+-------------------------------------------------------------- */
 
 /*
 LAYOUT: Two columns
@@ -112,7 +115,6 @@ textarea,
 .pingback a.url {
        font-family: Georgia, "Bitstream Charter", serif;
 }
-
 h3#comments-title,
 h3#reply-title,
 #access .menu,
@@ -138,8 +140,7 @@ h3#reply-title,
 .reply,
 .widget-title,
 .wp-caption-text,
-input[type=submit]
-{
+input[type=submit] {
        font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
 }
 pre {
@@ -150,7 +151,6 @@ code {
 }
 
 
-
 /* =Structure
 -------------------------------------------------------------- */
 
@@ -165,8 +165,8 @@ div.menu,
        width: 940px;
 }
 #wrapper {
-       margin-top: 20px;
        background: #fff;
+       margin-top: 20px;
        padding: 0 20px;
 }
 
@@ -184,9 +184,9 @@ div.menu,
 }
 #site-info {
        float: left;
-       width: 700px;
-       font-weight: bold;
        font-size: 14px;
+       font-weight: bold;
+       width: 700px;
 }
 #site-generator {
        float: right;
@@ -194,15 +194,13 @@ div.menu,
 }
 
 
-
 /* =Global Elements
 -------------------------------------------------------------- */
 
-/* Main global 'theme' and typographic styles  */
+/* Main global 'theme' and typographic styles */
 body {
        background: #f1f1f1;
 }
-
 body,
 input,
 textarea {
@@ -211,11 +209,11 @@ 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 */
@@ -231,22 +229,22 @@ ol {
        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;
@@ -290,13 +288,12 @@ acronym {
        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;
@@ -306,22 +303,22 @@ sub {
 }
 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 */
@@ -331,7 +328,6 @@ a:hover {
 }
 
 
-
 /* =Header
 -------------------------------------------------------------- */
 
@@ -340,10 +336,10 @@ a:hover {
 }
 #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;
@@ -360,28 +356,28 @@ a:hover {
 
 /* This is the custom header image */
 #branding img {
-       clear: both;
        border-top: 4px solid #000;
-       display: block;
        border-bottom: 1px solid #000;
+       clear: both;
+       display: block;
 }
 
 
-
 /* =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 {
@@ -390,49 +386,49 @@ 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,
@@ -440,19 +436,20 @@ div.menu li {
 #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;
 }
@@ -472,13 +469,13 @@ div.menu li {
 #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,
@@ -501,13 +498,13 @@ div.menu li {
 #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,
@@ -523,17 +520,17 @@ div.menu li {
        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;
@@ -552,28 +549,28 @@ div.menu li {
 }
 .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;
@@ -596,7 +593,7 @@ div.menu li {
        margin-bottom: 12px;
 }
 .entry-content fieldset {
-       border: 1px solid #E7E7E7;
+       border: 1px solid #e7e7e7;
        margin: 0 0 24px 0;
        padding: 24px;
 }
@@ -640,46 +637,46 @@ div.menu li {
 }
 .page-link {
        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;
@@ -687,15 +684,15 @@ div.menu li {
 }
 #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 {
@@ -703,22 +700,21 @@ div.menu li {
 }
 .entry-meta a:hover,
 .entry-utility a:hover {
-       color: #FF4B33;
+       color: #ff4b33;
 }
 #content .video-player {
        padding: 0;
 }
 
 
-
-/* Asides
+/* =Asides
 -------------------------------------------------------------- */
 
 .home #content .category-asides p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
-       margin-top:0;
+       margin-top: 0;
 }
 .home .hentry.category-asides {
        padding: 0;
@@ -728,42 +724,26 @@ div.menu li {
 }
 
 
-
-
-/* Gallery listing
+/* =Gallery listing
 -------------------------------------------------------------- */
 
-.category-gallery {
-       margin-bottom: 48px;
-}
-.category-gallery h2 {
-       margin-top: 10px;
-}
-.category-gallery .entry-meta {
-}
 .category-gallery .size-thumbnail img {
        border: 10px solid #f1f1f1;
        margin-bottom: 0;
 }
 .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 .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;
@@ -776,13 +756,14 @@ div.menu li {
 }
 
 
-
-/* Images
+/* =Images
 -------------------------------------------------------------- */
 
 #content img {
        margin: 0;
+       height: auto;
        max-width: 640px;
+       width: auto;
 }
 #content .attachment img {
        max-width: 900px;
@@ -808,31 +789,31 @@ div.menu li {
        margin-left: auto;
        margin-right: auto;
 }
-#content img.alignleft, 
-#content img.alignright, 
+#content img.alignleft,
+#content img.alignright,
 #content img.aligncenter {
        margin-bottom: 12px;
 }
 #content .wp-caption {
        background: #f1f1f1;
        line-height: 18px;
-       text-align: center;
        margin-bottom: 20px;
        padding: 4px;
+       text-align: center;
 }
 #content .wp-caption img {
        margin: 5px 5px 0;
 }
 #content .wp-caption p.wp-caption-text {
-       margin: 5px;
        color: #888;
        font-size: 12px;
+       margin: 5px;
 }
 #content .wp-smiley {
-       margin:0;
+       margin: 0;
 }
 #content .gallery {
-       margin: auto;
+       margin: 0 auto 18px;
 }
 #content .gallery .gallery-item {
        float: left;
@@ -857,17 +838,20 @@ div.menu li {
 #content .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 {
@@ -876,7 +860,7 @@ div.menu li {
 }
 .navigation a:active,
 .navigation a:hover {
-       color: #FF4B33;
+       color: #ff4b33;
 }
 .nav-previous {
        float: left;
@@ -884,8 +868,8 @@ div.menu li {
 }
 .nav-next {
        float: right;
+       text-align: right;
        width: 50%;
-       text-align:right;
 }
 #nav-above {
        margin: 0 0 18px 0;
@@ -902,7 +886,6 @@ div.menu li {
 }
 
 
-
 /* =Comments
 -------------------------------------------------------------- */
 #comments {
@@ -914,8 +897,8 @@ div.menu li {
 h3#comments-title,
 h3#reply-title {
        color: #000;
-       font-weight: bold;
        font-size: 20px;
+       font-weight: bold;
        margin-bottom: 0;
 }
 h3#comments-title {
@@ -933,8 +916,8 @@ 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 {
@@ -975,7 +958,7 @@ h3#comments-title {
 }
 .comment-meta a:active,
 .comment-meta a:hover {
-       color: #FF4B33;
+       color: #ff4b33;
 }
 .commentlist .even {
 }
@@ -991,7 +974,7 @@ a.comment-edit-link {
 }
 .reply a:hover,
 a.comment-edit-link:hover {
-       color: #FF4B33;
+       color: #ff4b33;
 }
 .commentlist .children {
        list-style: none;
@@ -1006,34 +989,32 @@ a.comment-edit-link:hover {
        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;
 }
@@ -1060,23 +1041,23 @@ h3#reply-title {
 }
 #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;
@@ -1090,8 +1071,8 @@ h3#reply-title {
        margin: 12px 0;
 }
 #respond .form-submit input {
-       width: auto;
        font-size: 14px;
+       width: auto;
 }
 
 
@@ -1106,11 +1087,11 @@ h3#reply-title {
        list-style: square;
        margin-left: 1.3em;
 }
-.widget_search #s { /* This keeps the search inputs in line */
+.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;
@@ -1134,17 +1115,17 @@ h3#reply-title {
        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 {
 }
@@ -1152,9 +1133,9 @@ h3#reply-title {
        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 {
@@ -1167,11 +1148,11 @@ h3#reply-title {
        color: #000;
 }
 .widget_rss a.rsswidget:hover {
-       color: #FF4B33;
+       color: #ff4b33;
 }
 .widget_rss .widget-title img {
-       height: 11px;
        width: 11px;
+       height: 11px;
 }
 
 /* Main sidebars */
@@ -1194,7 +1175,6 @@ h3#reply-title {
 }
 
 
-
 /* =Footer
 -------------------------------------------------------------- */
 
@@ -1204,8 +1184,8 @@ h3#reply-title {
 #colophon {
        border-top: 4px solid #000;
        margin-top: -4px;
-       padding: 18px 0;
        overflow: hidden;
+       padding: 18px 0;
 }
 #site-info {
        font-weight: bold;
@@ -1215,28 +1195,27 @@ h3#reply-title {
        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 {
@@ -1257,18 +1236,17 @@ code {
 }
 
 
-
 /* =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 {
@@ -1281,9 +1259,9 @@ code {
        #site-title,
        #site-description {
                float: none;
-               margin: 0;
-               padding:0;
                line-height: 1.4em;
+               margin: 0;
+               padding: 0;
        }
        #site-title {
                font-size: 13pt;
@@ -1308,13 +1286,13 @@ code {
        #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;
@@ -1328,19 +1306,19 @@ code {
                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