/* Theme Name: AppleMadnessTheme Theme URI: Description: A weight loss WP theme. Version: 1.2 Author: Katie Weston Author URI: http://www.InsideYourDiet.com Tags: green, fixed-width, two-columns */ /* begin Page */ /* File checksum is 7D790F70. */ body { margin: 0 auto; padding: 0; background-color: #3F6A0B; background-image: url('images/Page-BgTexture.jpg'); background-repeat: repeat-x; background-attachment: scroll; background-position: top left; } .container { position: relative; width: 100%; left: 0; top: 0; } .BGGradient { position: absolute; background-image: url('images/Page-BgGradient.jpg'); background-repeat: repeat-x; top:0; width:100%; height: 900px; } .cleared { float: none; clear: both; margin: 0; padding: 0; border: none; font-size:1px; } form { padding:0 !important; margin:0 !important; } table.position { position: relative; width: 100%; table-layout: fixed; } /* end Page */ /* begin Box, page */ .page { position:relative; z-index:0; margin:0 auto; width: 1001px; min-width:51px; min-height:51px; } .page-body { position: relative; z-index:1; padding: 5px; } .page-tr, .page-tl, .page-br, .page-bl, .page-tc, .page-bc,.page-cr, .page-cl { position:absolute; z-index:-1; } .page-tr, .page-tl, .page-br, .page-bl { width: 70px; height: 70px; background-image: url('images/page-s.png'); } .page-tl { top:0; left:0; clip: rect(auto, 35px, 35px, auto); } .page-tr { top: 0; right: 0; clip: rect(auto, auto, 35px, 35px); } .page-bl { bottom: 0; left: 0; clip: rect(35px, 35px, auto, auto); } .page-br { bottom: 0; right: 0; clip: rect(35px, auto, auto, 35px); } .page-tc, .page-bc { left: 35px; right: 35px; height: 70px; background-image: url('images/page-h.png'); } .page-tc { top: 0; clip: rect(auto, auto, 35px, auto); } .page-bc { bottom: 0; clip: rect(35px, auto, auto, auto); } .page-cr, .page-cl { top: 35px; bottom: 35px; width: 70px; background-image: url('images/page-v.png'); } .page-cr { right:0; clip: rect(auto, auto, auto, 35px); } .page-cl { left:0; clip: rect(auto, 35px, auto, auto); } .page-cc { position:absolute; z-index:-1; top: 35px; left: 35px; right: 35px; bottom: 35px; background-color: #FFFFFF; } .page { margin-top: 20px !important; } .BGSimpleGradient, .BGGradient, .BGGlare { min-width:1001px; } /* end Box, page */ /* begin Menu */ /* menu structure */ .menu a, .menu a:link, .menu a:visited, .menu a:hover { text-align:left; text-decoration:none; outline:none; letter-spacing:normal; word-spacing:normal; } .menu, .menu ul { margin: 0; padding: 0; border: 0; list-style-type: none; display: block; } .menu li { margin: 0; padding: 0; border: 0; display: block; float: left; position: relative; z-index: 5; background:none; } .menu li:hover { z-index: 10000; white-space: normal; } .menu li li { float: none; } .menu ul { visibility: hidden; position: absolute; z-index: 10; left: 0; top: 0; background:none; } .menu li:hover>ul { visibility: visible; top: 100%; } .menu li li:hover>ul { top: 0; left: 100%; } .menu:after, .menu ul:after { content: "."; height: 0; display: block; visibility: hidden; overflow: hidden; clear: both; } .menu, .menu ul { min-height: 0; } .menu ul { background-image: url(images/spacer.gif); padding: 10px 30px 30px 30px; margin: -10px 0 0 -30px; } .menu ul ul { padding: 30px 30px 30px 10px; margin: -30px 0 0 -10px; } /* menu structure */ .menu { padding: 12px 15px 0px 15px; } .nav { position: relative; height: 42px; z-index: 100; } .nav .l, .nav .r { position: absolute; z-index: -1; top: 0; height: 42px; background-image: url('images/nav.png'); } .nav .l { left: 0; right:15px; } .nav .r { right: 0; width: 991px; clip: rect(auto, auto, auto, 976px); } /* end Menu */ /* begin MenuItem */ .menu ul li { clear: both; } .menu a { position:relative; display: block; overflow:hidden; height: 30px; cursor: pointer; text-decoration: none; margin-right: 2px; margin-left: 2px; } .menu a .r, .menu a .l { position:absolute; display: block; height: 90px; background-image: url('images/MenuItem.png'); } .menu a .l { left:0; right:13px; } .menu a .r { width:426px; right:0; clip: rect(auto, auto, auto, 413px); } .menu a .t { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 12px; font-style: normal; font-weight: normal; color: #399429; padding: 0 10px; margin: 0 13px; line-height: 30px; text-align: center; } .menu a:hover .l, .menu a:hover .r { top:-30px; } .menu li:hover>a .l, .menu li:hover>a .r { top:-30px; } .menu li:hover a .l, .menu li:hover a .r { top:-30px; } .menu a:hover .t { color: #F4F5F0; } .menu li:hover a .t { color: #F4F5F0; } .menu li:hover>a .t { color: #F4F5F0; } .menu a.active .l, .menu a.active .r { top: -60px; } .menu a.active .t { color: #090906; } /* end MenuItem */ /* begin MenuSubItem */ .menu ul a { display:block; text-align: center; white-space: nowrap; height: 20px; width: 180px; overflow:hidden; line-height: 20px; margin-right: auto; background-image: url('images/subitem-bg.png'); background-position: left top; background-repeat: repeat-x; border-width: 1px; border-style: solid; border-color: #BBCD79; } .nav ul.menu ul span, .nav ul.menu ul span span { display: inline; float: none; margin: inherit; padding: inherit; background-image: none; text-align: inherit; text-decoration: inherit; } .menu ul a, .menu ul a:link, .menu ul a:visited, .menu ul a:hover, .menu ul a:active, .nav ul.menu ul span, .nav ul.menu ul span span { text-align: left; text-indent: 12px; text-decoration: none; line-height: 20px; color: #546124; font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; font-style: normal; font-weight: normal; } .menu ul ul a { margin-left: auto; } .menu ul li a:hover { color: #000000; border-color: #AAC157; background-position: 0 -20px; } .menu ul li:hover>a { color: #000000; border-color: #AAC157; background-position: 0 -20px; } .nav .menu ul li a:hover span, .nav .menu ul li a:hover span span { color: #000000; } .nav .menu ul li:hover>a span, .nav .menu ul li:hover>a span span { color: #000000; } /* end MenuSubItem */ /* begin Header */ div.Header { margin: 0 auto; position: relative; z-index:0; width: 991px; height: 225px; } div.Header-jpeg { position: absolute; z-index:-1; top: 0; left: 0; width: 991px; height: 225px; background-image: url('images/Header.jpg'); background-repeat: no-repeat; background-position: center center; } /* end Header */ /* begin Logo */ .logo { display : block; position: absolute; left: 238px; top: 63px; width: 753px; } h1.logo-name { display: block; text-align: left; } h1.logo-name, h1.logo-name a, h1.logo-name a:link, h1.logo-name a:visited, h1.logo-name a:hover { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 41px; font-style: normal; font-weight: bold; text-decoration: none; padding:0; margin:0; color: #118406 !important; } .logo-text { display: block; text-align: left; } .logo-text, .logo-text a { font-family: Arial, Helvetica, Sans-Serif; font-size: 20px; font-style: normal; font-weight: normal; padding:0; margin:0; color: #118406 !important; } /* end Logo */ /* begin ContentLayout */ .contentLayout { position: relative; margin-bottom: 5px; width: 991px; } /* end ContentLayout */ /* begin Box, block */ .block { position:relative; z-index:0; margin:0 auto; min-width:1px; min-height:1px; } .block-body { position: relative; z-index:1; padding: 0px; } .block { margin: 7px; } /* end Box, block */ /* begin blockHeader */ .blockHeader { position:relative; z-index:0; height: 30px; padding: 0 7px; margin-bottom: 7px; } .blockHeader .t { height: 30px; color: #FFFFFF; font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 13px; font-style: normal; font-weight: bold; text-align: left; white-space : nowrap; padding: 0 7px; line-height: 30px; } .blockHeader .l, .blockHeader .r { display:block; position:absolute; z-index:-1; height: 30px; background-image: url('images/blockheader.png'); } .blockHeader .l { left:0; right:6px; } .blockHeader .r { width:991px; right:0; clip: rect(auto, auto, auto, 985px); } .header-tag-icon { display:inline-block; background-position:left top; background-image: url('images/blockheadericon.png'); padding:0 0 0 24px; background-repeat: no-repeat; min-height: 17px; margin: 0 0 0 5px; } /* end blockHeader */ /* begin Box, blockContent */ .blockContent { position:relative; z-index:0; margin:0 auto; min-width:1px; min-height:1px; } .blockContent-body { position: relative; z-index:1; padding: 7px; } .blockContent-body { color:#181910; font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; font-style: normal; font-weight: normal; } .blockContent-body a:link { color: #718230; font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; } .blockContent-body a:visited, .blockContent-body a.visited { color: #225D19; font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; } .blockContent-body a:hover, .blockContent-body a.hover { color: #BA4B1C; font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; } .blockContent-body ul { list-style-type: none; color: #303120; margin:0; padding:0; } .blockContent-body li { font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; text-decoration: none; } .blockContent-body ul li { padding:0px 0 0px 13px; background-image: url('images/blockcontentbullets.png'); background-repeat:no-repeat; margin:0.5em 0 0.5em 0; line-height:1.2em; } /* end Box, blockContent */ /* begin Box, post */ .post { position:relative; z-index:0; margin:0 auto; min-width:35px; min-height:35px; } .post-body { position: relative; z-index:1; padding: 14px; } .post-tr, .post-tl, .post-br, .post-bl, .post-tc, .post-bc,.post-cr, .post-cl { position:absolute; z-index:-1; } .post-tr, .post-tl, .post-br, .post-bl { width: 46px; height: 46px; background-image: url('images/post-s.png'); } .post-tl { top:0; left:0; clip: rect(auto, 23px, 23px, auto); } .post-tr { top: 0; right: 0; clip: rect(auto, auto, 23px, 23px); } .post-bl { bottom: 0; left: 0; clip: rect(23px, 23px, auto, auto); } .post-br { bottom: 0; right: 0; clip: rect(23px, auto, auto, 23px); } .post-tc, .post-bc { left: 23px; right: 23px; height: 46px; background-image: url('images/post-h.png'); } .post-tc { top: 0; clip: rect(auto, auto, 23px, auto); } .post-bc { bottom: 0; clip: rect(23px, auto, auto, auto); } .post-cr, .post-cl { top: 23px; bottom: 23px; width: 46px; background-image: url('images/post-v.png'); } .post-cr { right:0; clip: rect(auto, auto, auto, 23px); } .post-cl { left:0; clip: rect(auto, 23px, auto, auto); } .post-cc { position:absolute; z-index:-1; top: 23px; left: 23px; right: 23px; bottom: 23px; background-color: #F2F5E5; } .post { margin: 10px; } /* Start images */ a img { border: 0; } .article img, img.article { border: solid 1px #BDC19F; margin: 1em; } .metadata-icons img { border: none; vertical-align: middle; margin:2px; } /* Finish images */ /* Start tables */ .article table, table.article { border-collapse: collapse; margin: 1px; width:auto; } .article table, table.article .article tr, .article th, .article td { background-color:Transparent; } .article th, .article td { padding: 2px; border: solid 1px #A4A87A; vertical-align: top; text-align:left; } .article th { text-align:center; vertical-align:middle; padding: 7px; } /* Finish tables */ /* end Box, post */ /* begin posticon */ .posticon-wrapper { text-decoration:none; margin: 0.2em 0; padding: 0; font-weight:normal; font-style:normal; letter-spacing:normal; word-spacing:normal; font-variant:normal; text-decoration:none; font-variant:normal; text-transform:none; text-align:left; text-indent:0; line-height:inherit; font-family: Arial, Helvetica, Sans-Serif; font-size: 22px; font-style: normal; font-weight: bold; text-align: left; color: #171A0A; } .posticon-wrapper, .posticon-wrapper a, .posticon-wrapper a:link, .posticon-wrapper a:visited, .posticon-wrapper a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 22px; font-style: normal; font-weight: bold; text-align: left; color: #171A0A; } /* end posticon */ /* begin toppost */ .toppost a:link { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; text-align: left; color: #1D220C; } .toppost a:visited, .toppost a.visited { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; text-align: left; color: #505336; } .toppost a:hover, .toppost a.hovered { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; text-align: left; color: #818F00; } /* end toppost */ /* begin postMetadata */ .postMetadataHeader { padding:1px; background-color: #E5ECCB; } /* end postMetadata */ /* begin postIcons */ .posticons { padding:1px; } .posticons, .posticons a, .posticons a:link, .posticons a:visited, .posticons a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 11px; color: #393B26; } .posticons a, .posticons a:link, .posticons a:visited, .posticons a:hover { margin:0; } .posticons a:link { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #607029; } .posticons a:visited, .posticons a.visited { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #607029; } .posticons a:hover, .posticons a.hover { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; color: #607029; } /* end postIcons */ /* begin post */ /* Content Text Font & Color (Default) */ body { font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; font-style: normal; font-weight: normal; color: #15160E; } .post { font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: justify; color: #15160E; } /* Start Content link style */ /* The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active. http://www.w3schools.com/CSS/css_pseudo_classes.asp http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/ */ a { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #074BC0; } /* Adds special style to an unvisited link. */ a:link { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #074BC0; } /* Adds special style to a visited link. */ a:visited, a.visited { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #5F6340; } /* :hover - adds special style to an element when you mouse over it. */ a:hover, a.hover { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; color: #CD531F; } /* Finish Content link style */ /* Resert some headings default style & links default style for links in headings*/ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { font-weight: normal; font-style: normal; text-decoration: none; } /* Start Content headings Fonts & Colors */ h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 28px; font-style: normal; font-weight: bold; text-align: left; color: #67772C; } h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 22px; font-style: normal; font-weight: bold; text-align: left; color: #879C3A; } h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 18px; font-style: normal; font-weight: bold; text-align: left; color: #5F6340; } h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 16px; font-style: normal; font-weight: bold; text-align: left; color: #15160E; } h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 14px; font-style: normal; font-weight: bold; text-align: left; color: #15160E; } h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 14px; font-style: normal; font-weight: bold; text-align: left; color: #15160E; } /* Finish Content headings Fonts & Colors */ /* end post */ /* begin postBullets */ /* Start Content list */ ol, ul { color: #171A0A; margin:1em 0 1em 2em; padding:0; font-family: Arial, Helvetica, Sans-Serif; font-size: 12px; } li ol, li ul { margin:0.5em 0 0.5em 2em; padding:0; } li { margin:0.2em 0; padding:0; } ul { list-style-type: none; } ol { list-style-position:inside; } .post li { padding:0px 0 0px 13px; line-height:1.2em; } .post ol li, .post ul ol li { background: none; padding-left:0; } .post ul li, .post ol ul li { background-image: url('images/postbullets.png'); background-repeat:no-repeat; padding-left:13px; } /* Finish Content list */ /* end postBullets */ /* begin postQuote */ /* Start blockquote */ blockquote p { color:#12130C; font-family: Arial, Helvetica, Sans-Serif; font-style: italic; font-weight: normal; text-align: left; } blockquote { border:solid 1px #BDC19F; margin:10px 10px 10px 50px; padding:5px 5px 5px 41px; background-color:#DDDFCE; background-image:url('images/postquote.png'); background-position:left top; background-repeat:no-repeat; } /* Finish blockuote */ /* end postQuote */ /* begin postMetadata */ .postMetadataFooter { padding:1px; background-color: #E5ECCB; } /* end postMetadata */ /* begin postIcons */ .footicons { padding:1px; } .footicons, .footicons a, .footicons a:link, .footicons a:visited, .footicons a:hover { font-family: Arial, Helvetica, Sans-Serif; font-size: 11px; text-decoration: none; color: #393B26; } .footicons a, .footicons a:link, .footicons a:visited, .footicons a:hover { margin:0; } .footicons a:link { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #607029; } .footicons a:visited, .footicons a.visited { font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #607029; } .footicons a:hover, .footicons a.hover { font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; color: #607029; } /* end postIcons */ /* begin Button */ .Button { display:inline-block; width: auto; outline:none; border:none; background:none; line-height:35px; margin:0; padding:0; overflow: visible; cursor: default; text-decoration: none !important; z-index:0; } .Button .btn { display:block; position:relative; float:left; height: 35px; overflow:hidden; white-space: nowrap; width: auto; color: #F6F8EC; } .Button .btn .t { display:block; height: 35px; font-family: Arial, Helvetica, Sans-Serif; font-size: 13px; font-style: normal; font-weight: bold; white-space: nowrap; text-align: left; padding: 0 21px; line-height: 35px; text-decoration: none !important; } input, select { font-family: Arial, Helvetica, Sans-Serif; font-size: 13px; font-style: normal; font-weight: bold; } .Button .hover, .Button:hover { color: #F4F5F0; text-decoration: none !important; } .Button .active { color: #129107; } .Button .btn .l, .Button .btn .r { display:block; position:absolute; z-index:-1; height: 105px; background-image: url('images/Button.png'); } .Button .btn .l { left:0; right:11px; } .Button .btn .r { width:411px; right:0; clip: rect(auto, auto, auto, 400px); } .Button .btn.hover .l, .Button .btn.hover .r, .Button .btn:hover .l, .Button .btn:hover .r { top: -35px; } .Button .btn.active .l, .Button .btn.active .r { top: -70px; } /* end Button */ /* begin Footer */ .Footer { position:relative; z-index:0; overflow:hidden; width: 991px; margin: 5px auto 0px auto; } .Footer .Footer-inner { height:1%; position: relative; z-index: 0; padding: 8px; text-align: center; } .Footer .Footer-background { position:absolute; z-index:-1; background-repeat:no-repeat; background-image: url('images/Footer.png'); width: 991px; height: 150px; bottom:0; left:0; } .rss-tag-icon { position: relative; display:block; float:left; background-image: url('images/rssIcon.png'); background-position: center right; background-repeat: no-repeat; margin: 0 5px 0 0; height: 32px; width: 32px; } .Footer .Footer-text p { margin: 0; } .Footer .Footer-text { display:inline-block; color:#25661B; font-family: Arial, Helvetica, Sans-Serif; font-size: 11px; } .Footer .Footer-text a:link { text-decoration: none; color: #0852D3; font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; } .Footer .Footer-text a:visited { text-decoration: none; color: #B1B48D; font-family: Arial, Helvetica, Sans-Serif; text-decoration: underline; } .Footer .Footer-text a:hover { text-decoration: none; color: #BA4B1C; font-family: Arial, Helvetica, Sans-Serif; text-decoration: none; } /* end Footer */ /* begin PageFooter */ .page-footer, .page-footer a, .page-footer a:link, .page-footer a:visited, .page-footer a:hover { font-family:Arial; font-size:10px; letter-spacing:normal; word-spacing:normal; font-style:normal; font-weight:normal; text-decoration:underline; color:#819537; } .page-footer { margin:1em; text-align:center; text-decoration:none; color:#ACB087; } /* end PageFooter */ /* begin LayoutCell */ .contentLayout .content { position: relative; margin: 0; padding: 0; border: 0; float: left; overflow: hidden; width: 743px; } .contentLayout .content-wide { position: relative; margin: 0; padding: 0; border: 0; float: left; overflow: hidden; width: 990px; } /* end LayoutCell */ /* begin LayoutCell */ .contentLayout .sidebar1 { position: relative; margin: 0; padding: 0; border: 0; float: left; overflow: hidden; width: 247px; } /* end LayoutCell */ .commentlist, .commentlist li { background: none; } .commentlist li li { margin-left:30px; } .commentlist li .avatar { float: right; border: 1px solid #eee; padding: 2px; margin:1px; background: #fff; } .commentlist li cite { font-size:1.2em; } #commentform textarea { width: 100%; } img.wp-smiley { border:none; margin:0; padding:0; } .navigation { display: block; text-align: center; } /* Recommended by http://codex.wordpress.org/CSS */ /* Begin */ .aligncenter, div.aligncenter, .article .aligncenter img, .aligncenter img.article, .aligncenter img, img.aligncenter { display: block; margin-left: auto; margin-right: auto; } .alignleft { float: left; } .alignright { float: right; } .alignright img, img.alignright { margin: 1em; margin-right: 0; } .alignleft img, img.alignleft { margin: 1em; margin-left: 0; } .wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; } .wp-caption img { margin: 0; padding: 0; border: 0 none; } .wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; } /* End */ .hidden { display: none; } /* Calendar */ #wp-calendar { empty-cells: show; margin: 10px auto 0; width: 155px; } #wp-calendar #next a { padding-right: 10px; text-align: right; } #wp-calendar #prev a { padding-left: 10px; text-align: left; } #wp-calendar a { display: block; } #wp-calendar caption { text-align: center; width: 100%; } #wp-calendar td { padding: 3px 0; text-align: center; }