[guadec-web] Styling tweaks to the front and internal pages.
- From: Fabiana Pedreira Simões <fabianaps src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Styling tweaks to the front and internal pages.
- Date: Tue, 30 Apr 2013 13:29:51 +0000 (UTC)
commit 3a0002f92bda4259413f6a872b2752e862a8729d
Author: Fabiana Simões <fabianapsimoes gmail com>
Date: Tue Apr 30 10:16:48 2013 -0300
Styling tweaks to the front and internal pages.
wordcamp-base/lib/utils/twentyten-overrides.php | 8 ++-
wordcamp-base/loop-single.php | 2 +-
wordcamp-base/loop.php | 1 +
wordcamp-base/single.php | 5 --
wordcamp-base/style.css | 26 ++++++-
wordcamp-base/style.css~ | 87 +++++++++++++++++++----
6 files changed, 103 insertions(+), 26 deletions(-)
---
diff --git a/wordcamp-base/lib/utils/twentyten-overrides.php b/wordcamp-base/lib/utils/twentyten-overrides.php
index f9934f5..3fe2e14 100644
--- a/wordcamp-base/lib/utils/twentyten-overrides.php
+++ b/wordcamp-base/lib/utils/twentyten-overrides.php
@@ -15,7 +15,7 @@ function twentyten_posted_on() {
)
);
- $meta['sep'] = ' <span class="meta-sep meta-sep-bull">•</span> ';
+ $meta['sep'] = ' <span class="meta-sep meta-sep-bull">•</span> ';
$meta['comments'] = array(
'before' => '<span class="comments-link">',
'after' => '</span>',
@@ -32,7 +32,7 @@ function twentyten_posted_on() {
$meta['br'] = '<br />'; // Just to have.
- $meta['order'] = array( 'author', 'sep', 'comments', 'edit' );
+ $meta['order'] = array( 'author', 'edit' );
$meta = apply_filters( 'wcb_entry_meta', $meta );
@@ -52,10 +52,12 @@ function twentyten_posted_on() {
$content['before'] = $meta['sep'] . $content['before'];
edit_post_link( $content['title'], $content['before'], $content['after'] );
break;
+ case 'category':
+ break;
default:
echo $content;
}
}
}
-?>
\ No newline at end of file
+?>
diff --git a/wordcamp-base/loop-single.php b/wordcamp-base/loop-single.php
index 4fdc38c..b8841ae 100644
--- a/wordcamp-base/loop-single.php
+++ b/wordcamp-base/loop-single.php
@@ -64,4 +64,4 @@
<?php comments_template( '', true ); ?>
-<?php endwhile; // end of the loop. ?>
\ No newline at end of file
+<?php endwhile; // end of the loop. ?>
diff --git a/wordcamp-base/loop.php b/wordcamp-base/loop.php
index 91e973a..f7b06bc 100644
--- a/wordcamp-base/loop.php
+++ b/wordcamp-base/loop.php
@@ -122,6 +122,7 @@
<?php /* How to display all other posts. */ ?>
<?php else : ?>
+
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf(
esc_attr__( 'Permalink to %s', 'wordcampbase' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php
the_title(); ?></a></h2>
diff --git a/wordcamp-base/single.php b/wordcamp-base/single.php
index 769f2d2..865c3e5 100644
--- a/wordcamp-base/single.php
+++ b/wordcamp-base/single.php
@@ -14,11 +14,6 @@ get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="nav-above" class="navigation">
- <div class="nav-previous"><?php previous_post_link( '%link', '<span
class="meta-nav">' . _x( '←', 'Previous post link', 'wordcampbase' ) . '</span> %title' ); ?></div>
- <div class="nav-next"><?php next_post_link( '%link', '%title <span
class="meta-nav">' . _x( '→', 'Next post link', 'wordcampbase' ) . '</span>' ); ?></div>
- </div><!-- #nav-above -->
-
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?></h1>
diff --git a/wordcamp-base/style.css b/wordcamp-base/style.css
index 4cae7eb..463e0dd 100644
--- a/wordcamp-base/style.css
+++ b/wordcamp-base/style.css
@@ -525,7 +525,7 @@ div.menu li {
background: #f2f7fc;
}
.hentry {
- margin: 0 0 48px 0;
+ margin: 0;
}
.home .sticky {
background: #f2f7fc;
@@ -1364,6 +1364,19 @@ code {
/* Custom stuff */
+.entry-title a {
+ color: #6b8e9f !important;
+}
+
+.entry-content {
+ margin-bottom: 0 !important;
+}
+
+#content .entry-title {
+ color: #6b8e9f !important;
+ padding-top: 10px;
+}
+
.event-logo {
width: 230px;
display: table-cell;
@@ -1379,7 +1392,7 @@ code {
.menu-item {
display: table-cell;
- padding-right: 0.25em;
+ padding-right: 1em;
padding-top: 40px;
padding-bottom: 20px;
font-size: large;
@@ -1389,6 +1402,11 @@ code {
.menu-item:before {
content: "• ";
+ padding-right: .5em;
+}
+
+#header li {
+ padding-left: .5em;
}
.menu-item a:link,
@@ -1481,3 +1499,7 @@ body {
#after-header-container {
display: none;
}
+
+h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access div.menu ul, #access
a.button, h3#comments-title, h3#reply-title, .entry-title, .entry-meta, .entry-utility, .widget-title,
.callout {
+ font-family: sans-serif !important;
+}
diff --git a/wordcamp-base/style.css~ b/wordcamp-base/style.css~
index bbae483..79ba796 100644
--- a/wordcamp-base/style.css~
+++ b/wordcamp-base/style.css~
@@ -525,7 +525,7 @@ div.menu li {
background: #f2f7fc;
}
.hentry {
- margin: 0 0 48px 0;
+ margin: 0;
}
.home .sticky {
background: #f2f7fc;
@@ -1364,38 +1364,71 @@ code {
/* Custom stuff */
-#header {
- height: 100px !important;
+.entry-title a {
+ color: #6b8e9f !important;
+}
+
+.entry-content {
+ margin-bottom: 0 !important;
+}
+
+#content .entry-title {
+ color: #6b8e9f !important;
+ padding-top: 10px;
}
.event-logo {
- width: 244px;
- display: block;
+ width: 230px;
+ display: table-cell;
background: url("images/logo.png") no-repeat center center;
height: 65px;
}
-.event-location,
-.event-date {
- padding-top: 38px;
+.event-logo-link {
+ display: block;
+ height: 100%;
+ width: 100%;
+}
+
+.menu-item {
+ display: table-cell;
+ padding-right: 1em;
+ padding-top: 40px;
+ padding-bottom: 20px;
font-size: large;
color: #6b8e9f;
- text-shadow: 0 1px #fff;
+ vertical-align: middle;
}
-.event-location {
- text-align: right;
+.menu-item:before {
+ content: "• ";
+ padding-right: .5em;
+}
+
+#header li {
+ padding-left: .5em;
}
+.menu-item a:link,
+.menu-item a:visited {
+ color: #6b8e9f;
+}
+
+.event-location,
.event-date {
- text-align: left;
+ display: inline;
+ font-size: small;
+ color: #6b8e9f;
+ margin-right: 10px;
+ float: right;
}
.branding-buildings {
- height: 177px;
+ height: 177px;
widht: 940px;
background: url("images/buildings.png");
- margin-top: 30px;
+ margin-top: 10px;
+ margin-bottom: 10px;
}
ul {
@@ -1429,7 +1462,6 @@ body, input, textarea, .page-title span, .pingback a.url, h3#comments-title, h3#
#footer-wrapper {
background: #6b8e9f;
- color: red;
}
#colophon {
@@ -1437,6 +1469,14 @@ body, input, textarea, .page-title span, .pingback a.url, h3#comments-title, h3#
color: #fff;
}
+#colophon a {
+ color: #fff;
+}
+
+#content-row {
+ padding-top: 0 !important;
+}
+
#content-row,
#after-header, #before-content, #after-content,
.entry-content, .entry-summary {
@@ -1446,3 +1486,20 @@ body, input, textarea, .page-title span, .pingback a.url, h3#comments-title, h3#
body {
background: #f5f5f4 !important;
}
+
+#content h3 {
+ color: #6b8e9f !important;
+ margin-bottom: 24px;
+}
+
+#content p {
+ text-align: justify;
+}
+
+#after-header-container {
+ display: none;
+}
+
+h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access div.menu ul, #access
a.button, h3#comments-title, h3#reply-title, .entry-title, .entry-meta, .entry-utility, .widget-title,
.callout {
+ font-family: sans-serif;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]