مرسی IMDe
قالب عوض شده بود
الان اگه میشه لطف کنید راهنمایی کنید
کد CSS:
/*
Theme Name: WP98 iTheme2
Theme URI: http://themify.me/themes/itheme2
Version: 1.1.9
Author: همیار وردپرس
Author URI: http://temphaa.com
---------
DO NOT EDIT THIS FILE.
If you need to overwrite the CSS styling, create a new custom_style.css
in the theme folder and it will automatically load in the <head>.
*/
/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
margin: 0;
padding: 0;
}
img, fieldset {
border: 0;
}
/* set img max-width */
img {
width: auto\9; /* ie8 */
max-width: 100%;
height: auto;
}
/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
background: #0d1424 url(images/body-bg.jpg) no-repeat center top;
font: .81em/150% Tahoma, "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
color: #666;
}
p {
margin: 0 0 1.2em;
padding: 0;direction:rtl;
}
a {
text-decoration: none;
outline: none;direction:rtl;
color: #026acb;
}
a:hover {
text-decoration: underline;
}
small {
font-size: 87%;
}
em, i {
}
ul, ol {
margin: 1em 24px 1.4em 0;
padding: 0;direction:rtl;
line-height: 140%;
}
li {
margin: 0 0 .5em 0;direction:rtl;
padding: 0;
}
blockquote {
font: italic 15px/130% Tahoma, "Times New Roman", Times, serif;
padding: 8px 30px 15px;direction:rtl;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1.4em;
margin: 20px 0 .4em;
color: #333;direction:rtl;
text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.4em;
}
h4 {
font-size: 1.2em;
}
h5 {
font-size: 1.1em;
}
h6 {
font-size: 1em;
}
/* form input */
input, textarea, select, button {
font-size: 100%;
font-family: inherit;
}
textarea {
line-height: 150%;
width: 96%;
}
input[type=text], input[type=password], textarea {
border: solid 1px #ccc;
padding: 5px 7px;
background: #f0f0f0;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
textarea:focus, input[type=password]:focus, input[type=text]:focus {
border: solid 1px #666;
background: #fff;
outline: none;
}
/* form button */
input[type=reset], input[type=submit], button {
color: #fff;
line-height: 100%;
border: none;
padding: 5px 7px;
cursor: pointer;
color: #fff;
padding: 5px 20px;
cursor: pointer;
border: solid 1px #333;
background: #333;
background: -webkit-gradient(linear, right top, right bottom, from(#666), to(#000));
background: -moz-linear-gradient(top, #666, #000);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
-webkit-border-radius: 10em;
-moz-border-radius: 10em;
border-radius: 10em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
text-shadow: 0 -1px 0 rgba(0,0,0,.9);
}
input[type=reset]:hover, input[type=submit]:hover, button:hover {
background: #333;
color: #fff;
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
width: 1000px;
margin: 0 auto;
}
/* content */
#content {
width: 695px;
float: left;
background: #fff;
padding: 35px;
margin-bottom: 10px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
/* sidebar */
#sidebar {
float: right;
width: 205px;
margin-bottom: 10px;
margin-top: 1px;
font-size: 90%;
}
/* sidebar left */
.sidebar-left #content {
float: right;
}
.sidebar-left #sidebar {
float: left;
}
/* sidebar none */
.sidebar-none #content {
width: auto;
float: none;
}
/************************************************************************************
GRID
*************************************************************************************/
.col4-1,
.col4-2,
.col4-3,
.col3-1,
.col3-2,
.col2-1
{
float: right;
margin: 0 30px 0 0;
}
.col4-1 {
width: 222px;
}
.col4-2, .col2-1 {
width: 474px;
}
.col4-3 {
width: 726px;
}
.col3-1 {
width: 306px;
}
.col3-2 {
width: 642px;
}
.first {
margin-right: 0;
clear: right;
}
/* grid in content container */
#content .col4-1,
#content .col4-2,
#content .col4-3,
#content .col3-1,
#content .col3-2,
#content .col2-1
{
margin-right: 2%;
}
#content .col4-1 {
width: 23%;
}
#content .col4-2,
#content .col2-1 {
width: 48%;
}
#content .col4-3 {
width: 72%;
}
#content .col3-1 {
width: 31%;
}
#content .col3-2 {
width: 62%;
}
/* first col */
.col.first,
.col4-1.first,
.col4-2.first,
.col4-3.first,
.col3-1.first,
.col3-2.first,
.col2-1.first
{
margin-right: 0 !important;
clear: right;
}
/************************************************************************************
HEADER
*************************************************************************************/
#header {
background-image: url(./images/header.jpg);
position: relative;
width:100%;
height: 350px;
margin-bottom: 20px;
}
#site-logo {
background-image: url(./images/logo-gonak0.png);
position: absolute;right:50px;
top: 30px
}
#site-logo a {
background-image: url(./images/logo-gonak0.png);
font: bold 190%/110% "BYekan", Arial, Helvetica, sans-serif;
color: #fff;
text-decoration: none;
padding-bottom: 2px;
}
#site-description {
color: #ddd;
position: absolute;right:50px;
top: 70px;
font: italic 100%/120% Arial,Georgia, "Times New Roman", Times, serif;
}
/************************************************************************************
HEADER WIDGET
*************************************************************************************/
.header-widget {
position: absolute;
top: 10px;
left: 0;
}
.header-widget .widget {
border: none;
float: right;
margin: 0 0 15px 0;
padding: 0;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.header-widget .widgettitle {
font-size: 100%;
width: auto;
display: block;
float: right;
margin: 0 0 2px 8px;
padding: 0;
background: none;
filter: none;
border: none;
color: #fff;
text-shadow: none;
position: static;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.header-widget div {
float: right;
}
/************************************************************************************
SOCIAL WIDGET
*************************************************************************************/
.social-widget {
position: absolute;
top: 85px;
left: 10px;
font-size: 95%;font-family:Tahoma;
line-height: 120%;
text-align: left;
}
.social-widget a {
color: #fff;
}
.social-widget .widget {
border: none;
float: right;
margin: 0 0 0 15px;
padding: 0;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.social-widget .widgettitle {
font-size: 100%;
width: auto;font-family:Tahoma;
display: block;
float: right;
margin: 0 0 2px 8px;
padding: 0;
background: none;
filter: none;
border: none;
color: #fff;
text-shadow: none;
position: static;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.social-widget div {
float: right;
}
.social-widget ul {
margin: 5px 0 0 !important;
padding: 0;
float: right;
}
.social-widget ul li {
margin: 0 0 5px 8px;
padding: 0;
float: left;
border: none;
clear: none;
line-height: 100%;
}
.social-widget li img {
vertical-align: middle;
margin-top: -11px;
}
/* rss button */
.social-widget .rss {
float: right;
}
.social-widget .rss a {
background: url(images/rss.png) no-repeat right 4px;
padding: 10px 30px 10px 0;
}
/************************************************************************************
SEARCH FORM
*************************************************************************************/
#header #searchform {
position: absolute;
bottom: 9px;
left: 10px;
z-index: 101;
}
#header #searchform #s {
border: none;text-align:right;
width: 120px;direction:rtl;
padding-right: 28px;
background: #e1e1e1 url(images/search.png) no-repeat 95% center;
-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
}
/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#nav-bar {
width: 100%;
position: absolute;
left: 0;
bottom: 0;
z-index: 100;
border: solid 1px #333;
background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
background: -moz-linear-gradient(top, #b9b9b9, #6a6a6a);
background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
}
#main-nav {
margin: 0;
padding: 0;
}
#main-nav li {
margin: 0;
padding: 0;
list-style: none;
float: right;
position: relative;
border-left: solid 1px #575757;
-webkit-box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
-moz-box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
}
#main-nav li:hover {
background: #474747;
background: -webkit-gradient(linear, right top, right bottom, from(#282828), to(#4f4f4f));
background: -moz-linear-gradient(top, #282828, #4f4f4f);
background: linear-gradient(-90deg, #282828, #4f4f4f);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* home icon */
#main-nav .home {
width: 42px;
-webkit-border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomright: 6px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
#main-nav .home a {
background: url(images/home-icon.png) no-repeat 14px center;
width: 16px;
text-indent: 9000em;
}
#main-nav .home a:hover, #main-nav .home.current_page_item a, #main-nav .home.current-menu-item a {
background-position: -41px center;
}
/* home icon current */
#main-nav .home.current_page_item, #main-nav .home.current-menu-item {
-webkit-border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomright: 6px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
/* main level link */
#main-nav a {
color: #fff;
display: block;
padding: 14px 15px;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0,0,0,.7);
}
/* main level link :hover */
#main-nav a:hover {
color: #fff;
}
/* current page li */
#main-nav .current_page_item, #main-nav .current-menu-item {
border-left: solid 1px #000;
border-right: solid 1px #000;
background: #474747;
background: -webkit-gradient(linear, right top, right bottom, from(#282828), to(#4f4f4f));
background: -moz-linear-gradient(top, #282828, #4f4f4f);
background: linear-gradient(-90deg, #282828, #4f4f4f);
-webkit-box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
-moz-box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
}
/* current link */
#main-nav .current_page_item a, #main-nav .current-menu-item a {
color: #fff;
}
/* current link :hover */
#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover {
color: #fff;
}
/* sub-levels current page li */
#main-nav ul .current_page_item, #main-nav ul .current-menu-item {
border: none;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a {
color: #666;
font-size: 95%;
font-weight: normal;
padding: 5px 15px 5px 0;
margin: 0;text-align:right;
width: 180px;
height: auto;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
text-shadow: none;
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover {
background: #F3F3F3;
color: #000;
color: black;
}
/* dropdown ul */
#main-nav ul {
border: solid 1px #ccc;
background: #fff;
margin: 0;
padding: 5px 0;
list-style: none;
position: absolute;
z-index: 100;right:0px;
display: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.3);
box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
#main-nav ul li {
background: none;
padding: 0;
margin: 0;
height: auto;
border: none;
}
#main-nav ul li:hover {
background: none;
}
/* sub-levels dropdown */
#main-nav ul ul {
right: 190px;text-align:right;
top: 5px;
}
/* show dropdown ul */
#main-nav li:hover > ul {
display: block;
}
/************************************************************************************
SLIDER
*************************************************************************************/
#header-slider {
position: relative;
padding: 20px 50px 5px 0px;
margin: 0 0 20px;
background: #fff;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
#header-slider .slides {
margin: 0;
padding: 0;
/* hide slider and then expand by js */
height: 0;
overflow: hidden;
}
#header-slider .slides li {
margin: 0 0 10px 30px;
padding: 0;
list-style: none;
float: right;
text-align: center;
}
#header-slider .slides h3 {
margin: 5px 0 2px;
padding: 0;
font-size: 85%;
font-weight: normal;
line-height: 140%;
text-align: center;
}
#header-slider .slider-nav {
position: absolute;
top: 50%;
right: 0;
width: 100%;
}
#header-slider .slider-nav a {
background: url(images/slider-nav-left.png) no-repeat;
width: 25px;
height: 48px;
margin-top: -24px;
display: block;
text-indent: 900em;
}
#header-slider .slider-nav .prev-slide {
position: absolute;
left: -2px;
}
#header-slider .slider-nav .next-slide {
background-image: url(images/slider-nav-right.png);
position: absolute;
right: -2px;
}
/************************************************************************************
POST
*************************************************************************************/
.post {
margin: 0 0 45px;text-align:right;
position: relative;
}
/* post title */
.post-title {
margin: 0 0 5px;
padding: 5px 0 0 36px;
font: bold 170%/120% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
}
.post-title a {
color: #333;
text-decoration: none;
}
/* post date */
.post-date {
font-weight: bold;
margin: 10px 0 5px;
}
.list-post .post-date {
float: right;
width: 52px;
text-align: center;
margin: 0 0 5px 12px;
border: solid 1px #bebebe;
background: #fff;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ecebeb');
background: -webkit-gradient(linear, right top, right bottom, from(#ffffff), to(#ecebeb));
background: -moz-linear-gradient(top, #ffffff, #ecebeb);
background: linear-gradient(-90deg, #ffffff, #ecebeb);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
box-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.list-post .post-date .month {
color: #fff;
font: 11px/100% Tahoma, Arial, Helvetica, sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
display: block;
padding: 2px 0;
width: 100%;
position: relative;
right: -1px;
top: -1px;
border: solid 1px #a11216;
background: #cb151b;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eb1c24', endColorstr='#a30c10');
background: -webkit-gradient(linear, right top, right bottom, from(#eb1c24), to(#a30c10));
background: -moz-linear-gradient(top, #eb1c24, #a30c10);
background: linear-gradient(-90deg, #eb1c24, #a30c10);
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.2);
box-shadow: 0 1px 0 rgba(0,0,0,.2);
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.list-post .post-date .day {
color: #666;
padding: 2px 0 1px;
font: bold 18px/100% Tahoma, Arial, Helvetica, sans-serif;
display: block;
}
.list-post .post-date .year {
color: #999;
padding: 0 0 4px;
font: 10px/100% Tahoma, Arial, Helvetica, sans-serif;
display: block;
}
/* post meta */
.post-meta {
color: #999;
font-size: 85%;
line-height: 120%;
margin: 0 0 15px;
}
/* post comments */
.post-meta .post-comment a {
font-size: 13px;
text-align: center;
text-decoration: none;
color: #666;
background: url(images/post-comments.png) no-repeat;
width: 36px;
height: 26px;
padding: 8px 0 0;
position: absolute;
top: -5px;
left: -3px;
text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.post-meta .post-comment a:hover {
color: #000;
}
/* post image */
.post-image {
margin: 5px 0 15px;
}
.post-image.left {
margin-right: 15px;
}
.post-image.right {
margin-left: 15px;
}
/************************************************************************************
POST VIDEO (css for fluid video)
*************************************************************************************/
.post-video {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
font-size:.9em;
margin-bottom: 15px;
}
.post-video iframe,
.post-video object,
.post-video embed {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
/************************************************************************************
AUTHOR PAGE
*************************************************************************************/
.author-bio {
margin: 0 0 30px;
}
.author-bio .author-avatar {
float: right;
margin: 0 0 0 15px;
}
.author-bio .author-avatar img {
background: #fff;
padding: 4px;
border: solid 1px #ccc;
}
.author-bio .author-name {
margin: 0 0 5px;
padding: 0;
font-size: 160%;
}
.author-posts-by {
margin: 0 0 20px;
padding: 10px 0 0;
font-size: 140%;
border-top: double 4px #ccc;
border-color: rgba(118,118,118,.3);
}
/************************************************************************************
PAGE TITLE
*************************************************************************************/
.page-title {
margin: 0 0 10px;
font: bold 190%/120% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
}
/************************************************************************************
CATEGORY SECTIONS
*************************************************************************************/
.category-section {
clear: both;
margin-bottom: 30px;
}
.category-section-title {
font-size: 120%;
text-transform: uppercase;
margin: 0 0 20px;
}
/************************************************************************************
LAYOUTS
*************************************************************************************/
/* grid4 post */
.grid4 .post {
width: 204px;
margin-right: 20px;
float: right;
font-size: 90%;
line-height: 130%;
margin-bottom: 20px;
}
.sidebar1 .grid4 .post {
width: 23%;
margin-right: 2%;
}
.grid4 .post-title {
font-size: 130%;
line-height: 130%;
margin: 0 0 3px;
padding: 0;
}
/* grid4 post meta */
.grid4 .post-meta {
font-size: 85%;
}
/* grid3 post */
.grid3 .post {
width: 282px;
margin-right: 20px;
float: right;
margin-bottom: 20px;
font-size: 95%;
line-height: 135%;
}
.sidebar1 .grid3 .post {
width: 31.2%;
margin-right: 2.1%;
}
.grid3 .post-title {
margin: 0 0 5px;
padding: 0;
font-size: 140%;
line-height: 120%;
}
/* grid3 post meta */
.grid3 .post-meta {
font-size: 85%;
}
/* grid2 post */
.grid2 .post {
width: 438px;
float: right;
margin-right: 16px;
margin-bottom: 20px;
}
.sidebar1 .grid2 .post {
width: 48.2%;
margin-right: 1.7%;
}
.grid2 .post-title {
margin: 0 0 5px;
padding: 0;
}
/* grid2-thumb post */
.grid2-thumb .post {
width: 438px;
float: right;
margin-right: 15px;
margin-bottom: 20px;
}
.sidebar1 .grid2-thumb .post {
width: 48.2%;
margin-right: 1.7%;
}
.grid2-thumb .post-title {
margin: 0 0 5px;
font-size: 140%;
}
.grid2-thumb .post-image {
float: right;
margin: 0 0 10px 14px;
}
.grid2-thumb .post-content {
overflow: hidden;
}
/* list thumb post */
.list-thumb-image .post-image {
float: right;
margin: 0 0 10px 16px;
}
.list-thumb-image .post-content {
overflow: hidden;
}
/* list large image */
.list-large-image .post-image {
float: right;
margin: 0 0 10px 22px;
}
.list-large-image .post-title {
margin: 0 0 5px;
padding: 0;
}
.list-large-image .post-content {
overflow: hidden;
}
/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/
.pagenav {
clear: both;direction:rtl;
padding: 7px 5px 0;
text-align: left;
}
.pagenav a, .pagenav span {
background: #026acb;
color: #fff;
line-height: 100%;
text-decoration: none;
padding: 5px 7px;
margin-right: 2px;
vertical-align: middle;
display: inline-block;
zoom:1;
*display:inline;
-webkit-border-radius: 10em;
-moz-border-radius: 10em;
border-radius: 10em;
color: #d9eef7;
border: solid 1px #333;
background: #333;
background: -webkit-gradient(linear, right top, right bottom, from(#666), to(#000));
background: -moz-linear-gradient(top, #666, #000);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
-webkit-border-radius: 10em;
-moz-border-radius: 10em;
border-radius: 10em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
text-shadow: 0 -1px 0 rgba(0,0,0,.9);
}
.pagenav a:hover {
text-decoration: none;
background: #333;
}
.pagenav .current {
background: #999;
filter: none;
color: #fff;
border: none;
border: solid 1px #888;
}
/************************************************************************************
POST NAVIGATION
*************************************************************************************/
.post-nav {
margin: 30px 0 20px;
clear: both;
}
.post-nav span {
width: 45%;
}
.post-nav a {
text-decoration: none;
font-size: 110%;
}
.post-nav a:hover {
text-decoration: none;
}
.post-nav .prev {
float: left;
}
.post-nav .prev a {
background: url(images/previous-arrow.png) no-repeat left 2px;
padding: 4px 0 6px 30px; text-align:left;
display: block;
}
.post-nav .next {
float: right;
text-align: right;
}
.post-nav .next a {
background: url(images/next-arrow.png) no-repeat right 2px;
padding: 4px 30px 6px 0;
display: block;
}
/************************************************************************************
COMMENTS
*************************************************************************************/
.commentwrap {
margin: 40px 0 20px;
padding: 3% 4%;
position: relative;
clear: both;
background: #f6f6f6;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.1);
-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.1);
box-shadow: 0 -1px 0 rgba(0,0,0,.1);
}
.comment-title {
font-size: 140%;
margin: 0 0 10px;
padding: 0;
}
.next-prev-comment {
position: absolute;
top: 20px;
left: 20px;
}
.next-prev-comment a {
text-decoration: none;
font-size: 85%;
text-transform: uppercase;
}
.next-prev-comment .next {
margin: 0 20px 0 0;
}
/* commentlist */
.commentlist {
margin: 0;
padding: 5px 0 0;
list-style: none;
border-top: solid 1px #ddd;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.commentlist li {
margin: 0;
padding: 15px 0 0;
list-style: none;
position: relative;
}
.commentlist .comment-author {
margin: 2px 0 5px;
padding: 0;
}
.commentlist .avatar {
float: right;
margin: -3px 0 10px 12px;
}
.commentlist cite {
font: 120%/130% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
}
.commentlist cite a {
text-decoration: none;
}
.commentlist .bypostauthor cite {
background: url(images/icon-author-comment.png) no-repeat right 2px;
padding-right: 18px;
}
.commentlist .comment-time {
font-size: 75%;
text-transform: uppercase;
display: block;
margin: 2px 0 0;
}
.commentlist .commententry {
position: relative;
min-height: 40px;
overflow: hidden;
padding-bottom: 5px;
border-bottom: solid 1px #ddd;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.9);
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.9);
box-shadow: 0 1px 0 rgba(255,255,255,.9);
}
.commentlist ul, .commentlist ol {
margin: 0 60px 0 0;
padding: 0;
}
.commentlist .reply {
position: absolute;
left: 0;
top: 20px;
}
.commentlist .comment-reply-link {
padding: 3px 8px;
display: block;
font: 10px/100% Tahoma, Arial, Helvetica, sans-serif;
text-transform: uppercase;
letter-spacing: .08em;
text-decoration: none;
color: #666;
-webkit-border-radius: 1em;
-moz-border-radius: 1em;
border-radius: 1em;
text-shadow: 0 1px 0 rgba(255,255,255,.7);
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.3);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.3);
box-shadow: 0 1px 1px rgba(0,0,0,.3);
background: #eee;
background: -webkit-gradient(linear, right top, right bottom, from(#ffffff), to(#cccccc));
background: -moz-linear-gradient(top, #ffffff, #cccccc);
background: linear-gradient(-90deg, #ffffff, #cccccc);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
}
.commentlist .comment-reply-link:hover {
text-decoration: none;
color: #000;
}
/* comment form */
#respond {
margin: 40px 0 30px;
padding: 10px 0 0;
position: relative;
clear: both;
}
#respond .cancel-comment-reply a {
position: absolute;
top: 10px;
left: 0;
display: block;
font-size: 85%;
text-decoration: none;
padding: 1px 10px;
color: #fff;
color: #faddde;
border: solid 1px #980c10;
background: #d81b21;
background: -webkit-gradient(linear, right top, right bottom, from(#ed1c24), to(#aa1317));
background: -moz-linear-gradient(top, #ed1c24, #aa1317);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
-webkit-border-radius: 10em;
-moz-border-radius: 10em;
border-radius: 10em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
#respond .cancel-comment-reply a:hover {
background: #b61318;
}
#commentform {
margin: 15px 0 0;
}
#commentform input[type=text] {
width: 206px;
max-width: 96%;
margin-left: 5px;
}
#commentform label {
font-weight: bold;
}
#commentform label small {
font-weight: normal;
}
#commentform textarea {
width: 97%;
height: 140px;
}
#commentform input#submit {
padding: 7px 20px;
}
/* comment page nav */
.commentwrap .pagenav.top {
position: absolute;
top: 7px;
left: 15px;
margin: 0;
}
.commentwrap .pagenav.bottom {
margin-top: 10px;
}
/************************************************************************************
SIDEBAR
*************************************************************************************/
.widget {
background: #fff;
margin-bottom: 20px;
padding: 15px 18px;direction:rtl;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
width: 100%;
display: block;
padding: 6px 18px 7px 18px;
margin: 0 0 -5px 0;
position: relative;
right: -18px;
top: -16px;
border-top: solid 1px #f5f5f5;
border-bottom: solid 1px #848484;
font: bold 15px/110% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
color: #333;
background: #a9a9a9 url(images/widgettitle-bg.png) repeat-x;
background: -webkit-gradient(linear, right top, right bottom, from(#d7d7d7), to(#a9a9a9));
background: -moz-linear-gradient(top, #d7d7d7, #a9a9a9);
background: linear-gradient(-90deg, #d7d7d7, #a9a9a9);
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
box-shadow: 0 1px 1px rgba(0,0,0,.15);
text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.widgettitle a {
color: #333;
text-decoration: none;
}
.widget ul {
margin: 0;
padding: 0;
}
.widget li {
margin: 0;
padding: 6px 0;
list-style: none;
clear: both;
border-bottom: solid 1px #ddd;
}
.widget li:last-child {
border-bottom: none;
}
.widget ul ul {
margin: 6px 0 -6px 0px;
padding: 0;
border-top: solid 1px #ddd;
}
.widget ul ul li {
margin: 0;
padding-right: 10px;
}
/************************************************************************************
WIDGET STYLES
*************************************************************************************/
/* calendar widget */
.widget #wp-calendar caption {
font-weight: bold;
padding-bottom: 10px;
}
.widget #wp-calendar td {
width: 31px;
padding: 4px 2px;
text-align: center;
}
/* feature posts widget */
.widget .feature-posts-list br {
display: none;
}
.widget .feature-posts-list .post-img {
margin: 4px 0 10px 12px;
float: right;
}
.widget .feature-posts-list small {
font: italic 90% "Times New Roman",Tahoma, Times, serif;
display: block;direction:rtl;
margin: 0 0 3px;
}
.widget .feature-posts-list .feature-posts-title {
margin: 4px 0 3px;
display: block;
}
/* twitter widget */
.widget .twitter-list .twitter-timestamp {
font: italic 90% Tahoma, "Times New Roman", Times, serif;direction:rtl;
}
.widget .follow-user {
margin: 0;
padding: 5px 0;
}
/* links widget */
.widget .links-list img, .widget_links img {
vertical-align: middle;
}
/* recent comments widget */
.recent-comments-list .avatar {
margin-left: 12px;
float: right;
}
/* flickr widget */
.widget .flickr_badge_image {
margin-top: 10px;
}
.widget .flickr_badge_image img {
width: 60px;
height: 60px;
margin-right: 12px;
margin-bottom: 12px;
float: left;
}
/* search widget */
#sidebar #searchform {
position: static;
}
#sidebar #searchform #s {
width: 93%;
}
/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
clear: both;
font-size: 90%;
}
#footer .widget {
margin: 15px 0;
}
#footer .footer-text {
clear: both;
padding: 0 5px 20px 0;direction:rtl;
color: #ccc;
}
#footer .footer-text a {
color: #fff;
}
#footer .credits {
font-size: 90%;
}
/************************************************************************************
FOOTER NAV
*************************************************************************************/
#footer-nav {
margin: 0 5px 15px 0;
padding: 0;
clear: both;
}
#footer-nav li {
margin: 0 0 0 5px;
padding: 0;
display: inline;
list-style: none;
}
#footer-nav a {
text-decoration: none;
margin: 0 0 0 8px;
color: #fff;
}
#footer-nav a:hover {
text-decoration: underline;
}
/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/
.clear {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
.textleft {
text-align: left;
}
.textright {
text-align: right;
}
.textcenter {
text-align: center;
}
/* clearfix */
.clearfix:after, .loops-wrapper:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .loops-wrapper, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .loops-wrapper, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }
/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
background: #fff;
padding: 4px;
border: solid 1px #ccc;
margin-bottom: 15px;
}
.alignleft {
float: left;
margin-right: 30px;
}
.alignright {
float: right;
margin-left: 30px;
}
.aligncenter {
text-align: center;
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
text-align: center;
background: #fff;
padding: 4px 2px 2px 0;
border: solid 1px #ccc;
margin-bottom: 15px;
}
.wp-caption-text {
font: italic 95%/120% Tahoma, Georgia, "Times New Roman", Times, serif;
margin: 6px 0;
color: #777;
}
/************************************************************************************
GALLERY
*************************************************************************************/
/* clearfix for gallery */
.gallery:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html .gallery {
zoom: 1;
} /* IE6 */
*:first-child+html .gallery {
zoom: 1;
} /* IE7 */
#body .gallery {
margin: 30px 0;
}
/* gallery item */
#body .gallery dl {
margin: 0 20px 20px 0;
display: inline-block;
vertical-align: top;
zoom:1;
*display:inline;
width: auto;
float: none;
text-align: center;
}
/* gallery caption */
#body .gallery dd {
width: 140px;
line-height: 120%;
font-size: 90%;
text-align: center;
margin: 5px 0 0;
}
/* get rid of br tag */
.gallery br {
display:none;
}
/************************************************************************************
IMAGE STYLES
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone, .wp-caption img,
.widget .feature-posts-list .post-img,
.widget .flickr_badge_image img,
.commentlist .avatar,
.recent-comments-list .avatar,
#body .gallery img,
.attachment img,
.post-image img,
.feature-img,
.post-img
{
padding: 4px;
background: #fff;
border: solid 1px #ccc;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
box-shadow: 0 1px 1px rgba(0,0,0,.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
---------------------------------------------------------------------------------
و اینم کد Header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php if (is_home() || is_front_page()) { echo bloginfo('name'); } else { echo wp_title(''); } ?></title>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php echo (themify_check('setting-custom_feed_url')) ? themify_get('setting-custom_feed_url') : bloginfo('rss2_url'); ?>">
<?php
/**
* Stylesheets and Javascript files are enqueued in theme-functions.php
*/
?>
<!-- media-queries.js -->
<!--[if lt IE 9]>
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
<!-- wp_header -->
<?php wp_head(); ?>
</head>
<body <?php body_class($class); ?>>
<div id="pagewrap">
<div id="header" class="pagewidth">
<div id="site-logo">
<?php if(themify_get('setting-site_logo') == 'image' && themify_check('setting-site_logo_image_value')){ ?>
<?php themify_image("src=".themify_get('setting-site_logo_image_value')."&w=".themify_get('setting-site_logo_width')."&h=".themify_get('setting-site_logo_height')."&alt=".get_bloginfo('name')."&before=<a href='".get_option('home')."'>&after=</a>"); ?>
<?php } else { ?>
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
<?php } ?>
</div>
<div id="site-description"><?php bloginfo('description'); ?></div>
<div class="social-widget">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Social_Widget') ) ?>
<?php if(!themify_check('setting-exclude_rss')): ?>
<div class="rss"><a href="<?php if(themify_get('setting-custom_feed_url') != ""){ echo themify_get('setting-custom_feed_url'); } else { echo bloginfo('rss2_url'); } ?>">خوراک</a></div>
<?php endif ?>
</div>
<!--/social widget -->
<!-- header wdiegt -->
<div class="header-widget">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Header_Widget') ) ?>
</div>
<!--/header widget -->
<?php if(!themify_check('setting-exclude_search_form')): ?>
<?php get_search_form(); ?>
<?php endif ?>
<div id="nav-bar">
<?php if (function_exists('wp_nav_menu')) {
wp_nav_menu(array('theme_location' => 'main-nav' , 'fallback_cb' => 'default_main_nav' , 'container' => '' , 'menu_id' => 'main-nav' , 'menu_class' => 'main-nav'));
} else {
default_main_nav();
} ?>
</div><!--/nav bar -->
</div>
<!--/header -->
<div id="body" class="clearfix">