From db6d4d32e79f9e52df2c97827b57352c966aeacd Mon Sep 17 00:00:00 2001 From: Matt Bernhardt Date: Fri, 7 Nov 2014 12:22:33 -0500 Subject: [PATCH 01/44] Remove call to locationHours as a stopgap measure This call to locationHours was preventing rendering of the Doc Services site, so I've removed it temporarily. Most likely this will just need to be replaced with the markup stub that is populated by the JS hours call. --- inc/postHead.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/postHead.php b/inc/postHead.php index ade0f02..74a0822 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -46,7 +46,7 @@ From cbccb4adeace24f2e8d66e43424ca6214e914636 Mon Sep 17 00:00:00 2001 From: Matt Bernhardt Date: Fri, 7 Nov 2014 12:48:12 -0500 Subject: [PATCH 02/44] Restoring the hours display on Document Services This restores the call from postHead to locationHours, and instead removes (comments out) all the calculation of the old hours infrastructure. Instead, locationHours is simply static markup that then gets filled by the javascript call. As a to-do, I'm not certain that locationHours is still needed - or at least can be much shorter, with all PHP code now commented out. --- inc/locationHours.php | 5 +++-- inc/postHead.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/inc/locationHours.php b/inc/locationHours.php index a1e6433..af8103e 100644 --- a/inc/locationHours.php +++ b/inc/locationHours.php @@ -1,5 +1,5 @@
@@ -20,4 +21,4 @@ See all hours
- \ No newline at end of file + \ No newline at end of file diff --git a/inc/postHead.php b/inc/postHead.php index 74a0822..ade0f02 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -46,7 +46,7 @@ From d371d9048b26f528ec92d2344b83d37ac8661317 Mon Sep 17 00:00:00 2001 From: Matt Bernhardt Date: Tue, 10 Mar 2015 14:56:26 -0400 Subject: [PATCH 03/44] Adding styling for "Give Now" button on giving site Signed-off-by: Matt Bernhardt --- style.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/style.css b/style.css index e481749..8cc2f73 100644 --- a/style.css +++ b/style.css @@ -400,6 +400,27 @@ footer .footerHeader { color: white; } +.sidebar .widget.give { + background-color:white; + border-bottom: none; +} + +a.giveNow { + background: #f58632; + border-radius: 3px; + color: white; + display: block; + padding: 16px; + padding: 1rem; + width: 100%; + text-align: center; +} + +a.giveNow:hover { + color:white; +} + + /* ---- Responsive Styles ---- */ @media screen and (max-width:480px) { From e36a46193caa1508d98a5db7707fc5628d805001 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:54:27 -0400 Subject: [PATCH 04/44] Remove black background from child-page header Also remove bullets from ul; remove underline from h1 hover --- style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 8cc2f73..e6edcc6 100644 --- a/style.css +++ b/style.css @@ -20,15 +20,16 @@ MIT Libraries theme built for the MIT Libraries child websites. box-sizing: border-box; } -.childTheme .title-page { +/*.childTheme .title-page { background: #333; color: #fff; -} +}*/ .childTheme ul { - list-style-type: disc; + list-style-type: none; } +.box1 h1 a:hover{text-decoration:none;} .childTheme ol { list-style-type: decimal; } From 038c1906114979690fb52c3abd240c271af70e86 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:55:04 -0400 Subject: [PATCH 05/44] Add styling to .child-page-title --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/style.css b/style.css index e6edcc6..b9d1b57 100644 --- a/style.css +++ b/style.css @@ -80,6 +80,12 @@ MIT Libraries theme built for the MIT Libraries child websites. width: 50%; } +.child-page-title { + font-size: 34px; + font-size: 2.25rem; + font-weight: 400; +} + .siteTitle h1 { display: block; } From b180e2a6fb228337c0fa0b5a23a44e8a86f64e46 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:56:12 -0400 Subject: [PATCH 06/44] Adjust line-heights for sidebars --- style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index b9d1b57..a6712de 100644 --- a/style.css +++ b/style.css @@ -338,7 +338,7 @@ MIT Libraries theme built for the MIT Libraries child websites. float: left; width: 220px; width: 23.91%; -} +}h2 .ie8 .sidebar { width: 23%; @@ -352,14 +352,14 @@ MIT Libraries theme built for the MIT Libraries child websites. .childTheme .widget span, .childTheme .widget p { font-size: 14px; - line-height: 18px; + line-height: 1.4; margin-bottom: 5px; } -.childTheme .entry-content ul { +/*.childTheme .entry-content ul { margin: 0; } - +*/ footer #footerHeader, footer .footerHeader { height: 92px; From c9a2fb141240dd5d060fba79bec2b9841c1adf51 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:56:32 -0400 Subject: [PATCH 07/44] Add styling for accordions --- style.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/style.css b/style.css index a6712de..6d6b5b2 100644 --- a/style.css +++ b/style.css @@ -407,6 +407,42 @@ footer .footerHeader { color: white; } + + +.entry-content .expandable:nth-of-type(odd) { +background: #eceaea !important; +} + + +.entry-content .expandable h3 { +background: 0 0 !important; +padding: 1em 1em .75em!important; +cursor: pointer!important; +margin: 0!important; +font-size: 14px!important; +line-height: 14px!important; +color: #338BCF; +font-weight: 400; +} +.entry-content .active.expandable h3 { +color: #000; +} +.entry-content .expandable h3 a { +color: #338bc5!important; +} + +.entry-content .expandable h3:before { +border-top: 5px solid transparent; +border-left: 5px solid #338bc5; +border-bottom: 5px solid transparent; +content: ''; +display: inline-block; +height: 0; +width: 0; +left: 0; +margin-right: 1em; +} + .sidebar .widget.give { background-color:white; border-bottom: none; From 09336cb95ee9a4fa8671997acb05f6e576ce7287 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:57:49 -0400 Subject: [PATCH 08/44] Reassign H1 --- inc/postHead.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/postHead.php b/inc/postHead.php index ade0f02..288bf16 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -3,9 +3,9 @@
-

+
-

+
Date: Wed, 3 Jun 2015 14:59:03 -0400 Subject: [PATCH 09/44] Reassign H2 --- inc/content-page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/content-page.php b/inc/content-page.php index 724c243..dcb6ccf 100644 --- a/inc/content-page.php +++ b/inc/content-page.php @@ -54,7 +54,7 @@
- ".$title.""; } ?> + ".$title.""; } ?> From 9dddb459a91a3b884f5920ba27627048bbe5f4b7 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 3 Jun 2015 14:59:24 -0400 Subject: [PATCH 10/44] Reassign H2/H1 --- inc/content-nav-full.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/content-nav-full.php b/inc/content-nav-full.php index 447e32f..e4e57f3 100644 --- a/inc/content-nav-full.php +++ b/inc/content-nav-full.php @@ -40,7 +40,7 @@
-

+

From 95e61cf512dcbdfb78aed12a59b64e27b4cd3f60 Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:53:15 -0400 Subject: [PATCH 11/44] Match HTML of /locations --- inc/locationHours.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/locationHours.php b/inc/locationHours.php index af8103e..0c8db03 100644 --- a/inc/locationHours.php +++ b/inc/locationHours.php @@ -15,10 +15,10 @@ */ ?> -
- Today's Hours: - - See all hours +
+ Today's Hours: +
+ See all hours
\ No newline at end of file From dd374422a250d6f2bb921ac60f957d145d64719f Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:53:35 -0400 Subject: [PATCH 12/44] Match HTML of /locations --- inc/locationInfo.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/inc/locationInfo.php b/inc/locationInfo.php index 60cbafe..ebd2750 100644 --- a/inc/locationInfo.php +++ b/inc/locationInfo.php @@ -2,6 +2,7 @@ $docsServices = get_post(1028); $docsPhone = get_post_meta(1028, 'phone', true); + $docsEmail = get_post_meta(1028, 'email', true); $docsBuilding = get_post_meta(1028, 'building', true); $docsSlug = $docsServices->post_name; @@ -9,7 +10,11 @@ ?> -
- - show on map: -
\ No newline at end of file + +
+ | + + | + + Room: +
\ No newline at end of file From 9f983de2e55a3a9fdc873e97c0f64c104d347b04 Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:54:30 -0400 Subject: [PATCH 13/44] Match PHP of /locations --- inc/postHead.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inc/postHead.php b/inc/postHead.php index 288bf16..3d8391d 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -22,6 +22,14 @@ } ?> + +
From c4dfcde5feebae3dc29e282a5410bac93b38958d Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:54:45 -0400 Subject: [PATCH 14/44] Remove unecessary section --- inc/postHead.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/inc/postHead.php b/inc/postHead.php index 3d8391d..ddc9fc1 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -49,17 +49,7 @@
-
- - -
\ No newline at end of file From 7ddd1c1eb3d1dedb6caa6aa2e30e85b9089f08b5 Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:55:41 -0400 Subject: [PATCH 15/44] Move images flush right --- style.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index 6d6b5b2..09deeec 100644 --- a/style.css +++ b/style.css @@ -64,19 +64,18 @@ MIT Libraries theme built for the MIT Libraries child websites. width: 100%; } -.childTheme .siteTitle.hasImage [class*="box"] { - float: left; - position: relative; +.childTheme .siteTitle.hasImage .box1 { + margin-top: 0.75rem; + width: 50%; } -.childTheme .siteTitle.hasImage .box1, -.childTheme .siteTitle.hasImage .box3 { +.childTheme .title-page.hasImage .box1 { margin-top: 0.75rem; - width: 25%; + width: 50%; } .childTheme .title-page.hasImage .box2 { - margin: 0 1em; + margin-left: 1em; width: 50%; } From 9e4de92d481131ff42afd805f9150d4a21ab900a Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:56:20 -0400 Subject: [PATCH 16/44] Flush image right --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 09deeec..e94eddb 100644 --- a/style.css +++ b/style.css @@ -151,8 +151,9 @@ MIT Libraries theme built for the MIT Libraries child websites. margin: 0 auto; position: relative; vertical-align: middle; - width: 446px; + width: auto; z-index: 2; + float: right; } /* ---- Child Page Nav ---- */ From c56e0793b4099421500e246d3ef768bda67ac562 Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:57:30 -0400 Subject: [PATCH 17/44] Adjust font-size of sidebars --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index e94eddb..0f0cb05 100644 --- a/style.css +++ b/style.css @@ -351,7 +351,7 @@ MIT Libraries theme built for the MIT Libraries child websites. .childTheme .widget ul li, .childTheme .widget span, .childTheme .widget p { - font-size: 14px; + font-size: 16px; line-height: 1.4; margin-bottom: 5px; } From 04fa18384097ed5128459e97fc35631a5c52fbea Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:57:56 -0400 Subject: [PATCH 18/44] Adjust font-weight of H3 --- style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style.css b/style.css index 0f0cb05..868bf4f 100644 --- a/style.css +++ b/style.css @@ -426,9 +426,11 @@ font-weight: 400; } .entry-content .active.expandable h3 { color: #000; +font-weight: 400; } .entry-content .expandable h3 a { color: #338bc5!important; +font-weight: 400; } .entry-content .expandable h3:before { From 7d8fc500d19b8c61adb6a5f66ada607851cad759 Mon Sep 17 00:00:00 2001 From: pbruk Date: Tue, 9 Jun 2015 16:59:11 -0400 Subject: [PATCH 19/44] Adjust width of page title on mobile --- style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 868bf4f..d37f921 100644 --- a/style.css +++ b/style.css @@ -478,7 +478,7 @@ a.giveNow:hover { .childTheme .siteTitle.hasImage .box3 { width: 100%; } - + .childTheme .siteTitle.hasImage .box3 { margin-top: -3em; } @@ -488,6 +488,10 @@ a.giveNow:hover { margin-bottom: 0.25em; } + .childTheme .title-page.hasImage .box1 { + width: 100%; + } + .headerImage { display: none; } @@ -502,7 +506,7 @@ a.giveNow:hover { .childTheme .siteTitle .locationInfo { float: left; } - + .childTheme .siteTitle .todayHours, .childTheme .locationInfo span { color: #444; From 8f59284757c19028fc38047ea960528a3ad4f618 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 24 Jun 2015 14:04:59 -0400 Subject: [PATCH 20/44] Adjusts version string --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index d37f921..ca20320 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ Theme Name: MIT Libraries Child NEW Author: Lightning Trumpet & MIT Libraries Author URI: http://wordpress.org/ -Version: 1.1 +Version: 1.1.7 Template: libraries From efc3a68b0b4b500fd7ab1d9db042c0203df099f2 Mon Sep 17 00:00:00 2001 From: pbruk Date: Sun, 12 Jul 2015 10:56:29 -0400 Subject: [PATCH 21/44] Register new scripts for navigation --- functions.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/functions.php b/functions.php index c5e318e..65c4415 100644 --- a/functions.php +++ b/functions.php @@ -52,6 +52,23 @@ function customHeader() { // add_theme_support( 'custom-header' ); +// de-queue navigation js +add_action('wp_print_scripts','tto_dequeue_navigation'); + function tto_dequeue_navigation() { + wp_dequeue_script( 'twentytwelve-navigation' ); +} +// load the new navigation js + function tto_custom_scripts() +{ + +// Register the new navigation script + wp_register_script( 'lowernav-script', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '1.0', true ); + +// Enqueue the new navigation script + wp_enqueue_script( 'lowernav-script' ); +} +add_action( 'wp_enqueue_scripts', 'tto_custom_scripts' ); + // Register Child Nav if(!function_exists('register_child_nav')) { function register_child_nav() { From 9f4dc4abfb9e8c1fb6c034fde5c2d97b7f62c449 Mon Sep 17 00:00:00 2001 From: pbruk Date: Sun, 12 Jul 2015 10:57:14 -0400 Subject: [PATCH 22/44] Replace child nav with bootstrap menu --- inc/nav-child.php | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/inc/nav-child.php b/inc/nav-child.php index 9526c23..e010abd 100644 --- a/inc/nav-child.php +++ b/inc/nav-child.php @@ -5,25 +5,11 @@ $countPosts = wp_count_posts('page')->publish; if (!in_array($siteName, $noChildNav) && $countPosts > 1) { ?> - - - \ No newline at end of file + + + + \ No newline at end of file From e5184be25ed657ecad69b426ebe9403b492358be Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:35:38 -0400 Subject: [PATCH 23/44] add scripts/styles for subnav --- functions.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/functions.php b/functions.php index 65c4415..aaad53e 100644 --- a/functions.php +++ b/functions.php @@ -6,6 +6,20 @@ function remove_child_theme_support() { remove_theme_support('custom-background'); } + function enqueue_my_scripts() { + wp_enqueue_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js', array('jquery'), '1.9.1', true); // we need the jquery library + wp_enqueue_script( 'bootstrap-js', '//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js', array('jquery'), true); // all the bootstrap javascript goodness + } + add_action('wp_enqueue_scripts', 'enqueue_my_scripts'); + function enqueue_my_styles() { + wp_enqueue_style( 'bootstrap', '//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css' ); + wp_enqueue_style( 'roger', get_template_directory_uri() . '/style.css'); + } + add_action('wp_enqueue_scripts', 'enqueue_my_styles'); + + + + function betterChildBreadcrumbs() { global $post; From e10cb7ca5cc651201a1569a0e1f273a7b661b091 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:35:59 -0400 Subject: [PATCH 24/44] Remove unnecessary scripts --- functions.php | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/functions.php b/functions.php index aaad53e..62d6079 100644 --- a/functions.php +++ b/functions.php @@ -64,24 +64,8 @@ function customHeader() { } -// add_theme_support( 'custom-header' ); -// de-queue navigation js -add_action('wp_print_scripts','tto_dequeue_navigation'); - function tto_dequeue_navigation() { - wp_dequeue_script( 'twentytwelve-navigation' ); -} -// load the new navigation js - function tto_custom_scripts() -{ - -// Register the new navigation script - wp_register_script( 'lowernav-script', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '1.0', true ); -// Enqueue the new navigation script - wp_enqueue_script( 'lowernav-script' ); -} -add_action( 'wp_enqueue_scripts', 'tto_custom_scripts' ); // Register Child Nav if(!function_exists('register_child_nav')) { @@ -91,6 +75,10 @@ function register_child_nav() { add_action( 'init', 'register_child_nav' ); } + + + + if (function_exists('add_theme_support')) { add_theme_support('post-thumbnails'); } add_image_size('headerImage', 480, 200, true); From a2bc2d77a8c6cb306744ef7a95a53faa9a5d658e Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:36:25 -0400 Subject: [PATCH 25/44] Add bootstrap menu --- inc/nav-child.php | 57 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/inc/nav-child.php b/inc/nav-child.php index e010abd..2e1a69f 100644 --- a/inc/nav-child.php +++ b/inc/nav-child.php @@ -1,3 +1,4 @@ + publish; if (!in_array($siteName, $noChildNav) && $countPosts > 1) { ?> - - - - \ No newline at end of file + + + + + + + + + From 15fe7bfe2cd025dd0263f35000e7d4aa55076c1c Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:36:54 -0400 Subject: [PATCH 26/44] Add font styling --- style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style.css b/style.css index ca20320..cab2d01 100644 --- a/style.css +++ b/style.css @@ -25,6 +25,14 @@ MIT Libraries theme built for the MIT Libraries child websites. color: #fff; }*/ +body { + font-family: 'Open Sans', Helvetica, sans-serif !important; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Open Sans', Helvetica, sans-serif !important; +} + .childTheme ul { list-style-type: none; } From 21c87d289b29b12d759a4ec198093eb6134a528e Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:37:08 -0400 Subject: [PATCH 27/44] Add font styling --- style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style.css b/style.css index cab2d01..2446fbb 100644 --- a/style.css +++ b/style.css @@ -93,6 +93,11 @@ h1, h2, h3, h4, h5, h6 { font-weight: 400; } +.child-page-title a { + font-size: 21px; + font-size: 1.5rem; +} + .siteTitle h1 { display: block; } From 51e01884bb0836fe90743d40384f006e4f77e4ba Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:37:24 -0400 Subject: [PATCH 28/44] Add menu styling --- style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/style.css b/style.css index 2446fbb..c47b4e5 100644 --- a/style.css +++ b/style.css @@ -197,6 +197,22 @@ h1, h2, h3, h4, h5, h6 { width: 0; } +.mobile-display { + display: none; +} + +.nav-second>li>a:hover { + color: #338bc5 !important; + text-decoration: underline; +} + +@media only screen and (min-width : 768px) { + /* Make Navigation Toggle on Desktop Hover */ + .dropdown:hover .dropdown-menu { + display: block; + } +} + /* ---- Main Content Area ---- */ .allContent { From b5399435c8901c5d730eb6115864b24da9c22c0c Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:37:54 -0400 Subject: [PATCH 29/44] Delete extra styling --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index c47b4e5..b2dc173 100644 --- a/style.css +++ b/style.css @@ -367,7 +367,7 @@ h1, h2, h3, h4, h5, h6 { float: left; width: 220px; width: 23.91%; -}h2 +} .ie8 .sidebar { width: 23%; From 554b753df03c52b507b729e1696aa8999542df4c Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:38:13 -0400 Subject: [PATCH 30/44] Fix syntax --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index b2dc173..2aa9892 100644 --- a/style.css +++ b/style.css @@ -458,7 +458,7 @@ color: #000; font-weight: 400; } .entry-content .expandable h3 a { -color: #338bc5!important; +color: #338bc5 !important; font-weight: 400; } From 26b02ee9c57eddc8c0a7af1b138d3cbd03896d0b Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 22 Jul 2015 14:38:27 -0400 Subject: [PATCH 31/44] Add styling for mobile nav --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index 2aa9892..70531a8 100644 --- a/style.css +++ b/style.css @@ -495,7 +495,18 @@ a.giveNow:hover { } + /* ---- Responsive Styles ---- */ +@media screen and (max-width:720px) { + .mobile-display { + display: block !important; + } + + .navbar-default .navbar-nav>.dropdown>a .caret { + display: none; + } +} + @media screen and (max-width:480px) { From 929b2bc0ccb2c7cc6fd167573a474c3c878c8f4a Mon Sep 17 00:00:00 2001 From: pbruk Date: Sun, 2 Aug 2015 08:59:23 -0400 Subject: [PATCH 32/44] Remove unnecessary template structure Add class for accordion to work --- inc/content-page.php | 37 ++----------------------------------- 1 file changed, 2 insertions(+), 35 deletions(-) diff --git a/inc/content-page.php b/inc/content-page.php index dcb6ccf..6a40988 100644 --- a/inc/content-page.php +++ b/inc/content-page.php @@ -15,42 +15,9 @@ $pageRoot = getRoot($post); $section = get_post($pageRoot); - $menuName = $section->post_name; - $sideMenu = wp_get_nav_menu_items($menuName); - - $showSideNav = get_field("show_left_nav"); - - $sideNavExists = $sideMenu && $showSideNav == true || is_child_page() && $showSideNav == true; - - if ($sideNavExists): - ?> -
- -
    - - $pageRoot, - "title_li" => "", - ); - - if ($menu) { - wp_nav_menu( array( 'menu' => $menuName, 'menu_class' => 'nav-menu' ) ); - } else { - wp_list_pages( $args ); - } - ?> - -
- -
- - - -
+
@@ -70,7 +37,7 @@ if ($col1 != '' && $col2 != ''): ?> -
+
From e634bcf89a73fa020cb840c1d27c2026db74e79d Mon Sep 17 00:00:00 2001 From: pbruk Date: Sun, 2 Aug 2015 08:59:35 -0400 Subject: [PATCH 33/44] Add H1 --- inc/postHead.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/postHead.php b/inc/postHead.php index ddc9fc1..b6ebc3f 100644 --- a/inc/postHead.php +++ b/inc/postHead.php @@ -3,7 +3,7 @@
-
+

From b38337d2886a3dbc792b5f017bea553be49c4e19 Mon Sep 17 00:00:00 2001 From: pbruk Date: Sun, 2 Aug 2015 09:00:04 -0400 Subject: [PATCH 34/44] Remove duplicate classes --- style.css | 42 ++++++------------------------------------ 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/style.css b/style.css index 70531a8..07c8bdb 100644 --- a/style.css +++ b/style.css @@ -87,10 +87,10 @@ h1, h2, h3, h4, h5, h6 { width: 50%; } -.child-page-title { - font-size: 34px; - font-size: 2.25rem; - font-weight: 400; +h1.child-page-title { + font-size: 34px !important; + font-size: 2.25rem !important; + font-weight: 400 !important; } .child-page-title a { @@ -442,38 +442,6 @@ footer .footerHeader { background: #eceaea !important; } - -.entry-content .expandable h3 { -background: 0 0 !important; -padding: 1em 1em .75em!important; -cursor: pointer!important; -margin: 0!important; -font-size: 14px!important; -line-height: 14px!important; -color: #338BCF; -font-weight: 400; -} -.entry-content .active.expandable h3 { -color: #000; -font-weight: 400; -} -.entry-content .expandable h3 a { -color: #338bc5 !important; -font-weight: 400; -} - -.entry-content .expandable h3:before { -border-top: 5px solid transparent; -border-left: 5px solid #338bc5; -border-bottom: 5px solid transparent; -content: ''; -display: inline-block; -height: 0; -width: 0; -left: 0; -margin-right: 1em; -} - .sidebar .widget.give { background-color:white; border-bottom: none; @@ -592,5 +560,7 @@ a.giveNow:hover { float: none; width: 100%; } + + } \ No newline at end of file From 542bff613d15a040ae2b0f7dbb99424af19d468f Mon Sep 17 00:00:00 2001 From: pbruk Date: Mon, 3 Aug 2015 11:07:42 -0400 Subject: [PATCH 35/44] Replace deleted class --- inc/content-page.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/content-page.php b/inc/content-page.php index 6a40988..a01a7c3 100644 --- a/inc/content-page.php +++ b/inc/content-page.php @@ -17,7 +17,8 @@ ?> -
+ +
@@ -37,7 +38,7 @@ if ($col1 != '' && $col2 != ''): ?> -
+
From 57e7890ee1ba76a8f7cf9bedd2e1688ff629cf5d Mon Sep 17 00:00:00 2001 From: pbruk Date: Fri, 14 Aug 2015 09:41:36 -0400 Subject: [PATCH 36/44] Consolidate child templates --- page.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/page.php b/page.php index 00f1fb8..0edeb31 100644 --- a/page.php +++ b/page.php @@ -1,6 +1,8 @@ + + + + + + + + +
+ + +
+ + + + + +
+ + +
+ +
From 182c71e49a9f2462ee781706423e5be938fe94fe Mon Sep 17 00:00:00 2001 From: pbruk Date: Fri, 14 Aug 2015 09:42:58 -0400 Subject: [PATCH 37/44] Change line-height of HX --- style.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/style.css b/style.css index 07c8bdb..f6cb842 100644 --- a/style.css +++ b/style.css @@ -96,6 +96,7 @@ h1.child-page-title { .child-page-title a { font-size: 21px; font-size: 1.5rem; + line-height: 1; } .siteTitle h1 { @@ -239,13 +240,6 @@ h1.child-page-title { width: 100%; } -.mainContent.hasLeftNav { - border-left: 1px solid #eceaea; - float: left; - padding-left: 1em; - width: 61.47%; -} - .mainContent h2 { margin-bottom: 10px; } @@ -260,17 +254,23 @@ h1.child-page-title { padding: 0 20px 20px 0; } +.entry-content h1 { + line-height: 1; +} + .entry-content h2 { font-family: 'Open Sans', sans-serif; font-size: 24px; font-size: 1.5rem; - line-height: 1.5; + line-height: 1; } .entry-content h3 { font-size: 16px; font-size: 1rem; margin: 1em 0; + font-weight: 600; + line-height: 1; } .entry-content h2:first-of-type, From a1d61b3ced83de716cb782a3a2377c49de10f844 Mon Sep 17 00:00:00 2001 From: pbruk Date: Wed, 26 Aug 2015 13:06:53 -0400 Subject: [PATCH 38/44] Adjust spacing of page-title and size of image --- style.css | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/style.css b/style.css index 07c8bdb..42b10c2 100644 --- a/style.css +++ b/style.css @@ -74,17 +74,17 @@ h1, h2, h3, h4, h5, h6 { .childTheme .siteTitle.hasImage .box1 { margin-top: 0.75rem; - width: 50%; + width: 75%; } .childTheme .title-page.hasImage .box1 { margin-top: 0.75rem; - width: 50%; + width: 75%; } .childTheme .title-page.hasImage .box2 { margin-left: 1em; - width: 50%; + width: 25%; } h1.child-page-title { @@ -96,6 +96,7 @@ h1.child-page-title { .child-page-title a { font-size: 21px; font-size: 1.5rem; + line-height: 1; } .siteTitle h1 { @@ -160,7 +161,7 @@ h1.child-page-title { .headerImage img { display: block; - height: auto; + height: 120px; margin: 0 auto; position: relative; vertical-align: middle; @@ -239,17 +240,6 @@ h1.child-page-title { width: 100%; } -.mainContent.hasLeftNav { - border-left: 1px solid #eceaea; - float: left; - padding-left: 1em; - width: 61.47%; -} - -.mainContent h2 { - margin-bottom: 10px; -} - .mainContent h3 { line-height: 1.5; } @@ -260,17 +250,15 @@ h1.child-page-title { padding: 0 20px 20px 0; } +.entry-content h1 { + line-height: 1; +} + .entry-content h2 { font-family: 'Open Sans', sans-serif; font-size: 24px; font-size: 1.5rem; - line-height: 1.5; -} - -.entry-content h3 { - font-size: 16px; - font-size: 1rem; - margin: 1em 0; + line-height: 1; } .entry-content h2:first-of-type, From 2a6475648a8b06181ec2101335dc37fd0bf07e9f Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:00:56 -0400 Subject: [PATCH 39/44] Removed --- page-3col.php | 41 ----------------------------------------- page-full.php | 34 ---------------------------------- page-hasSidebar.php | 38 -------------------------------------- page-home.php | 41 ----------------------------------------- page-nav-full.php | 41 ----------------------------------------- 5 files changed, 195 deletions(-) delete mode 100644 page-3col.php delete mode 100644 page-full.php delete mode 100644 page-hasSidebar.php delete mode 100644 page-home.php delete mode 100644 page-nav-full.php diff --git a/page-3col.php b/page-3col.php deleted file mode 100644 index 320f42a..0000000 --- a/page-3col.php +++ /dev/null @@ -1,41 +0,0 @@ -ID == $post->ID; - - - -get_header(); ?> - - - -
- - - -
- - - -
- - - - -
- -
- - - - \ No newline at end of file diff --git a/page-full.php b/page-full.php deleted file mode 100644 index 3384ea4..0000000 --- a/page-full.php +++ /dev/null @@ -1,34 +0,0 @@ -ID == $post->ID; - - -get_header(); ?> - - - -
- -
- -
- -
- - - - \ No newline at end of file diff --git a/page-hasSidebar.php b/page-hasSidebar.php deleted file mode 100644 index e6628be..0000000 --- a/page-hasSidebar.php +++ /dev/null @@ -1,38 +0,0 @@ -ID == $post->ID; - - -get_header(); ?> - - - - - -
- - - -
- - - - - -
- -
- - - - \ No newline at end of file diff --git a/page-home.php b/page-home.php deleted file mode 100644 index 510c806..0000000 --- a/page-home.php +++ /dev/null @@ -1,41 +0,0 @@ -ID == $post->ID; - - -get_header(); ?> - - - - - -
- - - -
- - - - - -
- -
- - - - \ No newline at end of file diff --git a/page-nav-full.php b/page-nav-full.php deleted file mode 100644 index 129fa0b..0000000 --- a/page-nav-full.php +++ /dev/null @@ -1,41 +0,0 @@ -ID == $post->ID; - - -get_header(); ?> - - - -
- - - -
- -
- - - - -
- -
- - - - \ No newline at end of file From 70aab25ce2708e503edfdb97bae2a406048fd468 Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:01:17 -0400 Subject: [PATCH 40/44] Version 1.1.11 --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 42b10c2..3f0a0e8 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ Theme Name: MIT Libraries Child NEW Author: Lightning Trumpet & MIT Libraries Author URI: http://wordpress.org/ -Version: 1.1.7 +Version: 1.1.11 Template: libraries From fbb98d027578ea2e1011b1a97eb15b093cfd8b64 Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:02:05 -0400 Subject: [PATCH 41/44] Deprecated to temporary folder --- templates-old/page-3col.php.old | 41 +++++++++++++++++++++++++++ templates-old/page-full.php.old | 34 ++++++++++++++++++++++ templates-old/page-hasSidebar.php.old | 38 +++++++++++++++++++++++++ templates-old/page-home.php.old | 41 +++++++++++++++++++++++++++ templates-old/page-nav-full.php.old | 41 +++++++++++++++++++++++++++ 5 files changed, 195 insertions(+) create mode 100644 templates-old/page-3col.php.old create mode 100644 templates-old/page-full.php.old create mode 100644 templates-old/page-hasSidebar.php.old create mode 100644 templates-old/page-home.php.old create mode 100644 templates-old/page-nav-full.php.old diff --git a/templates-old/page-3col.php.old b/templates-old/page-3col.php.old new file mode 100644 index 0000000..320f42a --- /dev/null +++ b/templates-old/page-3col.php.old @@ -0,0 +1,41 @@ +ID == $post->ID; + + + +get_header(); ?> + + + +
+ + + +
+ + + +
+ + + + +
+ +
+ + + + \ No newline at end of file diff --git a/templates-old/page-full.php.old b/templates-old/page-full.php.old new file mode 100644 index 0000000..3384ea4 --- /dev/null +++ b/templates-old/page-full.php.old @@ -0,0 +1,34 @@ +ID == $post->ID; + + +get_header(); ?> + + + +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/templates-old/page-hasSidebar.php.old b/templates-old/page-hasSidebar.php.old new file mode 100644 index 0000000..e6628be --- /dev/null +++ b/templates-old/page-hasSidebar.php.old @@ -0,0 +1,38 @@ +ID == $post->ID; + + +get_header(); ?> + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/templates-old/page-home.php.old b/templates-old/page-home.php.old new file mode 100644 index 0000000..510c806 --- /dev/null +++ b/templates-old/page-home.php.old @@ -0,0 +1,41 @@ +ID == $post->ID; + + +get_header(); ?> + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/templates-old/page-nav-full.php.old b/templates-old/page-nav-full.php.old new file mode 100644 index 0000000..129fa0b --- /dev/null +++ b/templates-old/page-nav-full.php.old @@ -0,0 +1,41 @@ +ID == $post->ID; + + +get_header(); ?> + + + +
+ + + +
+ +
+ + + + +
+ +
+ + + + \ No newline at end of file From abf74c62a2400085fd66c463aac3ef7209ff718a Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:02:25 -0400 Subject: [PATCH 42/44] Added --- navwalker.php | 209 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 navwalker.php diff --git a/navwalker.php b/navwalker.php new file mode 100644 index 0000000..59f4d53 --- /dev/null +++ b/navwalker.php @@ -0,0 +1,209 @@ +\n"; + } + + /** + * @see Walker::start_el() + * @since 3.0.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $item Menu item data object. + * @param int $depth Depth of menu item. Used for padding. + * @param int $current_page Menu item ID. + * @param object $args + */ + public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { + $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; + + /** + * Dividers, Headers or Disabled + * ============================= + * Determine whether the item is a Divider, Header, Disabled or regular + * menu item. To prevent errors we use the strcasecmp() function to so a + * comparison that is not case sensitive. The strcasecmp() function returns + * a 0 if the strings are equal. + */ + if ( strcasecmp( $item->attr_title, 'divider' ) == 0 && $depth === 1 ) { + $output .= $indent . ''; + $fb_output .= ''; + + if ( $container ) + $fb_output .= ''; + + echo $fb_output; + } + } +} From b0bac85c8b8718379ade93fe075526cd40758ab1 Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:02:39 -0400 Subject: [PATCH 43/44] Added --- README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 From b4f033856b8f763c1e0fbc75c4a3a890ee71d158 Mon Sep 17 00:00:00 2001 From: pbruk Date: Thu, 27 Aug 2015 15:03:35 -0400 Subject: [PATCH 44/44] Version 1.1.11 --- category.php | 2 +- functions.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/category.php b/category.php index 65fe9f4..2b22d33 100644 --- a/category.php +++ b/category.php @@ -23,7 +23,7 @@ -
+
diff --git a/functions.php b/functions.php index 62d6079..3f11c62 100644 --- a/functions.php +++ b/functions.php @@ -94,4 +94,7 @@ function my_mce_buttons_2($buttons) { } add_filter('mce_buttons_2', 'my_mce_buttons_2'); -endif; \ No newline at end of file +endif; + + +