[guadec-web] GUADEC 2014: Initial commit for GUADEC theme - Twenty Twelve child
- From: Fabiana Pedreira Simões <fabianaps src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] GUADEC 2014: Initial commit for GUADEC theme - Twenty Twelve child
- Date: Mon, 10 Feb 2014 18:13:00 +0000 (UTC)
commit ee2e095ee2e1657fb5f2dc544bba6e307e02f040
Author: Fabiana Simões <fabiana tennant local>
Date: Mon Feb 10 19:12:46 2014 +0100
GUADEC 2014: Initial commit for GUADEC theme - Twenty Twelve child
guadec/footer.php | 27 +++++++
guadec/header.php | 54 ++++++++++++++
guadec/images/logo.png | Bin 0 -> 11466 bytes
guadec/images/skyline.png | Bin 0 -> 3221 bytes
guadec/style.css | 177 +++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 258 insertions(+), 0 deletions(-)
---
diff --git a/guadec/footer.php b/guadec/footer.php
new file mode 100755
index 0000000..fc2a4de
--- /dev/null
+++ b/guadec/footer.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * The template for displaying the footer
+ *
+ * Contains footer content and the closing of the #main and #page div elements.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twelve
+ * @since Twenty Twelve 1.0
+ */
+?>
+ </div><!-- #main .wrapper -->
+</div><!-- #page -->
+
+
+<div class="footer-image"></div>
+<footer id="colophon" role="contentinfo">
+ <div class="site-info">
+ <?php do_action( 'twentytwelve_credits' ); ?>
+ <a href="<?php echo esc_url( __( 'http://gnome.org/', 'guadec' ) ); ?>" title="<?php
esc_attr_e( 'The GNOME Project', 'gnome' ); ?>" class="gnome-credit"><?php _e( 'A GNOME Conference' ); ?></a>
+ <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>"
title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"
class="wp-credit"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
+ </div><!-- .site-info -->
+</footer><!-- #colophon -->
+
+<?php wp_footer(); ?>
+</body>
+</html>
diff --git a/guadec/header.php b/guadec/header.php
new file mode 100755
index 0000000..6e9d94f
--- /dev/null
+++ b/guadec/header.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * The Header template for our theme
+ *
+ * Displays all of the <head> section and everything up till <div id="main">
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twelve
+ * @since Twenty Twelve 1.0
+ */
+?><!DOCTYPE html>
+<!--[if IE 7]>
+<html class="ie ie7" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 8]>
+<html class="ie ie8" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if !(IE 7) | !(IE 8) ]><!-->
+<html <?php language_attributes(); ?>>
+<!--<![endif]-->
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta name="viewport" content="width=device-width" />
+<title><?php wp_title( '|', true, 'right' ); ?></title>
+<link rel="profile" href="http://gmpg.org/xfn/11" />
+<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
+<?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
+<!--[if lt IE 9]>
+<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
+<![endif]-->
+<?php wp_head(); ?>
+</head>
+
+<body <?php body_class(); ?>>
+<div id="page" class="hfeed site">
+ <header id="masthead" class="site-header" role="banner">
+ <hgroup>
+ <h2><?php _e( 'Strasbourg, FR', 'guadec' ); ?> </h2>
+ <h1 class="guadec-logo"></h1>
+ <h2><?php _e( 'July 26 - August 1' ); ?></h2>
+ </hgroup>
+
+ <nav id="site-navigation" class="main-navigation" role="navigation">
+ <h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
+ <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content',
'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' )
); ?>
+ </nav><!-- #site-navigation -->
+
+ <?php if ( get_header_image() ) : ?>
+ <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>"
class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo
get_custom_header()->height; ?>" alt="" /></a>
+ <?php endif; ?>
+ </header><!-- #masthead -->
+
+ <div id="main" class="wrapper">
diff --git a/guadec/images/logo.png b/guadec/images/logo.png
new file mode 100644
index 0000000..919f79e
Binary files /dev/null and b/guadec/images/logo.png differ
diff --git a/guadec/images/skyline.png b/guadec/images/skyline.png
new file mode 100644
index 0000000..4654dde
Binary files /dev/null and b/guadec/images/skyline.png differ
diff --git a/guadec/style.css b/guadec/style.css
new file mode 100755
index 0000000..1a54625
--- /dev/null
+++ b/guadec/style.css
@@ -0,0 +1,177 @@
+/*
+ Theme Name: GUADEC
+ Description: Theme for GUADEC, the GNOME conference. Twenty Twelve Child
+ Author: Fabiana Simões and Andreas Nilsson
+ Template: twentytwelve
+ Version: 1.0.0
+ Text Domain: guadec
+*/
+
+ import url("../twentytwelve/style.css");
+/*
+ * Background
+ */
+
+html, body, .site {
+ background-color: #F5F5F4;
+}
+body .site {
+ box-shadow: none;
+}
+
+/*
+ * Links, Text and Headings
+ * GUADEC Blue: #6E8B9F
+ */
+
+h1, h2, h3, h4, h5, h6 {
+ color: #6E8B9F;
+}
+
+.photo-attribution {
+ font-style: italic;
+ font-size: 0.928571rem;
+}
+
+/*
+ * Header
+ */
+
+.site-header {
+ padding-top: 1.71429rem 0;
+}
+#masthead hgroup {
+ margin: 0 auto;
+ width: 500px;
+}
+.guadec-logo {
+ background: url("images/logo.png") no-repeat scroll center center rgba(0, 0, 0, 0);
+ width: 245px;
+}
+#masthead hgroup h2 {
+ color: #6B8E9F;
+ margin-top: 10px;
+ padding: 0 10px;
+ vertical-align: middle;
+}
+#masthead hgroup h2, .guadec-logo {
+ display: inline-block;
+ height: 66px;
+}
+ media only screen and (max-width : 480px) {
+ #masthead hgroup, #masthead hgroup h2 {
+ width: 245px;
+ }
+ #masthead hgroup h2, .guadec-logo {
+ display: block;
+ }
+ #masthead hgroup h2 {
+ height: 30px;
+ padding: 0;
+ }
+ .guadec-logo {
+ width: 245px;
+ margin-top: 10px
+ }
+}
+ media only screen and (min-width: 481px) and (max-width: 600px) {
+ #masthead hgroup h2 {
+ margin-top: -20px;
+ }
+ .main-navigation {
+ margin-top: 0;
+ }
+}
+ media only screen and (min-width: 481px) and (max-width: 800px) {
+ .site-header {
+ padding-bottom: 0;
+ padding-top: 5rem;
+ }
+}
+
+
+/*
+ * Navigation
+ */
+
+.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation
.current_page_item > a, .main-navigation .current_page_ancestor > a, .main-navigation li a:hover {
+ color: #6B8E9F;
+}
+.main-navigation li a:hover {
+ text-decoration: underline;
+}
+
+/*
+ * Front Page
+ */
+
+.city-picture {
+ width: 50%;
+}
+ media only screen and (max-width: 800px) {
+ .city-picture {
+ width: 100%;
+ }
+}
+ media only screen and (min-width: 481px) and (max-width: 800px) {
+ .template-front-page .entry-page-image {
+ float: none;
+ padding-bottom: 40px;
+ text-align: center;
+ width: 100%;
+ }
+ .template-front-page.has-post-thumbnail article {
+ float: none;
+ width: 100%;
+ }
+}
+
+/*
+ * Footer
+ */
+
+.footer-image {
+ background: url("images/skyline.png") no-repeat scroll center center rgba(0, 0, 0, 0);
+ height: 150px;
+}
+footer#colophon {
+ background-color: #6B8E9F;
+ border-top: 0 none;
+ margin-top: 0;
+ max-width: 100%;
+}
+.site-info {
+ color: #FFFFFF;
+ margin: 0 auto;
+ max-width: 68.5714rem;
+}
+footer[role="contentinfo"] a {
+ color: #FFFFFF;
+ text-decoration: none;
+}
+footer[role="contentinfo"] a:hover {
+ border-bottom: 1px solid #EEEEEE;
+ color: #EEEEEE;
+ text-decoration: none;
+}
+.wp-credit {
+ float: right;
+}
+
+ media only screen and (max-width: 480px) {
+ .wp-credit, .gnome-credit {
+ float: none;
+ display: block;
+ text-align: center;
+ }
+ .wp-credit {
+ padding-top: 15px;
+ }
+}
+ media only screen and (max-width: 1040px) {
+ .site-info {
+ margin: 0 25px;
+ }
+}
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]