diff --git a/_notes/dwsync.xml b/_notes/dwsync.xml index 5def9f0..3aae025 100644 --- a/_notes/dwsync.xml +++ b/_notes/dwsync.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/content-single.php b/content-single.php index fc0fd23..1d6af34 100755 --- a/content-single.php +++ b/content-single.php @@ -49,17 +49,17 @@ if ( ! cs_categorized_blog() ) { // This blog only has 1 category so we just need to worry about tags in the meta text if ( '' != $tag_list ) { - $meta_text = __( 'This entry was tagged %2$s. Bookmark the permalink.', 'cs' ); + $meta_text = __( 'This entry was tagged %2$s.', 'cs' ); } else { - $meta_text = __( 'Bookmark the permalink.', 'cs' ); + $meta_text = __( '', 'cs' ); } } else { // But this blog has loads of categories so we should probably display them here if ( '' != $tag_list ) { - $meta_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'cs' ); + $meta_text = __( 'This entry was posted in %1$s and tagged %2$s.', 'cs' ); } else { - $meta_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'cs' ); + $meta_text = __( 'This entry was posted in %1$s.', 'cs' ); } } // end check for categories on this blog diff --git a/js/min/cs.min.js b/js/min/cs.min.js index a7da973..7e97168 100644 --- a/js/min/cs.min.js +++ b/js/min/cs.min.js @@ -1 +1 @@ -jQuery(document).ready(function(a){function i(){var i=a(this).attr("href").toLowerCase(),t=a(this).children("img").length,e=null,n=null,l=null,p=null;if("#"!=i.charAt(0)&&0==t&&"/"!=i.charAt(0)){var o=i.split("/");e=o[2],n=o[o.length-1]||"";var c=n.split(".");if(c[1]&&a.each(d,function(i,t){t==c[1]&&(p=a(''),l=c[1],p.append("."+l))}),null!=p&&a(this).append(p),e!=s&&null!=e){var r='';a(this).addClass("external").append(r)}}}function t(i){var t=a("
");t.addClass("alert alert-danger accessibility-fail-msg"),t.width(i.width+"px");var e=a("");e.addClass("glyphicon glyphicon-ban-circle");var n=a("");n.append(' This image needs a valid Alt tag. '),t.append(e).append(n),a(i).after(t)}function e(){var i=document.getElementById("page").clientHeight,t=document.getElementById("footers").clientHeight,e=i+t,n=window.innerHeight;n>=e?a("body").addClass("sticky"):a("body").removeClass("sticky")}var n=location.href,l=n.split("/"),s=l[2],d=["3g2","3gp","avi","doc","docx","dotx","gif","jpg","jpeg","m4a","mid","midi","mov","mp3","mp4","mpg","odt","ogg","ogv","pdf","png","ppt","pptx","xls","xlsx","wav","wmv","zip","vsd"],p=["#comments","#site-navigation","article.page"];a.each(p,function(t,e){a(e+" a").each(i)}),a(".uup-list .has-image").each(function(){var i=a(this).find(".uup-text"),t=a(this).find("img:first"),e=i.height(),n=t.outerHeight();if(n>e){var l=n-e;i.css("padding-top",l/2)}}),a("#page img").each(function(){alt=a(this).attr("alt"),alt?(alt=alt.toLowerCase(),(alt.indexOf(".jpg")>=0||alt.indexOf(".png")>=0||alt.indexOf(".gif")>=0)&&(a(this).addClass("accessibility-fail"),t(this))):(a(this).addClass("accessibility-fail"),t(this))}),a("#page table").each(function(){a(this).addClass("table")}),window.onload=function(){if(placeholderSupport="placeholder"in document.createElement("input"),0!=placeholderSupport){var i=a("main");i.addClass("supports-placeholder")}e()},window.onresize=function(){e()}}); \ No newline at end of file +jQuery(document).ready(function(a){function i(){var i=a(this).attr("href").toLowerCase(),t=a(this).children("img").length,e=null,n=null,l=null,p=null;if("#"!=i.charAt(0)&&0==t&&"/"!=i.charAt(0)){var o=i.split("/");e=o[2],n=o[o.length-1]||"";var c=n.split(".");if(c[1]&&a.each(d,function(i,t){t==c[1]&&(p=a(''),l=c[1],p.append("."+l))}),null!=p&&a(this).append(p),e!=s&&null!=e){var r='';a(this).addClass("external").append(r)}}}function t(i){var t=a("
");t.addClass("alert alert-danger accessibility-fail-msg"),t.width(i.width+"px");var e=a("");e.addClass("glyphicon glyphicon-ban-circle");var n=a("");n.append(' This image needs a valid Alt tag. '),t.append(e).append(n),a(i).after(t)}function e(){var i=document.getElementById("page").clientHeight,t=document.getElementById("footers").clientHeight,e=i+t,n=a(window).innerHeight();n>=e?a("body").addClass("sticky"):a("body").removeClass("sticky")}var n=location.href,l=n.split("/"),s=l[2],d=["3g2","3gp","avi","doc","docx","dotx","gif","jpg","jpeg","m4a","mid","midi","mov","mp3","mp4","mpg","odt","ogg","ogv","pdf","png","ppt","pptx","xls","xlsx","wav","wmv","zip","vsd"],p=["#comments","#site-navigation","article.page"];a.each(p,function(t,e){a(e+" a").each(i)}),a(".uup-list .has-image").each(function(){var i=a(this).find(".uup-text"),t=a(this).find("img:first"),e=i.height(),n=t.outerHeight();if(n>e){var l=n-e;i.css("padding-top",l/2)}}),a("#page img").each(function(){alt=a(this).attr("alt"),alt?(alt=alt.toLowerCase(),(alt.indexOf(".jpg")>=0||alt.indexOf(".png")>=0||alt.indexOf(".gif")>=0)&&(a(this).addClass("accessibility-fail"),t(this))):(a(this).addClass("accessibility-fail"),t(this))}),a("#page table").each(function(){a(this).addClass("table")}),window.onload=function(){if(placeholderSupport="placeholder"in document.createElement("input"),0!=placeholderSupport){var i=a("main");i.addClass("supports-placeholder")}e()},window.onresize=function(){e()}}); \ No newline at end of file diff --git a/sass/variables.scss b/sass/variables.scss index d4930f1..1eaabfd 100644 --- a/sass/variables.scss +++ b/sass/variables.scss @@ -36,35 +36,35 @@ $nav-secondary-active-link-hover-color: $component-active-color !defaul /* == Widgets */ -$widget-border-color: #ccc !default; -$widget-border-radius: $border-radius-base !default; -$widget-border-width: 1px !default; -$widget-margin: 0 0 1.5em 0 !default; -$widget-padding: 0 !default; -$widget-bg: #fff !default; -$widget-content-margin: 1em; -$widget-color: #000 !default; -$widget-size: 1em !default; -$widget-link-color: $link-color !default; +$widget-border-color: #ccc !default; +$widget-border-radius: $border-radius-base !default; +$widget-border-width: 1px !default; +$widget-margin: 0 0 1.5em 0 !default; +$widget-padding: 0 !default; +$widget-bg: #fff !default; +$widget-content-margin: 1em; +$widget-color: #000 !default; +$widget-size: 1em !default; +$widget-link-color: $link-color !default; $widget-link-hover: $link-hover-color !default; -$widget-head-bg: $widget-bg !default; -$widget-head-color: $widget-color !default; -$widget-head-border-width: 0 0 1px 0 !default; -$widget-head-border-color: $widget-border-color !default; -$widget-head-padding: .5em .5em .5em 1em !default; -$widget-head-size: $widget-size !default; +$widget-head-bg: $widget-bg !default; +$widget-head-color: $widget-color !default; +$widget-head-border-width: 0 0 1px 0 !default; +$widget-head-border-color: $widget-border-color !default; +$widget-head-padding: .5em .5em .5em 1em !default; +$widget-head-size: $widget-size !default; /* Sepcific Widgets */ // Events Calendar (icons) $uc-ecw-month-bg: #ccc !default; $uc-ecw-month-color: #333 !default; -$uc-ecw-day-bg: #eee !default; -$uc-ecw-day-color: #333 !default; +$uc-ecw-day-bg: #eee !default; +$uc-ecw-day-color: #333 !default; $uc-ecw-title-color: $widget-link-color !default; $uc-ecw-title-hover: $widget-link-hover !default; -$uc-ecw-time-color: lighten($widget-link-color, 20%) !default; -$uc-ecw-time-hover: lighten($widget-link-hover, 20%) !default; +$uc-ecw-time-color: lighten($widget-link-color, 20%) !default; +$uc-ecw-time-hover: lighten($widget-link-hover, 20%) !default; @@ -72,7 +72,7 @@ $uc-ecw-time-hover: lighten($widget-link-hover, 20%) !default; $footers-margin: 1.5em 0 0 0 !default; $footers-bg: #eee !default; -$footers-color: #333 !default; +$footers-color: #333 !default; $footers-link-color: $link-color !default; $footers-link-hover: $link-hover-color !default;