Skip to content

Commit f976a93

Browse files
author
SamGondelman
committed
lotsa styling, playing around with sidebar colors, some stuff is still a little wacky
1 parent 2f7b4b9 commit f976a93

File tree

81 files changed

+339
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+339
-48
lines changed

wp-content/themes/aasgw/content-single.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
<div class="entry-meta">
1212
<?php aasgw_posted_on(); ?>
13+
<?php
14+
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) {
15+
echo '<span class="comments-link">';
16+
comments_popup_link( __( 'Leave a comment', 'my-simone' ), __( '1 Comment', 'my-simone' ), __( '% Comments', 'my-simone' ) );
17+
echo '</span>';
18+
}
19+
?>
1320
</div><!-- .entry-meta -->
1421
</header><!-- .entry-header -->
1522

wp-content/themes/aasgw/functions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ function aasgw_scripts() {
118118
wp_enqueue_style('aasgw-content-sidebar',get_template_directory_uri() . "/layouts/content-sidebar.css");
119119

120120
wp_enqueue_style('aasgw-fonts','http://fonts.googleapis.com/css?family=Droid+Sans|Arimo|Ubuntu|Muli|Gentium+Book+Basic|Lato|Arvo|Vollkorn|Neuton|Raleway:100,200,300,400,500,600,700,800,900');
121+
122+
wp_enqueue_style( 'aasgw-fonts2', 'http://fonts.googleapis.com/css?family=Lato:100,300,400,400italic,700,900,900italic|PT+Serif:400,700,400italic,700italic' );
121123

122124
wp_enqueue_style('aasgw-font-awesome', 'http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
123125

wp-content/themes/aasgw/inc/template-tags.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ function aasgw_posted_on() {
7979
);
8080

8181
$posted_on = sprintf(
82-
_x( 'Posted on %s', 'post date', 'aasgw' ),
82+
_x( '%s', 'post date', 'aasgw' ),
8383
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
8484
);
8585

8686
$byline = sprintf(
87-
_x( 'by %s', 'post author', 'aasgw' ),
87+
_x( '%s', 'post author', 'aasgw' ),
8888
'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
8989
);
9090

91-
echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>';
91+
echo '</span><span class="byline"> Written by ' . $byline . '<span class="posted-on">' . $posted_on . '</span>';
9292

9393
}
9494
endif;

wp-content/themes/aasgw/layouts/content-sidebar.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ Layout: Content-Sidebar
77
.site-main {
88

99
}
10+
11+
.site-content {
12+
padding-bottom: 4em;
13+
background: #b2b2b2;
14+
}
15+
16+
.single .site-content,
17+
.page .site-content {
18+
background: #fff;
19+
background: hsl(0, 0%, 100%);
20+
}
21+
1022
.site-content .widget-area {
1123
width: 300px;
1224
float: right;
@@ -21,7 +33,6 @@ Layout: Content-Sidebar
2133

2234
.entry-header,
2335
.entry-content,
24-
.entry-meta,
2536
.entry-footer,
2637
.tag-links,
2738
.post-navigation,

0 commit comments

Comments
 (0)