/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Theme Name: themeName Description: Child theme for the Twenty Ten theme Author: Template: twentyten */ /* =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, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 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; vertical-align: baseline; } body { line-height: 1; } h1, h2, h3, h4, h5, h6 { clear: both; font-weight: normal; } ol, ul { list-style: none; } blockquote { quotes: none; } blockquote:before, blockquote:after { content: ''; content: none; } del { text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } a img { border: none; } /* =Layout -------------------------------------------------------------- */ /* LAYOUT: Two columns DESCRIPTION: Two-column fixed layout with one sidebar right of content */ #container { } #content { } #primary, #secondary { } #secondary { } #footer { } /* LAYOUT: One column, no sidebar DESCRIPTION: One centered column with no sidebar */ .one-column #content { } /* LAYOUT: Full width, no sidebar DESCRIPTION: Full width content with no sidebar; used for attachment pages */ .single-attachment #content { } /* =Fonts -------------------------------------------------------------- */ body, input, textarea, .page-title span, .pingback a.url { } h3#comments-title, h3#reply-title, #access .menu, #access div.menu ul, #cancel-comment-reply-link, .form-allowed-tags, #site-info, #site-title, #wp-calendar, .comment-meta, .comment-body tr th, .comment-body thead th, .entry-content label, .entry-content tr th, .entry-content thead th, .entry-meta, .entry-title, .entry-utility, #respond label, .navigation, .page-title, .pingback p, .reply, .widget-title, .wp-caption-text { } input[type=submit] { } pre { } code { } /* =Structure -------------------------------------------------------------- */ /* The main theme structure */ #access .menu-header, div.menu, #colophon, #branding, #main, #wrapper { } #wrapper { } /* Structure the footer area */ #footer-widget-area { } #footer-widget-area .widget-area { } #footer-widget-area #fourth { } #site-info { } #site-generator { } /* =Global Elements -------------------------------------------------------------- */ /* Main global 'theme' and typographic styles */ body { } body, input, textarea { } hr { } /* Text elements */ p { } ul { } ol { } ol ol { } ol ol ol { } ol ol ol ol { } ul ul, ol ol, ul ol, ol ul { } dl { } dt { } dd { } strong { } cite, em, i { } big { } ins { } blockquote { } blockquote cite, blockquote em, blockquote i { } pre { } abbr, acronym { } sup, sub { } sup { } sub { } input[type="text"], textarea { } a:link { } a:visited { } a:active, a:hover { } /* Text meant only for screen readers */ .screen-reader-text { } /* =Header -------------------------------------------------------------- */ #header { } #site-title { } #site-title a { } #site-description { } /* This is the custom header image */ #branding img { } /* =Menu -------------------------------------------------------------- */ #access { } #access .menu-header, div.menu { } #access .menu-header ul, div.menu ul { } #access .menu-header li, div.menu li { } #access a { } #access ul ul { } #access ul ul li { } #access ul ul ul { } #access ul ul a { } #access li:hover > a, #access ul ul :hover > a { } #access ul li:hover > ul { } #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a { } * 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 { } /* =Content -------------------------------------------------------------- */ #main { } #content { } #content, #content input, #content textarea { } #content p, #content ul, #content ol, #content dd, #content pre, #content hr { } #content ul ul, #content ol ol, #content ul ol, #content ol ul { } #content pre, #content kbd, #content tt, #content var { } #content code { } #content dt, #content th { } #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { } #content table { } #content tr th, #content thead th { } #content tr td { } #content tr.odd td { } .hentry { } .home .sticky { } .single .hentry { } .page-title { } .page-title span { } .page-title a:link, .page-title a:visited { } .page-title a:active, .page-title a:hover { } #content .entry-title { } .entry-title a:link, .entry-title a:visited { } .entry-title a:active, .entry-title a:hover { } .entry-meta { } .entry-meta abbr, .entry-utility abbr { } .entry-meta abbr:hover, .entry-utility abbr:hover { } .entry-content, .entry-summary { } #content .entry-summary p:last-child { } .entry-content fieldset { } .entry-content fieldset legend { } .entry-content input { } .entry-content input.file, .entry-content input.button { } .entry-content label { } .entry-content select { } .entry-content sup, .entry-content sub { } .entry-content blockquote.left { } .entry-content blockquote.right { } .page-link { } .page-link a:link, .page-link a:visited { } .home .sticky .page-link a { } .page-link a:active, .page-link a:hover { } body.page .edit-link { } #entry-author-info { } #entry-author-info #author-avatar { } #entry-author-info #author-description { } #entry-author-info h2 { } .entry-utility { } .entry-meta a, .entry-utility a { } .entry-meta a:hover, .entry-utility a:hover { } #content .video-player { } /* =Asides -------------------------------------------------------------- */ .home #content .format-aside p, .home #content .category-asides p { } .home .hentry.format-aside, .home .hentry.category-asides { } .home #content .format-aside .entry-content, .home #content .category-asides .entry-content { } /* =Gallery listing -------------------------------------------------------------- */ .format-gallery .size-thumbnail img, .category-gallery .size-thumbnail img { } .format-gallery .gallery-thumb, .category-gallery .gallery-thumb { } .home #content .format-gallery .entry-utility, .home #content .category-gallery .entry-utility { } /* =Attachment pages -------------------------------------------------------------- */ .attachment .entry-content .entry-caption { } .attachment .entry-content .nav-previous a:before { } .attachment .entry-content .nav-next a:after { } /* =Images -------------------------------------------------------------- */ /* 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 { } .alignleft, img.alignleft { } .alignright, img.alignright { } .aligncenter, img.aligncenter { } img.alignleft, img.alignright, img.aligncenter { } .wp-caption { } .wp-caption img { } .wp-caption p.wp-caption-text { } .wp-smiley { } .gallery { } .gallery .gallery-item { } .gallery-columns-2 .gallery-item { } .gallery-columns-4 .gallery-item { } .gallery img { } .gallery-columns-2 .attachment-medium { } .gallery-columns-4 .attachment-thumbnail { } .gallery .gallery-caption { } .gallery dl { } .gallery img { } .gallery br+br { } #content .attachment img {/* single attachment images should be centered */ } /* =Navigation -------------------------------------------------------------- */ .navigation { } .navigation a:link, .navigation a:visited { } .navigation a:active, .navigation a:hover { } .nav-previous { } .nav-next { } #nav-above { } #nav-above { } .paged #nav-above, .single #nav-above { } #nav-below { } /* =Comments -------------------------------------------------------------- */ #comments { } #comments .navigation { } h3#comments-title, h3#reply-title { } h3#comments-title { } .commentlist { } .commentlist li.comment { } .commentlist li:last-child { } #comments .comment-body ul, #comments .comment-body ol { } #comments .comment-body p:last-child { } #comments .comment-body blockquote p:last-child { } .commentlist ol { } .commentlist .avatar { } .comment-author { } .comment-author cite { } .comment-author .says { } .comment-meta { } .comment-meta a:link, .comment-meta a:visited { } .comment-meta a:active, .comment-meta a:hover { } .commentlist .even { } .commentlist .bypostauthor { } .reply { } .reply a, a.comment-edit-link { } .reply a:hover, a.comment-edit-link:hover { } .commentlist .children { } .commentlist .children li { } .nopassword, .nocomments { } #comments .pingback { } .commentlist li.comment+li.pingback { } #comments .pingback p { } #comments .pingback .url { } /* Comments form */ input[type=submit] { } #respond { } #respond p { } #respond .comment-notes { } .form-allowed-tags { } .children #respond { } h3#reply-title { } #comments-list #respond { } #comments-list ul #respond { } #cancel-comment-reply-link { } #respond .required { } #respond label { } #respond input { } #respond textarea { } #respond .form-allowed-tags { } #respond .form-allowed-tags code { } #respond .form-submit { } #respond .form-submit input { } /* =Widget Areas -------------------------------------------------------------- */ .widget-area ul { } .widget-area ul ul { } .widget-area select { } .widget_search #s {/* This keeps the search inputs in line */ } .widget_search label { } .widget-container { } .widget-title { } .widget-area a:link, .widget-area a:visited { } .widget-area a:active, .widget-area a:hover { } .widget-area .entry-meta { } #wp_tag_cloud div { } #wp-calendar { } #wp-calendar caption { } #wp-calendar thead { } #wp-calendar thead th { } #wp-calendar tbody { } #wp-calendar tbody td { } #wp-calendar tbody .pad { } #wp-calendar tfoot #next { } .widget_rss a.rsswidget { } .widget_rss a.rsswidget:hover { } .widget_rss .widget-title img { } /* Main sidebars */ #main .widget-area ul { } #main .widget-area ul ul { } #primary { } #secondary { } /* Footer widget areas */ #footer-widget-area { } /* =Footer -------------------------------------------------------------- */ #footer { } #colophon { } #site-info { } #site-info a { } #site-generator { } #site-generator a { } #site-generator a:hover { } img#wpstats { } /* =Mobile Safari ( iPad, iPhone and iPod Touch ) -------------------------------------------------------------- */ pre { } code { } #access, .entry-meta, .entry-utility, .navigation, .widget-area { } #site-description { } /* =Print Style -------------------------------------------------------------- */ @media print { body { } #wrapper { } #header { } #colophon { } #site-title, #site-description { } #site-title { } .entry-content { } .entry-title { } #access, #branding img, #respond, .comment-edit-link, .edit-link, .navigation, .page-link, .widget-area { } #container, #header, #footer { } #content, .one-column #content { } .wp-caption p { } #site-info, #site-generator { } #colophon { } img#wpstats { } #site-generator a { } #entry-author-info { } #main { } .home .sticky { } }