<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[848] sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012: Central Theme: Add responsive styles.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://meta.trac.wordpress.org/changeset/848">848</a></dd>
<dt>Author</dt> <dd>iandunn</dd>
<dt>Date</dt> <dd>2014-09-10 18:41:11 +0000 (Wed, 10 Sep 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Central Theme: Add responsive styles.
Fixes <a href="http://meta.trac.wordpress.org/ticket/565">#565</a>
props ryelle</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012archivephp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/archive.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012authorphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/author.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012categoryphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/category.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012functionsphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012headerphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012indexphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/index.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012searchphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/search.php</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012stylecss">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/style.css</a></li>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012tagphp">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/tag.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012jsnavigationjs">sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/js/navigation.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012archivephp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/archive.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/archive.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/archive.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -41,8 +41,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar(); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+ <?php get_sidebar(); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012authorphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/author.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/author.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/author.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -46,8 +46,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar(); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+ <?php get_sidebar(); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012categoryphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/category.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/category.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/category.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-<?php
</del><ins>+s<?php
</ins><span class="cx"> /**
</span><span class="cx"> * Category archives template
</span><span class="cx"> */
</span><span class="lines">@@ -35,8 +35,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar(); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+ <?php get_sidebar(); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012functionsphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> add_action( 'widgets_init', array( __CLASS__, 'widgets_init' ), 11 );
</span><span class="cx"> add_action( 'pre_get_posts', array( __CLASS__, 'pre_get_posts' ) );
</span><span class="cx"> add_action( 'init', array( __CLASS__, 'process_forms' ) );
</span><ins>+ add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
</ins><span class="cx">
</span><span class="cx"> add_filter( 'excerpt_more', array( __CLASS__, 'excerpt_more' ), 11 );
</span><span class="cx"> // add_filter( 'wcpt_register_post_type', array( __CLASS__, 'wcpt_register_post_type' ) ); // set to public in wcpt plugin
</span><span class="lines">@@ -175,6 +176,13 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /**
</span><ins>+ * Enqueue scripts and styles.
+ */
+ static function enqueue_scripts() {
+ wp_enqueue_script( 'central-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '20140909', true );
+ }
+
+ /**
</ins><span class="cx"> * Filters excerpt_more.
</span><span class="cx"> */
</span><span class="cx"> static function excerpt_more( $more ) {
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012headerphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -17,6 +17,7 @@
</span><span class="cx"> <!--<![endif]-->
</span><span class="cx"> <head>
</span><span class="cx"> <meta charset="<?php bloginfo( 'charset' ); ?>" />
</span><ins>+<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
</ins><span class="cx"> <title><?php
</span><span class="cx"> /*
</span><span class="cx"> * Print the <title> tag based on what is being viewed.
</span><span class="lines">@@ -70,16 +71,19 @@
</span><span class="cx"> <body <?php body_class(); ?>>
</span><span class="cx"> <div id="header" class="group">
</span><span class="cx"> <div id="masthead" class="group">
</span><ins>+ <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
+ <a href="#<?php echo is_front_page()? 'wc-hero-panel': 'content'; ?>" class="skip-link screen-reader-text"><?php _e( 'Skip to content', 'twentyten' ); ?></a>
+
</ins><span class="cx"> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
</span><span class="cx"> <<?php echo $heading_tag; ?> id="site-title">
</span><span class="cx"> <span>
</span><span class="cx"> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
</span><span class="cx"> </span>
</span><span class="cx"> </<?php echo $heading_tag; ?>>
</span><ins>+
</ins><span class="cx"> <div id="access" role="navigation">
</span><del>- <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
- <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
</del><span class="cx"> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
</span><ins>+ <button class="wc-primary-button menu-toggle"><?php _e( 'Primary Menu', 'adirondack' ); ?></button>
</ins><span class="cx"> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
</span><span class="cx"> </div><!-- #access -->
</span><span class="cx"> </div><!-- #masthead -->
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012indexphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/index.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/index.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/index.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -26,8 +26,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar('blog'); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+<?php get_sidebar('blog'); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012jsnavigationjs"></a>
<div class="addfile"><h4>Added: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/js/navigation.js (0 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/js/navigation.js (rev 0)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/js/navigation.js 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+/**
+ * navigation.js
+ *
+ * Handles toggling the navigation menu for small screens.
+ */
+( function() {
+ var container, button, menu;
+
+ container = document.getElementById( 'access' );
+ if ( ! container ) {
+ return;
+ }
+
+ button = container.getElementsByTagName( 'button' )[0];
+ if ( 'undefined' === typeof button ) {
+ return;
+ }
+
+ menu = container.getElementsByTagName( 'ul' )[0];
+
+ // Hide menu toggle button if menu is empty and return early.
+ if ( 'undefined' === typeof menu ) {
+ button.style.display = 'none';
+ return;
+ }
+
+ if ( -1 === menu.className.indexOf( 'nav-menu' ) ) {
+ menu.className += ' nav-menu';
+ }
+
+ button.onclick = function() {
+ if ( -1 !== container.className.indexOf( 'toggled' ) ) {
+ container.className = container.className.replace( ' toggled', '' );
+ } else {
+ container.className += ' toggled';
+ }
+ };
+
+} )();
</ins></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012searchphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/search.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/search.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/search.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -41,8 +41,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar(); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+ <?php get_sidebar(); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012stylecss"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/style.css (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/style.css 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/style.css 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -21,7 +21,8 @@
</span><span class="cx"> b. Typography
</span><span class="cx"> c. Layout
</span><span class="cx"> d. Buttons
</span><del>- e. Header & Footer
</del><ins>+ e. Common Elements
+ f. Header & Footer
</ins><span class="cx"> 02. Homepage
</span><span class="cx"> a. Hero Panel
</span><span class="cx"> b. Content Blocks
</span><span class="lines">@@ -35,6 +36,7 @@
</span><span class="cx"> a. News index
</span><span class="cx"> b. Post Format - Link
</span><span class="cx"> 05. 2x retina
</span><ins>+06. Responsive
</ins><span class="cx">
</span><span class="cx"> ============================================= */
</span><span class="cx">
</span><span class="lines">@@ -230,7 +232,37 @@
</span><span class="cx"> padding: 0 25px 0 0;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+/* Text meant only for screen readers */
+.screen-reader-text {
+ clip: rect(1px, 1px, 1px, 1px);
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ left: 0;
+}
</ins><span class="cx">
</span><ins>+.screen-reader-text:hover,
+.screen-reader-text:active,
+.screen-reader-text:focus {
+ background-color: #f1f1f1;
+ border-radius: 3px;
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+ clip: auto !important;
+ color: #21759b;
+ display: block;
+ font-size: 14px;
+ font-weight: bold;
+ height: auto;
+ left: 5px;
+ line-height: normal;
+ padding: 15px 23px 14px;
+ text-decoration: none;
+ top: 5px;
+ width: auto;
+ z-index: 100000; /* Above WP toolbar */
+}
+
</ins><span class="cx"> /* Widgets */
</span><span class="cx"> .widget-area {
</span><span class="cx"> font-size: 14px;
</span><span class="lines">@@ -274,21 +306,16 @@
</span><span class="cx"> /* !01c. Layout */
</span><span class="cx"> /* ------------------------------------- */
</span><span class="cx">
</span><del>-#main #content {
- float: left;
-
- margin: 0;
</del><ins>+#content {
</ins><span class="cx"> width: 660px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#main #primary {
- float: right;
- position: static;
-
- margin: 0;
</del><ins>+#primary,
+#secondary {
+ position: relative;
+ z-index: 10; /* Above #content */
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* !Widgets */
</span><span class="cx"> .widget-container {
</span><span class="cx"> margin-bottom: 40px
</span><span class="lines">@@ -301,6 +328,7 @@
</span><span class="cx">
</span><span class="cx"> /* !Clear Fix */
</span><span class="cx"> .group:after,
</span><ins>+.single-wordcamp #content:after,
</ins><span class="cx"> li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden }
</span><span class="cx"> * html .group,
</span><span class="cx"> * html li { height: 1% }
</span><span class="lines">@@ -502,21 +530,23 @@
</span><span class="cx"> background: #e0f5fa;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#header #masthead {
</del><ins>+#masthead {
+ position: relative;
+ margin: auto;
</ins><span class="cx"> width: 940px;
</span><del>- margin: auto;
- position: relative;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #site-title {
</span><del>- margin: 0 0 12px 0
</del><ins>+ position: relative;
+ z-index: 10; /* To position above the full-width menu */
+ margin: 0 0 12px 0;
+ width: 382px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #ie7 #site-title a {
</span><span class="cx"> margin: 0 0 20px 0
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> #site-title a {
</span><span class="cx"> background: url('images/wordcamp-central-logo.png') no-repeat;
</span><span class="cx"> width: 382px;
</span><span class="lines">@@ -529,52 +559,49 @@
</span><span class="cx">
</span><span class="cx"> /* !Main Navigation */
</span><span class="cx">
</span><del>-#header #access {
</del><ins>+#access {
</ins><span class="cx"> background: transparent;
</span><span class="cx"> position: absolute;
</span><del>-
</del><ins>+
</ins><span class="cx"> bottom: -10px;
</span><span class="cx"> right: 0;
</span><del>-
- width: 552px;
-
</del><ins>+
</ins><span class="cx"> text-shadow: #ecfdff 0 1px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#access .menu-header {
- width: 552px
</del><ins>+/* Small menu */
+.menu-toggle {
+ display: none;
+ margin: 0 auto 10px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #access .menu-header .menu {
</span><span class="cx"> float: right
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#header #access li a {
</del><ins>+#access li a {
</ins><span class="cx"> font-size: 15px;
</span><span class="cx"> padding-bottom: 20px;
</span><span class="cx"> margin-left: 10px;
</span><span class="cx"> }
</span><del>-#header #access li a:hover,
-#header #access li:hover a {
</del><ins>+#access li a:hover,
+#access li:hover a {
</ins><span class="cx"> background: transparent;
</span><span class="cx"> color: #0b5f7b;
</span><span class="cx"> }
</span><del>-#header #access li.current_page_item a,
-#header #access li.current-menu-item a,
-#header #access li.current_page_parent a
-{
- color: #0b607b;
</del><ins>+#access li.current_page_item > a,
+#access li.current-menu-item > a,
+#access li.current_page_parent > a {
+ color: #0b607b !important; /* Override twentyten default */
</ins><span class="cx"> background: url('images/menu-indicator.png') no-repeat center 31px;
</span><del>-
</del><span class="cx"> position: relative;
</span><span class="cx"> z-index: 5
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> /* !Dropdowns */
</span><span class="cx">
</span><span class="cx"> .page-template-template-home-php #access .sub-menu {
</span><del>- background: #e0f5fa;
</del><ins>+ background: #e0f5fa;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #access .sub-menu {
</span><span class="lines">@@ -603,22 +630,21 @@
</span><span class="cx"> -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#header #access .sub-menu li a {
</del><ins>+#access .sub-menu li a {
</ins><span class="cx"> background: none !important;
</span><span class="cx">
</span><span class="cx"> color: #028db9;
</span><span class="cx">
</span><span class="cx"> font-size: 13px;
</span><span class="cx"> line-height: 1.3;
</span><del>- font-weight: 700;
</del><span class="cx">
</span><span class="cx"> padding: 10px 20px;
</span><span class="cx"> margin: 0 !important;
</span><span class="cx"> width: auto;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#header #access .sub-menu li a:hover {
- color: #fff;
</del><ins>+#access .sub-menu li a:hover {
+ color: #fff !important;
</ins><span class="cx"> background: #028db9 !important;
</span><span class="cx"> text-shadow: 0 1px 1px rgba(0,0,0,0.25);
</span><span class="cx"> }
</span><span class="lines">@@ -1358,7 +1384,7 @@
</span><span class="cx">
</span><span class="cx"> .wc-schedule #content .entry-title {
</span><span class="cx"> background: url('images/icons-large-sprite.png') no-repeat;
</span><del>- padding: 1px 45px;
</del><ins>+ padding: 1px 0 1px 45px;
</ins><span class="cx"> font-size: 34px;
</span><span class="cx"> font-weight: 600;
</span><span class="cx"> }
</span><span class="lines">@@ -1637,6 +1663,7 @@
</span><span class="cx">
</span><span class="cx"> .single-wordcamp .wc-banner img {
</span><span class="cx"> border: 0;
</span><ins>+ vertical-align: middle;
</ins><span class="cx">
</span><span class="cx"> box-shadow: none;
</span><span class="cx"> -webkit-box-shadow: none;
</span><span class="lines">@@ -1674,14 +1701,11 @@
</span><span class="cx"> -webkit-box-shadow: 0px 2px 5px #75888a;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
-
</del><span class="cx"> .single-wordcamp .wc-single-website img {
</span><ins>+ display: block;
+ margin: 0 auto 5px;
</ins><span class="cx"> border: 7px #fff solid;
</span><del>-
- width: 205px;
- height: 148px;
-
</del><ins>+ box-sizing: border-box;
</ins><span class="cx"> box-shadow: 0px 2px 5px #75888a;
</span><span class="cx"> -webkit-box-shadow: 0px 2px 5px #75888a;
</span><span class="cx"> }
</span><span class="lines">@@ -1915,7 +1939,7 @@
</span><span class="cx">
</span><span class="cx"> #content .post h2.entry-title {
</span><span class="cx"> margin-bottom: 5px;
</span><del>- line-height: 1;
</del><ins>+ line-height: 1.3;
</ins><span class="cx"> padding-top: 7px;
</span><span class="cx"> padding-bottom: 4px
</span><span class="cx"> }
</span><span class="lines">@@ -2052,12 +2076,15 @@
</span><span class="cx"> /* !04a. News Page */
</span><span class="cx"> /* ------------------------------------- */
</span><span class="cx">
</span><ins>+#content h1.page-title {
+ line-height: 1.3;
+}
+
</ins><span class="cx"> .blog #content h1.page-title,
</span><span class="cx"> .archive #content h1.page-title,
</span><span class="cx"> .search #content h1.page-title {
</span><span class="cx"> font-size: 34px;
</span><del>- background: url('images/icons-large-sprite.png') no-repeat 0 -64px;
- padding: 0 0 22px 69px;
</del><ins>+ padding: 0 0 22px;
</ins><span class="cx"> border-bottom: 1px #ececec solid;
</span><span class="cx"> margin: 0 -280px 40px 0;
</span><span class="cx"> }
</span><span class="lines">@@ -2068,10 +2095,9 @@
</span><span class="cx"> width: 870px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.archive #content h1.page-title,
-.search #content h1.page-title {
- background: none;
- padding-left: 0;
</del><ins>+.blog #content h1.page-title {
+ background: url('images/icons-large-sprite.png') no-repeat 0 -64px;
+ padding: 0 0 22px 69px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .blog #container,
</span><span class="lines">@@ -2632,9 +2658,9 @@
</span><span class="cx"> background: url(images/icons-sprite-2x.png) 0 -741px no-repeat;
</span><span class="cx"> background-size: 32px 804px;
</span><span class="cx"> }
</span><del>- #header #access li.current_page_item a,
- #header #access li.current-menu-item a,
- #header #access li.current_page_parent a {
</del><ins>+ #access li.current_page_item a,
+ #access li.current-menu-item a,
+ #access li.current_page_parent a {
</ins><span class="cx"> background: url('images/menu-indicator-2x.png') no-repeat center 31px;
</span><span class="cx"> background-size: 62px 25px;
</span><span class="cx"> }
</span><span class="lines">@@ -2672,9 +2698,7 @@
</span><span class="cx"> background: #ceecf0 url('images/hero-bg-2x.png') -812px -90px;
</span><span class="cx"> background-size: 215px 215px;
</span><span class="cx"> }
</span><del>- .blog #content h1.page-title,
- .archive #content h1.page-title,
- .search #content h1.page-title {
</del><ins>+ .blog #content h1.page-title {
</ins><span class="cx"> background: url('images/icons-large-sprite-2x.png') no-repeat 0 -64px;
</span><span class="cx"> background-size: 100px 800px;
</span><span class="cx"> }
</span><span class="lines">@@ -2710,4 +2734,515 @@
</span><span class="cx"> background: url('images/wordcamp-placeholder-thumb-2x.png') 3px 3px no-repeat;
</span><span class="cx"> background-size: 82px 37px;
</span><span class="cx"> }
</span><del>-}
</del><span class="cx">\ No newline at end of file
</span><ins>+}
+
+/* !06. Responsive */
+/* ============================================= */
+@media screen and (max-width: 1024px) {
+ #wrapper {
+ margin: 20px auto;
+ width: 94%;
+ }
+
+ #access,
+ #access .menu-header,
+ div.menu,
+ #colophon,
+ #branding,
+ #main,
+ #footer,
+ #masthead {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #footer {
+ margin-top: 30px;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ #content img {
+ max-width: 100%;
+ }
+
+ #container {
+ float: left;
+ margin: 0 -25.5319149% 0 0;
+ width: 99%;
+ }
+
+ #content {
+ width: 68.5957447%;
+ margin: 0 29.787234% 0 20px;
+ }
+
+ #primary,
+ #secondary {
+ overflow: hidden;
+ width: 23.40425535%; /* 200px / 940px */
+ }
+
+ #footer-widget-area .widget-area,
+ #site-generator,
+ #site-description {
+ width: 23.40425535%; /* 200px / 940px */
+ }
+
+ .single #main #content {
+ width: 100%;
+ }
+
+ .single .entry-meta {
+ box-sizing: border-box;
+ padding-right: 20px;
+ width: 30%;
+ }
+
+ .single #content .post,
+ .single #content #comments {
+ width: 70%;
+ margin: 0;
+ }
+
+ .page-template-template-past-wordcamps-php #content {
+ width: 100%;
+ margin: 0;
+ }
+
+ .page-template-template-past-wordcamps-php #content .wc-schedule-list {
+ width: 100%;
+ margin: 0 auto;
+ }
+
+ .page-template-template-past-wordcamps-php .wc-schedule-list li {
+ box-sizing: border-box;
+ margin-right: 0;
+ padding-right: 20px;
+ width: 50%;
+ }
+
+ .single-wordcamp #main #content {
+ width: 100%;
+ }
+
+ .single-wordcamp .wc-banner img {
+ height: auto;
+ }
+
+ .single-wordcamp .wc-single-website,
+ .single-wordcamp .wc-single-info,
+ .single-wordcamp .wc-single-past {
+ box-sizing: border-box;
+ margin-left: 0;
+ margin-bottom: 20px;
+ margin-right: 0;
+ width: 25%;
+ }
+
+ .single-wordcamp .wc-single-info {
+ padding-left: 25px;
+ padding-right: 25px;
+ width: 50%;
+ }
+}
+
+@media screen and (max-width: 950px) {
+ #site-title {
+ box-sizing: border-box;
+ padding-left: 10px;
+ }
+
+ #access {
+ position: relative;
+ left: auto;
+ right: auto;
+ bottom: auto;
+ margin-bottom: -10px;
+ }
+
+ #access .menu-header .menu {
+ float: none;
+ }
+
+ #wc-hero-panel .wc-hero-wrap {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #wc-hero-panel .wc-hero-intro,
+ #wc-hero-panel .wc-hero-image {
+ position: relative;
+ }
+
+ #wc-hero-panel .wc-hero-intro {
+ margin: 27px 0 50px;
+ padding: 0 10em;
+ width: 100%;
+ box-sizing: border-box;
+ }
+
+ #wc-hero-panel .wc-hero-image {
+ margin: 0 auto;
+ height: 375px;
+ }
+
+ .blog #content h1.page-title,
+ .archive #content h1.page-title,
+ .search #content h1.page-title {
+ margin-right: 0;
+ }
+}
+
+@media screen and (max-width: 768px) {
+ #wc-hero-panel .wc-hero-intro {
+ padding: 0 2em;
+ }
+
+ .single-wordcamp #content h1.entry-title {
+ margin-bottom: 0.3em;
+ }
+}
+
+@media screen and (max-width: 660px) {
+ #wrapper {
+ margin: 5px auto;
+ width: 96%;
+ padding: 0;
+ }
+
+ #colophon,
+ #branding,
+ #main,
+ #footer,
+ #content {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ #site-title {
+ width: 100%;
+ }
+
+ #container {
+ float: left;
+ width: 100%;
+ margin: 0;
+ }
+
+ .alignleft, img.alignleft,
+ #content img.alignleft,
+ .alignright, img.alignright,
+ #content img.alignright {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ #primary,
+ #secondary {
+ float: left;
+ overflow: hidden;
+ width: 99%;
+ }
+
+ #secondary {
+ clear: left;
+ }
+
+ .wc-code-is-poetry {
+ margin: 5px auto 10px;
+ }
+
+ #footer .menu-footer,
+ .wc-code-is-poetry {
+ float: none;
+ }
+
+ #footer .menu-footer ul {
+ margin: 10px 0;
+ text-align: center;
+ }
+
+ #footer .menu-footer ul li {
+ display: inline-block;
+ float: none;
+ margin: 0 10px;
+ }
+
+ #footer .menu-footer ul li:after {
+ content: '';
+ }
+
+ #footer .menu-footer ul a {
+ display: inline-block;
+ padding: 5px 0;
+ }
+
+ #wc-content-blocks > div {
+ float: none;
+ padding: 0 0 15px;
+ margin: 0 0 15px;
+ width: 100%;
+ }
+
+ #wc-content-blocks > div:last-child,
+ #wc-content-blocks .last {
+ float: none;
+ }
+
+ #wc-content-blocks .more {
+ position: relative;
+ width: 100%;
+ }
+
+ .blog #main #primary,
+ .archive #main #primary,
+ .search #main #primary {
+ margin-top: 0;
+ }
+
+ .blog #content h1.page-title,
+ .archive #content h1.page-title,
+ .search #content h1.page-title {
+ margin-right: 0;
+ margin-bottom: 15px;
+ padding-bottom: 0;
+ border-bottom: none;
+ }
+
+ .blog #searchform,
+ .archive #searchform,
+ .search #searchform {
+ position: relative;
+ top: auto;
+ right: auto;
+ padding: 0 25px 15px;
+ margin: 0 0 15px;
+ border-bottom: 1px #ececec solid;
+ }
+
+ .blog #searchform #s,
+ .archive #searchform #s,
+ .search #searchform #s {
+ box-sizing: border-box;
+ width: 100%;
+ }
+
+ #main .widget-area ul ul li {
+ border-bottom: none;
+ }
+
+ .single #main #content {
+ width: 100%;
+ }
+
+ .single .entry-meta,
+ .single #content .post,
+ .single #content #comments {
+ padding-right: 0px;
+ width: 100%;
+ }
+
+ .single .entry-meta ul li {
+ float: left;
+ width: 33%;
+ }
+
+ .single .entry-meta li.wc-single-search {
+ clear: both;
+ width: 100%;
+ margin: 0 0 25px;
+ }
+
+ .single .entry-meta #searchform #s {
+ width: 75%;
+ }
+
+ .page-template-template-past-wordcamps-php .wc-schedule-list li {
+ padding-right: 0;
+ width: 100%;
+ }
+
+ .single-wordcamp .wc-single-website {
+ width: 33%;
+ }
+ .single-wordcamp .wc-single-info {
+ width: 67%;
+ }
+
+ .single-wordcamp .wc-single-past {
+ float: none;
+ clear: both;
+ width: 100%;
+ }
+}
+
+@media screen and (max-width: 550px) {
+ #wc-hero-panel .wc-hero-image {
+ width: 100%;
+ box-sizing: border-box;
+ }
+
+ #wc-hero-panel .wc-hero-image:after {
+ display: none;
+ }
+
+ #wc-hero-panel .wc-hero-image img {
+ box-sizing: border-box;
+ max-width: 100%;
+ height: auto;
+ }
+
+ .single .entry-meta,
+ .single #content .post,
+ .single #content #comments {
+ box-sizing: border-box;
+ padding-left: 10px;
+ padding-right: 10px;
+ }
+
+ .single-wordcamp .wc-single-map {
+ float: none;
+ margin: 0 0 10px;
+ }
+}
+
+@media screen and (max-width: 500px) {
+ #access {
+ margin-bottom: 0;
+ }
+
+ #access ul {
+ display: none;
+ }
+
+ .menu-toggle,
+ #access.toggled ul {
+ display: block;
+ }
+
+ #access .menu-header li {
+ float: none;
+ }
+
+ #access ul ul.sub-menu {
+ position: relative;
+ top: 0;
+ float: none;
+ width: 100%;
+ box-shadow: none;
+ }
+
+ #access .menu-header a,
+ #access .sub-menu li a {
+ margin: 0 0 0 15px;
+ padding: 0;
+ font-size: 15px;
+ line-height: 38px;
+ }
+
+ #access .sub-menu li a {
+ /* Needed to override an earlier important */
+ margin: 0 0 0 25px !important;
+ }
+
+ #access li.current_page_item a,
+ #access li.current-menu-item a,
+ #access li.current_page_parent a {
+ background-image: none;
+ }
+
+ #access li:hover > a,
+ #access .sub-menu li a:hover {
+ /* Needed to override earlier important */
+ color: #0b5f7b !important;
+ background-color: transparent !important;
+ text-shadow: none;
+ }
+
+ .single .wc-back-link {
+ margin-bottom: 25px;
+ }
+
+ .single .entry-meta ul li {
+ float: none;
+ width: 100%;
+ }
+ .single .entry-meta li.wc-single-avatar,
+ .single .entry-meta li.wc-single-search {
+ display: none;
+ }
+}
+
+@media screen and (max-width: 450px) {
+ .single-wordcamp .wc-banner {
+ border: none;
+ }
+
+ .single-wordcamp .wc-single-website,
+ .single-wordcamp .wc-single-info {
+ float: none;
+ width: 100%;
+ }
+
+ .wc-single-past {
+ padding-left: 25px;
+ padding-right: 25px;
+ }
+
+ #comments .commentmetadata {
+ position: static;
+ }
+
+ #comments #respond .comment-form-author,
+ #comments #respond .comment-form-email,
+ #comments #respond .comment-form-url {
+ width: 100%;
+ float: none;
+ margin-right: 0;
+ margin-bottom: 0;
+ }
+
+ #comments #respond .comment-form-comment {
+ padding-top: 0;
+ }
+
+ #respond .form-allowed-tags {
+ padding-right: 0;
+ }
+
+ #respond .form-submit {
+ float: none;
+ margin: 0;
+ }
+}
+
+@media screen and (max-width: 400px) {
+ #site-title a {
+ background-size: contain;
+ width: 94%;
+ margin: 0 auto;
+ }
+
+ .wc-hero-actions {
+ text-align: center;
+ }
+
+ .wc-hero-actions .wc-primary-button {
+ display: block;
+ }
+
+ /* Remove the slider from smallest sizes. */
+ #wc-hero-panel .wc-hero-image {
+ display: none;
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordcamporgpublic_htmlwpcontentthemeswordcampcentral2012tagphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/tag.php (847 => 848)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/tag.php 2014-09-09 22:13:32 UTC (rev 847)
+++ sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/tag.php 2014-09-10 18:41:11 UTC (rev 848)
</span><span class="lines">@@ -30,8 +30,8 @@
</span><span class="cx">
</span><span class="cx"> </div><!-- #content -->
</span><span class="cx">
</span><del>- <?php get_sidebar(); ?>
-
</del><span class="cx"> </div><!-- #container -->
</span><span class="cx">
</span><ins>+ <?php get_sidebar(); ?>
+
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre>
</div>
</div>
</body>
</html>