From 4dc13a551a32a08ef2ea38246972df988bdeb2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9e=20Hansson?= Date: Tue, 13 Dec 2011 20:01:44 +0100 Subject: [PATCH 1/2] Initial styling of the general blog layout, still a bit (read: lots) to do --- base/css/blog.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 base/css/blog.css diff --git a/base/css/blog.css b/base/css/blog.css new file mode 100644 index 00000000..cdd14603 --- /dev/null +++ b/base/css/blog.css @@ -0,0 +1,36 @@ +/* Blog-specific code, perhaps more from style.css should be moved into this file */ + + h1.title, h1.entry-title, h2.title, h2.entry-title +{ + font-size: 22px; } + + h1.title a, h1.entry-title a, h2.title a, h2.entry-title a +{ + text-decoration: none; } + + .comments-link-top a +{ + font-size: 12px; + float: right; } + + .entry-meta +{ + color: #999; + font-size: 12px; + margin: 20px 0; } + + .post +{ + padding-bottom: 20px; } + + a.inset-link +{ + font-weight: bold; + text-align: center; + background: #999; + text-shadow: 0 1px 0 rgba(0,0,0,0.3); + box-shadow: inset 1px 1px 1px #666; + color: #FFF; + border-radius: 3px; + padding: 6px 8px; + display: inline-block; } \ No newline at end of file From ef39ff7524086693ade5ecb955e8d0f45a9a04fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9e=20Hansson?= Date: Tue, 13 Dec 2011 20:03:29 +0100 Subject: [PATCH 2/2] Forgot to add the modified files... --- base/css/blog.css | 26 ++++-- base/css/style.css | 12 +-- themes/jquery/content.php | 168 +++++++++++++++++++------------------- themes/jquery/header.php | 1 + themes/jquery/single.php | 60 +++++++------- 5 files changed, 141 insertions(+), 126 deletions(-) diff --git a/base/css/blog.css b/base/css/blog.css index cdd14603..5ff2e47d 100644 --- a/base/css/blog.css +++ b/base/css/blog.css @@ -25,12 +25,26 @@ a.inset-link { - font-weight: bold; - text-align: center; background: #999; - text-shadow: 0 1px 0 rgba(0,0,0,0.3); + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: inset 1px 1px 1px #666; + -moz-box-shadow: inset 1px 1px 1px #666; box-shadow: inset 1px 1px 1px #666; color: #FFF; - border-radius: 3px; - padding: 6px 8px; - display: inline-block; } \ No newline at end of file + display: inline-block; + font-weight: bold; + text-align: center; + text-decoration: none; + text-shadow: 0 1px 0 rgba(0,0,0,0.3); + padding: 6px 8px; } + + #sidebar ul +{ + list-style: none; } + + #sidebar li +{ + padding: 0; + margin: 0; } diff --git a/base/css/style.css b/base/css/style.css index bdff1913..f655fda9 100644 --- a/base/css/style.css +++ b/base/css/style.css @@ -236,18 +236,18 @@ /*******************************************************************************/ h1.title, h1.entry-title, h2.title, h2.entry-title -{ background: #f7b535; - width: 100%; +{ width: 100%; text-shadow: 0 1px 1px #fff; margin: 0 0 20px -30px; padding: 10px 30px 10px 30px; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.25); - -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.25); - box-shadow: 0 1px 0 rgba(0,0,0,0.25); + border-top: 1px solid #DDD; + -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.35); + -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.35); + box-shadow: 0 1px 3px rgba(0,0,0,0.35); background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#d5d5d5)); background: -moz-linear-gradient(top, #e5e5e5, #d5d5d5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#d5d5d5'); } - + /*******************************************************************************/ /* Buttons */ /*******************************************************************************/ diff --git a/themes/jquery/content.php b/themes/jquery/content.php index bc05a838..a18e597b 100755 --- a/themes/jquery/content.php +++ b/themes/jquery/content.php @@ -1,82 +1,86 @@ - - -
> -
- -
-

-

-
- -

- - - - - - - - - -
- - -
- -
- -
- →', 'twentyeleven' ) ); ?> - '' ) ); ?> -
- - -
- - - - - Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); - $show_sep = true; ?> - - - - | - - - Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); - $show_sep = true; ?> - - - - - - - | - - ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> - - - ', '' ); ?> -
-
+ + +
> +
+ +
+

+

+
+ +

+ + + +

+ + + + + + + +
+ + +
+ +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/themes/jquery/header.php b/themes/jquery/header.php index 236305a3..b0c591b8 100755 --- a/themes/jquery/header.php +++ b/themes/jquery/header.php @@ -50,6 +50,7 @@ + diff --git a/themes/jquery/single.php b/themes/jquery/single.php index 502346e8..335229d1 100755 --- a/themes/jquery/single.php +++ b/themes/jquery/single.php @@ -1,32 +1,28 @@ - - -
-
- - - - - - - - - - - -
-
- - \ No newline at end of file + + +
+
+ + + + + +
+ + + + + +
+
+ +