Permalink
Browse files

Added forum and download pages. Design tweaks

  • Loading branch information...
1 parent 5e2974d commit f1cca54bb79e5224a1b2326ce21c2feb24ac7e90 Miguel Bermudez committed Jan 26, 2012
@@ -26,7 +26,7 @@ body.page-template-about-php {
}
#people {
- border-bottom: 1px solid @lightGray;
+ //border-bottom: 1px solid @lightGray;
display: block;
float: left;
position: relative;
@@ -21,6 +21,15 @@ body.page-template-learning-php {
margin-right: 20px;
height: 261px;
width: 464px;
+ a {
+ display: block;
+ margin: 0 auto;
+ height: 240px;
+ width: 320px;
+ img {
+ width: 100%;
+ }
+ }
}
#right {
float: left;
@@ -29,7 +38,6 @@ body.page-template-learning-php {
#font > .extrabold(18px, 22px);
color: @black;
margin-bottom: 0;
- text-transform: capitalize;
.transition(all 0.2s ease-out);
&:hover {
@@ -64,6 +64,7 @@
background: url('./images/pocode_sprites.png') -258px -278px;
float: left;
height: 20px;
+ margin-left: 10px;
margin-right: 10px;
margin-top: 3px;
width: 20px;
@@ -26,30 +26,30 @@ body {
z-index: 1;
#titlebox {
.clearfix();
- bottom:0;
- left: 0;
+ bottom: 64px;
+ right: 16px;
position: absolute;
- width: 100%;
+ width: 286px;
z-index: 10;
.credit {
- #font > .medium(22px, 20px);
+ #font > .medium(13px, 20px);
//.clearfix();
- background: @magenta;
+ background: @black;
color: @white;
clear: both;
float: left;
- height: 30px;
+ height: 16px;
+ letter-spacing: 1px;
margin: 0;
- padding: 10px 10px 1px 10px;
+ padding: 2px 10px 2px 10px;
text-transform: uppercase;
}
.title {
#font > .book(28px, 35px);
- background: @black;
+ background: @magenta;
color: @white;
clear: both;
float: left;
- height: 35px;
letter-spacing: 2px;
margin: 5px 0 5px 0;
padding: 2px 10px 1px 10px;
@@ -92,17 +92,25 @@ body {
.makeColumn(1);
h1 { display: inline; }
p {
+ display: inline-block;
padding-top: 40px;
margin-bottom: 14px;
}
}
-#download {
+#download_section {
#font > .bold(16px, @baseline*1.25);
color: @magenta;
margin: 0;
padding: 0 !important;
text-transform: uppercase;
+ .transition(all 0.2s ease-out);
+ &:hover { background-color: @lightblue; }
+ a {
+ .transition(all 0.2s ease-out);
+ padding: 10px;
+ &:hover { color: @white; }
+ }
}
#start {
@@ -175,12 +183,23 @@ a.feature-title {
}
footer {
+ hr.porule {
+ background: @lightblue;
+ margin-top: 4em;
+ }
a {
&:hover {
background-color: @lightblue;
+ color: @white;
padding: 2px;
}
}
+ p {
+ font-size: 18px;
+ font-variant: small-caps;
+ letter-spacing: 2px;
+ margin-top: 1em;
+ }
}
@@ -194,7 +213,7 @@ a {
line-height: inherit;
font-weight: inherit;
&:hover {
- color: @white;
+ //color: @white;
text-decoration: none;
}
}
@@ -30,4 +30,5 @@
@import "gallery.less";
@import "about.less";
@import "reference.less";
-@import "search.less";
+@import "search.less";
+@import "download.less";
@@ -1,9 +1,9 @@
</div><!-- END MAIN -->
+
<footer id="footer" role="contentinfo">
- <p>
- <a href="http://wordpress.org/" rel="generator">Proudly powered by WordPress</a>
- </p>
- </div><!--end footer-->
+ <hr class="porule" />
+ <p>proudly powered by pocode like people who like pocode</p>
+ </footer><!--end footer-->
</div><!--end container-->
<?php wp_footer(); ?>
</body>
@@ -14,7 +14,7 @@
<div id="titlebox">
<p class="credit"> <?php echo strtolower(get('feature_credit'));?></p>
<p class="title"> <?php echo strtolower(get('feature_title'));?></p>
- <p class="descr"> <?php echo strip_tags(get('feature_excerpt'));?></p>
+ <!-- <p class="descr"> <?php echo strip_tags(get('feature_excerpt'));?></p> -->
</div> <!-- #titlebox -->
</div> <!-- #slides -->
@@ -26,14 +26,14 @@
<section class="columns">
<?php echo get('copy'); ?>
</section>
- <hr class="porule" />
+
</div>
<div id="sidebar">
<section id="start">
<h1 class="blackbox">start coding now</h1>
<?php echo get('start_coding_now_copy'); ?>
- <p id="download" class="bigbold"><span class="bigarrow ir">&rarr;</span>download</p>
+ <p id="download_section" class="bigbold"><a href="/web/pocode/wordpress/download/"><span class="bigarrow ir">&rarr;</span>download</a></p>
<hr class="porule" />
</section>
<section id="feature-tutorial">
@@ -24,7 +24,8 @@
//'posts_per_page'=> 3
)
);
- if ( $tutorialQuery->have_posts() ) : while ( $tutorialQuery->have_posts() ) : $tutorialQuery->the_post();
+ if ( $tutorialQuery->have_posts() ) :
+ while ( $tutorialQuery->have_posts() ) : $tutorialQuery->the_post();
global $more; $more = 0; //enable more tag for 'the_content()'
$permalink = get_permalink();

0 comments on commit f1cca54

Please sign in to comment.