Permalink
Browse files

modified header doctype, and add new style.

  • Loading branch information...
1 parent 67f3ec1 commit 8a9633ba805af43b17dad99f82465e10be361401 @zakirsajib committed May 30, 2012
Showing with 85 additions and 39 deletions.
  1. BIN .DS_Store
  2. +1 −1 category.php
  3. +15 −8 header.php
  4. BIN images/nav-arrow.gif
  5. +2 −2 single.php
  6. +67 −28 style.css
View
Binary file not shown.
View
@@ -96,7 +96,7 @@
$term = get_term( $term_id, 'category' );
$desc = $term->description;
- echo '<p>'.$desc.'</p>'; ?>
+ echo wpautop($desc); ?>
</div>
<!-- Category image-->
View
@@ -1,9 +1,19 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<!--[if IE 6]>
+<html id="ie6" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 7]>
+<html id="ie7" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 8]>
+<html id="ie8" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
+<html <?php language_attributes(); ?>>
+<!--<![endif]-->
<head>
-<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
-<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<meta charset="<?php bloginfo('charset'); ?>" />
+<meta name="viewport" content="width=device-width" />
<?php if (is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
@@ -30,9 +40,6 @@
<?php wp_enqueue_script('widget', get_bloginfo('template_url') .'/js/jquery.ui.widget.min.js','',0,false); ?>
<?php wp_enqueue_script('rcarousel', get_bloginfo('template_url') .'/js/jquery.ui.rcarousel.min.js','',0,false); ?>
<?php wp_enqueue_script('jplaceholder', get_bloginfo('template_url') .'/js/jquery.placeholder.js','',0,false); ?>
-<?//php wp_enqueue_script('selectcalendar', get_bloginfo('template_url') . '/js/selectcal.js', array('jquery'));?>
-
-
<?php wp_head();?>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -28,7 +28,7 @@
// We will use $cur_cat_ in query.
- print_r($cur_cat_);
+ //print_r($cur_cat_);
?>
@@ -51,7 +51,7 @@
<div class="post-descr">
<div>
- <?php the_content();?>
+ <?php echo wpautop(the_content());?>
</div>
</div>
View
@@ -187,60 +187,92 @@ background-image: -webkit-gradient(
------------------*/
-.nv ul{ display:none;margin:0;padding: 14px 0 35px 20px;position:absolute;top:100%;left:0%;width:330px; border: 1px solid #CCC;
- -moz-box-shadow: 3px 3px 5px 6px #ccc;
- -webkit-box-shadow: 3px 3px 5px 6px #ccc;
- box-shadow: 3px 3px 5px 6px #ccc;
- background: #FFF;
+.nv ul{
+
+ display:none;
+ margin:0;
+ padding: 15px 0 15px 15px;
+ position:absolute;
+ top:100%;
+ left:0%;
+ border: 1px solid #CCC;
+
+ background: #FFF;
+
+ width:250px !important;
+}
+
+.nv ul li{
+
+ float:left;
+ background: #FFF;
+ width:38%!important;
+}
+
+.nv ul li a{
+
+ font-size: 13.3px!important;
+ color: #6D6D6D!important;
+ /* text-align: center; */
+
+
+}
+
+.nv ul li a:hover,
+.nv ul li a:active,
+.nv ul li:hover a{
+ color: #99cc66!important;
+ text-decoration: underline;
}
-.nv ul li{ float:left; background: #FFF; }
-.nv ul li a{ font-size: 13.3px!important; color: #6D6D6D!important; text-align: center;}
-.nv ul li a:hover,.nv ul li a:active,.nv ul li:hover a{ color: #99cc66!important; text-decoration: underline;}
+
.nv ul ul{ top:0%;left:100%}
-.nv ul ul li a:hover,.nv ul ul li a:active,.nv ul ul li:hover a{}
.nv li:hover ul ul{ display:none}
.nv li:hover ul,.nv ul li:hover ul{ display:block}
-.sub-menu li a{text-align: left; padding: 3px ; line-height: 2.5em;}
-
+.sub-menu li a{
+ line-height: 1.5em;
+}
+.nv ul li:hover{
+
+ float:left;
+ background: #FFF;
+ width:38%!important;
+
+ /* list-style-image: url(images/nav-arrow.gif) no-repeat 0 0; */
+
+ background: url(images/nav-arrow.gif) no-repeat 0 0!important;
+ background-position: 0 5px!important;
+
+
+}
.sub-menu li.current_page_item a{
color:#003366;
}
.sub-menu li.current_page_item { background: #FFF!important;}
-/*
-.sub-menu li:hover a, .sub-menu li a:hover, .sub-menu li a.hover{
- width: 0px;
-height: 0px;
-border-style: solid;
-border-width: 5px 0 5px 10px;
-border-color: transparent transparent transparent #007bff;
-line-height: 0px;
-_border-color: #000000 #000000 #000000 #007bff;
-_filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
-}
-*/
.sub-menu li{
+/*
display: block;
float: left;
position: relative;
- padding:0!important;
- /* border-right: 0!important; */
- min-width: 150px;
+*/
+ padding:0 0 0 15px!important;
+ border-right: 0!important;
+ /* min-width: 150px; */
}
.sub-menu li:hover{
@@ -254,8 +286,15 @@ _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
}
-.sub-menu li:nth-child(2n+1) {border-right: 1px solid #CCC!important; height:100%;}
-.sub-menu li:nth-child(2n+2) {border-right: 0!important; padding-left: 20px!important; }
+.sub-menu li:nth-child(2n+1) {border-right: 1px solid #CCC!important; height:100%; margin-right: 20px!important;}
+.sub-menu li:nth-child(2n+2) {border-right: 0!important; padding-left: 15px!important; }
+
+.sub-menu li:nth-child(even){float:right;}
+
+
+
+
+

0 comments on commit 8a9633b

Please sign in to comment.