کد:
@font-face {
font-family: 'BYekan';
src:url('fonts/BYekan.eot?#') format('eot'),
url('fonts/BYekan.woff') format('woff'),
url('fonts/BYekan.ttf') format('truetype');
}
/*
Theme Name:Leon
Theme URL: http://www.web2feel.com/leon/
Description: Free WordPress theme released by web2feel.com
Author: Jinsona
Author URI: www.web2feel.com
Version: 1.0.0
Tags: Responsive, grey, black, right-sidebar, fixed-width, theme-options, threaded-comments, banner ads, adsense,fab themes.
فارسی سازی شده توسط سهیل=mrsoheyl.ir
*/
body{
background:url(images/body.png);
font-face: BYekan;
text-align: right;
}
table {
border-collapse:collapse;
border-spacing:0;
border:1px solid #fff;
margin:10px 0;
}
table td,table th {
text-align:left;
border:1px solid #555;
padding:.4em .8em;
}
table th {
background:#ddd;
color:#999;
text-transform:uppercase;
font-weight:400;
border:1px solid #555;
}
table td {
border:1px solid #555;
background:#eee;
color:#555;
}
table tr.even td {
background:#eee;
border:none;
}
table tr:hover td {
background:#FFF9DF;
}
img.centered {
display:block;
margin-left:auto;
margin-right:auto;
margin-bottom:10px;
padding:0;
}
img.alignnone {
display:inline;
background:#eee;
margin:0 0 10px;
padding:5px;
}
img.alignright {
display:inline;
background:#eee;
margin:5px 0 10px 10px;
padding:5px;
}
img.alignleft {
display:inline;
background:#eee;
margin:10px 15px 10px 0;
padding:5px;
}
.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
margin-bottom:10px;
}
.alignright {
float:right;
margin:0 0 10px 10px;
}
.alignleft {
float:left;
margin:10px 15px 10px 0;
}
.wp-caption {
text-align:center;
background:#eee;
margin:10px;
padding:4px 0 5px;
}
.wp-caption img {
border:0;
margin:0 0 5px;
padding:0;
}
.wp-caption p.wp-caption-text {
font-size:11px;
font-weight:400;
line-height:12px;
color:#444;
margin:0;
padding:0;
}
.clearfix:after {
content:".";
display:block;
clear:both;
visibility:hidden;
line-height:0;
height:0;
}
.clearfix {
display:inline-block;
}
html[xmlns] .clearfix {
display:block;
}
* html .clearfix {
height:1%;
}
.rounded {
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
.boxshadow {
-moz-box-shadow:0 0 5px #000;
-webkit-box-shadow:0 0 5px #000;
box-shadow:0 0 5px #000;
}
/* FONTS */
/* Head */
#blogname{
margin:20px 0px 0px 0px;
font-face: BYekan;
}
#blogname h1{
font-family: BYekan;
font-size:30px;
}
#blogname h1 a:link,#blogname h1 a:visited{
padding-top:5px;
color:#fff;
text-decoration:none;
}
/* SEARCH FORM */
#search {
padding:0px 0px;
margin:25px 0px 20px 0px;
display:inline-block;
height:30px;
background:#eee;
border:1px solid #fff;
width:100%;
}
#search form {
margin: 0px 0px 0px 0px;
padding: 0;
}
#search fieldset {
margin: 0;
padding: 0;
border: none;
}
#search p {
margin: 0;
font-size: 85%;
}
#s {
background:transparent;
margin:0px 0px 0px 3px;
padding: 5px 5px;
height:20px;
border:none;
font: 11px normal 100% "Tahoma", Arial, Helvetica, sans-serif;
color:#555;
float:left;
display:inline;
}
.subtitle{
color:#eee;
}
/* TOP-MENU */
#botmenu{
margin:0px 0px 0px 0px;
font-size: 12px;
overflow:hidden;
background:url(images/menu.png);
text-transform:uppercase;
font-family: BYekan;
}
#submenu {
margin: 0px 0px;
padding:0px 0px;
height:50px;
}
#submenu ul {
width: 100%;
float: left;
list-style: none;
margin: 0;
padding: 0 0px;
}
#submenu li {
float: right;
list-style: none;
margin: 0;
padding: 0;
color: #999;
text-shadow:1px 1px 0px #111;
}
#submenu li a {
color: #aaa;
display: block;
margin: 0;
padding: 18px 10px 18px 10px;
text-decoration: none;
position: relative;
text-shadow:1px 1px 0px #111;
}
#submenu li a:hover, #submenu li a:active, #submenu .current_page_item a {
color: #fff;
text-shadow:1px 1px 0px #111;
background:url(images/menua.png);
}
#submenu li a.sf-with-ul {
padding-right: 20px;
}
#submenu li li a, #submenu li li a:link, #submenu li li a:visited {
color: #aaa;
font-size:12px;
text-shadow:none;
width: 148px;
font-family: BYekan, Arial, Tahoma, Verdana;
margin: 0;
padding: 0px 10px;
line-height:35px;
border-bottom:1px solid #444444;
border-top:1px solid #2D2623;
border-left:1px solid #2D2623;
border-right:1px solid #444444;
text-transform: none;
position: relative;
background:#2e2e2b;
}
#submenu ul ul li:first-child{
border-top:none;
}
#submenu ul ul li:last-child{
border-bottom:none;
}
#submenu li li:last-child{
border-bottom:none;
}
#submenu li li a:hover, #submenu li li a:active {
background:#343431;
color: #fff;
}
#submenu li ul {
z-index: 9999;
position: absolute;
left: -999em;
height: auto;
width: 170px;
margin: 0px 0px;
padding: 0px;
background:#282828;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
#submenu li ul a {
width: 150px;
}
#submenu li ul a:hover, #submenu li ul a:active {
}
#submenu li ul ul {
margin: -37px 0 0 169px;
}
#submenu li:hover ul ul, #submenu li:hover ul ul ul, #submenu li.sfHover ul ul, #submenu li.sfHover ul ul ul {
left: -999em;
}
#submenu li:hover ul, #submenu li li:hover ul, #submenu li li li:hover ul, #submenu li.sfHover ul, #submenu li li.sfHover ul, #submenu li li li.sfHover ul {
left: auto;
}
#submenu li:hover, #submenu li.sfHover {
position: static;
}
/* Intro */
.intro{
background:url(images/intro.png);
padding:20px 0px;
margin-bottom:30px;
border:1px solid #535151;
text-align:center;
font-family:BYekan;
color:#ccc;
text-align:center;
font-size:16px;
line-height:36px;
padding:30px 30px;
-webkit-box-shadow: inset 0px 0px 5px 0px #222;
-moz-box-shadow: inset 0px 0px 5px 0px #222;
box-shadow: inset 0px 0px 5px 0px #222;
}
/* POSTS */
.post{
margin:0px 0px 30px 0px;
color:#eee;
}
.btitle h2{
font-family: BYekan;
font-size:20px;
padding-top:5px;
}
.btitle h2 a:link, .btitle h2 a:visited{
text-decoration:none;
color:#151515;
text-shadow:0px 1px 0px #696969;
}
.title h2{
font-family: BYekan;
font-size:24px;
padding-top:5px;
}
.title h2 a:link, .title h2 a:visited{
text-decoration:none;
color:#151515;
text-shadow:0px 1px 0px #696969;
}
.postimg{
float:left;
margin:15px 10px 10px 0px;
}
.postmeta{
padding:5px 0px;
font-size:12px;
text-transform:uppercase;
text-shadow:0px 1px 0px #666;
font-weight:bold;
font-family: BYekan;
text-align: center;
}
.author{
color:#000;
padding:2px 20px 2px 5px;
background:url(images/user.png) right center no-repeat;
}
.clock{
color:#000;
padding:2px 20px 2px 5px;
background:url(images/clock.png) right center no-repeat;
}
.singleinfo{
padding:5px 0px;
font-family: BYekan;
}
.categori{
padding:2px 0 2px 25px;
color:#000;
text-shadow:0px 1px 0px #666;
font-weight:bold;
background:url(images/tag.png) left center no-repeat;
font-size:12px;
text-transform:uppercase;
}
.categori a:link,.categori a:visited{
color:#000;
text-shadow:0px 1px 0px #666;
text-decoration:none;
}
.categori a:hover{
color:#fff;
text-shadow:0px 1px 0px #222;
}
.boxentry{
font-face: BYekan;
font-size:12px;
padding:10px 0px;
text-shadow:0px 1px 0px #222;
}
.entry{
font-size:12px;
padding:10px 0px;
}
.entry a:link,
.entry a:visited {
color:#eb1d32;
}
.entry a:hover {
color:#fc2c42;
}
.entry ul, .entry ol{
margin: .4em 0 1em;
line-height: 150%;
}
.entry ul li, .entry ol li{
list-style-position:outside;
margin-left: 1.6em;
}
.entry p{
margin:5px 0px 5px 0px;
padding:5px 0px;
line-height:180%;
}
/* SIDEBAR WIDGETS */
#right {
width: 100%;
float: right;
}
.sidebar {
float: right;
width:100%;
}
.sidetitl {
margin-top:10px;
padding: 0px 0px 0px 0px;
font-weight:bold;
width:100%;
}
.sidetitl h3{
font-family: BYekan;
font-size:18px;
color:#fff;
text-shadow:0px 1px 0px #111;
}
.sidebox {
list-style: none;
color: #ddd;
margin: 0px 0 30px 0px;
}
.sidebox ul {
list-style-type: none;
margin: 0;
padding: 0 0 5px;
font-family: BYekan;
}
.sidebox li {
list-style-type: none;
margin: 0;
padding: 0;
font-family: BYekan;
}
.sidebox ul ul {
list-style-type: none;
background-repeat: no-repeat;
margin: 0;
padding: 0;
}
.sidebox ul li {
height: 100%;
line-height: 18px;
clear: left;
list-style-type: none;
margin: 0;
font-size: 12px;
}
.sidebox ul li a:link,.sidebox ul li a:visited {
color: #ddd;
text-decoration: none;
display: block;
padding: 7px 0px;
}
.sidebox ul li a:hover {
color: #fff;
}
.sidebox.widget_categories ul li,.sidebox.widget_pages ul li,.sidebox.widget_archive ul li,.sidebox.widget_links ul li,.sidebox.widget_meta ul li {
border-bottom: 1px solid #555;
}
.sidebox.widget_recent_entries ul li a {
border-bottom: 1px solid #555;
}
ul#recentcomments li.recentcomments {
border-bottom: 1px solid #555;
padding:7px 0;
}
div#calendar_wrap {
border: 1px solid #333;
margin: 0 auto;
padding: 0;
}
table#wp-calendar {
width: 100%;
border: none;
margin: 0!important;
padding: 0;
}
#wp-calendar caption {
font-size: 12px;
color: #ddd;
font-weight: 400;
padding: 10px 5px 5px;
text-align:center;
}
#wp-calendar th,#wp-calendar td {
text-align: center;
color: #fff;
background:transparent;
padding: 7px 5px;
}
#wp-calendar tr {
margin: 0!important;
}
#wp-calendar td {
color: #aaa;
margin: 0!important;
}
#wp-calendar td a {
border: none;
color: #D1512A;
}
.sidebox ul ul ul,.sidebox ul ul ul ul {
list-style-type: none;
border: 0;
margin: 0;
padding: 0;
}
/* Banners */
.squarebanner {
margin: 0px 0px 10px 0px;
}
.squarebanner ul {
list-style-type: none;
margin: 0px auto;
padding: 0px 0px 0px 0px;
overflow: hidden;
width:100%;
}
.squarebanner ul li {
list-style-type: none;
display: inline;
float:left;
margin-right:10px;
margin-top:10px;
}
.squarebanner ul li img{
}
.squarebanner ul li.rbanner {
}
/* FOOTER WIDGETS */
#bottom{
margin:0px auto;
}
.bottomcover{
margin:0px auto;
background:url(images/bottom.png);
}
h3.bothead{
font-family: BYekan;
font-size:18px;
color:#fff;
text-shadow:0px 1px 0px #111;
}
.botwid{
padding-top:30px;
padding-bottom:30px;
font-size:13px;
color:#aaa;
list-style:none;
}
.botwid ul {
list-style-type: none;
margin: 0px;
padding: 0px 0px 0px 0px ;
}
.botwid li{
list-style-type: none;
margin: 0 ;
padding: 0px 0px;
border-bottom: 1px solid #444;
}
.botwid ul ul {
list-style-type: none;
margin: 0;
padding: 0px 0px 0px 0px;
background-repeat:no-repeat;
}
.botwid ul ul ul{
list-style-type: none;
margin: 0;
padding: 0;
border:0;
}
.botwid ul ul ul ul{
list-style-type: none;
margin: 0;
padding: 0;
border:0;
}
.botwid ul li {
height:100%;
line-height:18px;
clear: left;
list-style-type: none;
}
.botwid ul li a:link, .botwid ul li a:visited {
color: #aaa;
text-decoration: none;
padding: 7px 0px 7px 0px;
display:block;
}
.botwid ul li a:hover{
color: #fff;
}
.botwid p{
padding: 7px 0px;
margin:0;
line-height:150%;
}
.botwid table {
width:100%;
text-align:center;
color:#787d7f;
}
/* --- FOOTER --- */
#footer {
padding:30px 0px;
margin:0px 0px 0px 0px ;
color:#aaa;
font-size:11px;
background:url(images/footer.png);
font-family: BYekan;
}
#footer a:link , #footer a:visited{
color:#aaa;
text-decoration:none;
}
#footer a:hover {
color:#aaa;
}
.fcred{
text-align:center;
margin:0px auto;
line-height:16px;
}
/* COMMENTS */
#commentsbox {
margin: 0px 0px 0px 0px;
font-family: BYekan;
}
h3#comments {
padding: 10px 10px;
font-size: 16px;
margin: 0px 0px 0px 0px;
color: #eee;
background:url(images/menu.png);
font-family: BYekan;
}
ol.commentlist {
clear: both;
overflow: hidden;
list-style: none;
margin: 10px 0px;
}
ol.commentlist li {
line-height: 18px;
background:url(images/menu.png);
margin: 5px 0 20px 0px;
padding: 15px;
border:1px solid #383838;
}
ol.commentlist li .comment-author a:link,ol.commentlist li .comment-author a:visited {
color: #eee;
font-weight: 700;
text-decoration: none!important;
}
cite.fn {
color: #eee;
font-style: normal;
}
ol.commentlist li .comment-author .avatar {
float: right;
border: 1px solid #222;
background: #333;
padding: 3px;
}
ol.commentlist li .comment-meta .commentmetadata {
color: #000;
}
ol.commentlist li .comment-meta a {
color:#eb1d32;
text-decoration: none!important;
}
ol.commentlist li p {
line-height: 22px;
margin-top: 5px;
color: #fff;
font-size: 16px;
}
ol.commentlist li .reply {
margin-top: 12px;
font-size: 10px;
}
ol.commentlist li .reply a {
background: #333;
border: 1px solid #222;
color: #fff;
text-decoration: none;
padding: 3px 10px;
}
ol.commentlist li ul.children {
list-style: none;
text-indent: 0;
margin: 1em 0 0;
}
.comment-nav {
height: 20px;
padding: 5px;
}
.comment-nav a:link,.comment-nav a:visited {
color: #0093AD;
}
#respond {
margin: 10px 0;
padding: 0;
}
#respond h3 {
font-family:BYekan;
font-size:16px;
color:#151515;
text-shadow:0px 1px 0px #696969;
}
#commentform {
padding: 10px 0;
font-family: BYekan;
}
#commentform a {
color: #E1512A;
}
#commentform p {
color: #aaa;
margin: 5px 0;
font-face: BYekan;
}
#respond label {
display: block;
color: #aaa;
padding: 5px 0;
}
#respond input {
background: #333;
border: 1px solid #222;
color: #aaa;
margin: 0 10px 10px 0;
padding: 5px;
}
#commentform input {
width: 50%;
}
#respond input#commentSubmit {
width: 100px;
background: #333;
border: 1px solid #111;
color: #fff;
cursor: pointer;
margin: 10px 0;
padding: 5px 10px;
}
textarea#comment {
background: #333;
border: 1px solid #222;
width: 70%;
color: #aaa;
margin: 10px 0 0;
padding: 5px;
}
ol.commentlist li .comment-author,ol.commentlist li .comment-author .fn {
color: #eee;
}
ol.commentlist li .comment-meta,#respond label small {
font-size: 12px;
}
ol.commentlist li ul.children li.depth-2,ol.commentlist li ul.children li.depth-3,ol.commentlist li ul.children li.depth-4,ol.commentlist li ul.children li.depth-5 {
margin: 0 0 0 50px;
}
/* PAGENAVI */
/* Pagenavi */
#navigation{
padding:10px 0px 20px 0px;
}
.wp-pagenavi{
font-size:12px;
text-align: center !important;
}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited {
text-decoration: none;
background:#555!important;
border: 1px solid #191313 !important;
color:#fff !important;
padding:3px 7px !important;
display: block;
text-align: center;
float: left;
margin-right: 4px;
}
.wp-pagenavi a:hover {
color: #ffffff;
}
.wp-pagenavi span.pages {
display:none;
}
.wp-pagenavi span.current {
text-decoration: none;
background:#333 !important;
border: 1px solid #111!important;
color:#fff !important;
padding:3px 7px !important;
display: block;
text-align: center;
float: left;
margin-right: 4px;
}
.wp-pagenavi span.extend {
text-decoration: none;
background:#333 !important;
border: 1px solid #111 !important;
color:#fff !important;
padding:3px 7px !important;
display: block;
text-align: center;
float: left;
margin-right: 4px;
}