Skip to content

Commit

Permalink
fixed a bunch of css, navigation and functions. added functions and
Browse files Browse the repository at this point in the history
fonts
  • Loading branch information
lightyoruichi committed Mar 22, 2012
1 parent 01a4a40 commit 2ac47e8
Show file tree
Hide file tree
Showing 741 changed files with 3,477 additions and 49 deletions.
23 changes: 5 additions & 18 deletions about-template.php
Expand Up @@ -6,7 +6,7 @@
?>
<div style="width:100%">
<iframe width="100%" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=213021633772625182800.00046c9bd07d5d81e3e89&amp;ll=2.129039,103.387352&amp;spn=0.604658,0.621765&amp;t=m&amp;output=embed"></iframe>
<br /><small><a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=213021633772625182800.00046c9bd07d5d81e3e89&amp;ll=2.129039,103.387352&amp;spn=0.604658,0.621765&amp;t=m&amp;source=embed" style="color:#0000FF;text-align:left">View a larger map</a></small>
<br />
</div>

<?php if ( get_option('postsidebar') == '' ) $postsidebar = 'no'; else $postsidebar = get_option('postsidebar'); ?>
Expand All @@ -26,20 +26,7 @@
<?php endif; ?>
<?php if ( get_option('postmeta') == '' ) $postmeta = 'yes'; else $postmeta = get_option('postmeta'); ?>
<?php if ( $postmeta == 'yes' ): ?>
<div class="post-meta">
<span class="author"><?php echo __('posted by ','duotive'); ?><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo get_the_author(); ?>"><?php echo get_the_author(); ?></a>, </span>
<span class="date"><?php the_time('jS'); echo ' '; the_time('F'); echo ' '; the_time('Y');?>, </span>
<?php if ( count( get_the_category() ) ) : ?>
<span class="categories-link"><?php echo __('Categories:','duotive').' <span class="title">'.get_the_category_list( ', ' ).'</span>'; ?></span>
<?php endif; ?>
<?php $tags_list = get_the_tag_list( '', ', ' ); ?>
<?php if ( $tags_list ): ?>
<span class="tag-links">
<?php echo __('Tags:','duotive').' <span class="title">'.$tags_list.'</span>'; ?>
</span>
<?php endif; ?>
<!-- end of post meta -->
</div>

<?php endif; ?>
<?php if ( get_option('posttopimage') == '' ) $posttopimage = 'yes'; else $posttopimage = get_option('posttopimage'); ?>
<?php if ( $posttopimage == 'yes' ): ?>
Expand All @@ -66,6 +53,8 @@
<?php endif; ?>
<?php endif; ?>
<div class="entry-content">
<a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=213021633772625182800.00046c9bd07d5d81e3e89&amp;ll=2.129039,103.387352&amp;spn=0.604658,0.621765&amp;t=m&amp;source=embed" style="text-align:center">View a larger map</a>
<br>&nbsp;
<?php the_content('Read More'); ?>
<?php wp_link_pages( array( 'before' => '<span class="page-link">' . 'Pages:', 'after' => '</span>' ) ); ?>
<!--end of entry content -->
Expand Down Expand Up @@ -158,11 +147,9 @@
}
}
?>
<?php wp_reset_query(); ?>
<?php wp_reset_query(); ?>
<?php if ( get_option('sharing') == '' ) $sharing = 'yes'; else $sharing = get_option('sharing'); ?>
<?php if ( get_option('comments') == '' ) $comments = 'yes'; else $comments = get_option('comments'); ?>
<?php if ( $sharing == 'yes') require_once('includes/sharing.php'); ?>
<?php if ( $comments == 'yes') comments_template( '', true ); ?>
<?php endwhile; ?>
<!-- end of content -->
</div>
Expand Down
56 changes: 56 additions & 0 deletions css/main-theme-light.css
@@ -0,0 +1,56 @@
#mainmenu ul {
background:url(../images/main-theme-light/main-menu-bg.png) repeat-x;
list-style: none;
}
#mainmenu ul > li, #mainmenu li.home-icon:hover {
background:url(../images/main-theme-light/main-menu-sep.png) no-repeat right top;
}
#mainmenu ul > li:hover {
background:url(../images/main-theme-light/main-menu-sep.png) no-repeat right bottom;
}
#mainmenu ul > li.prev-to-hover {
border-right:1px solid #cccccc;
}
#mainmenu ul > li a:link, #mainmenu ul > li a:visited {
text-shadow:1px 1px 0px #FFF;
}

#mainmenu ul > li a:hover,
#mainmenu ul > li a:active {
background:url(../images/main-theme-light/main-menu-hover.png) repeat-x;
color:#4c4c4c !important;
}
#mainmenu ul > li.sfHover a:link,
#mainmenu ul > li.sfHover a:visited {
background:url(../images/main-theme-light/main-menu-hover.png) repeat-x;
}
#mainmenu ul > li.current-menu-item a:link,
#mainmenu ul > li.current-menu-item a:visited {
color:#4c4c4c !important;
}
#mainmenu li.home-icon a {
background:url(../images/main-theme-light/home-icon.png) no-repeat left top !important;
}
#mainmenu li.home-icon:hover a, #mainmenu li.home-active a {
background:url(../images/main-theme-light/home-icon.png) no-repeat left bottom !important;
}
#mainmenu .highlight {
background:url(../images/main-theme-light/main-menu-highlight.png) repeat bottom;
}
#mainmenu ul.sub-menu {
border-top:1px solid #fff;
border-bottom:2px solid #ccc;
border-left:1px solid #fff;
background:#FFF url(../images/main-theme-light/submenu-bg.png) repeat;
}
#mainmenu ul.sub-menu li {
border-bottom:1px solid #ebebeb;
}
#mainmenu ul.sub-menu a:link, #mainmenu ul.sub-menu a:visited {
border-top:1px solid #FFF;
color:#808080 !important;
}
#mainmenu li.current-menu-item ul.sub-menu a:link,
#mainmenu li.current-menu-item ul.sub-menu a:visited {
color:#808080 !important;
}
Binary file added fonts/custom/AftaSansThin-Regular-webfont.eot
Binary file not shown.

0 comments on commit 2ac47e8

Please sign in to comment.