mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogside.git
synced 2025-08-26 16:48:09 +08:00
Start of 1.1.2
This commit is contained in:
parent
053c3450f2
commit
73914b4074
6 changed files with 63 additions and 30 deletions
|
@ -633,18 +633,6 @@ if ( ! function_exists( 'blogside_html_js_class' ) ) {
|
|||
add_action( 'wp_head', 'blogside_html_js_class', 1 );
|
||||
|
||||
|
||||
/* Script for no-js / js class
|
||||
/* ------------------------------------ */
|
||||
if ( ! function_exists( 'blogside_html_js_class' ) ) {
|
||||
|
||||
function blogside_html_js_class () {
|
||||
echo '<script>document.documentElement.className = document.documentElement.className.replace("no-js","js");</script>'. "\n";
|
||||
}
|
||||
|
||||
}
|
||||
add_action( 'wp_head', 'blogside_html_js_class', 1 );
|
||||
|
||||
|
||||
/* Admin panel css
|
||||
/* ------------------------------------ */
|
||||
if ( ! function_exists( 'blogside_admin_panel_css' ) ) {
|
||||
|
@ -686,10 +674,6 @@ if ( ! function_exists( 'blogside_plugins' ) ) {
|
|||
array(
|
||||
'name' => esc_html__( 'WP-PageNavi', 'blogside' ),
|
||||
'slug' => 'wp-pagenavi',
|
||||
),
|
||||
array(
|
||||
'name' => esc_html__( 'Responsive Lightbox', 'blogside' ),
|
||||
'slug' => 'responsive-lightbox',
|
||||
)
|
||||
);
|
||||
tgmpa( $plugins );
|
||||
|
@ -766,3 +750,14 @@ if ( ! function_exists( 'blogside_flexslider_gallery' ) ) {
|
|||
}
|
||||
add_action( 'wp_enqueue_scripts', 'blogside_flexslider_gallery' );
|
||||
|
||||
|
||||
/* Accessibility IE11 fix - https://git.io/vWdr2
|
||||
/* ------------------------------------ */
|
||||
function blogside_skip_link_focus_fix() {
|
||||
?>
|
||||
<script>
|
||||
/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_print_footer_scripts', 'blogside_skip_link_focus_fix' );
|
|
@ -139,7 +139,11 @@ a,
|
|||
.child-menu .current_page_item > a,
|
||||
.wp-pagenavi a { color: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
|
||||
.themeform input[type="button"],
|
||||
.themeform input[type="reset"],
|
||||
.themeform input[type="submit"],
|
||||
.themeform button[type="button"],
|
||||
.themeform button[type="reset"],
|
||||
.themeform button[type="submit"],
|
||||
.sidebar-toggle,
|
||||
#profile .social-links .social-tooltip:hover,
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } ?>
|
||||
|
||||
<a class="skip-link screen-reader-text" href="#page"><?php _e( 'Skip to content', 'blogside' ); ?></a>
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<header id="header">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Blogside\n"
|
||||
"POT-Creation-Date: 2019-02-17 15:02+0100\n"
|
||||
"POT-Creation-Date: 2019-07-27 11:58+0200\n"
|
||||
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
@ -10,7 +10,7 @@ msgstr ""
|
|||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"X-Generator: Poedit 2.2.3\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_x;_ex;_n;_nx;_n_noop;_nx_noop;"
|
||||
"translate_nooped_plural;number_format_i18n;date_i18n;esc_html__;esc_html_e;"
|
||||
"esc_html_x;esc_attr__;esc_attr_e;esc_attr_x\n"
|
||||
|
@ -133,26 +133,22 @@ msgstr ""
|
|||
msgid "Footer 4"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:675
|
||||
#: functions.php:663
|
||||
msgid "Alx Extensions"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:679
|
||||
#: functions.php:667
|
||||
msgid "Meta Box"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:683
|
||||
#: functions.php:671
|
||||
msgid "Regenerate Thumbnails"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:687
|
||||
#: functions.php:675
|
||||
msgid "WP-PageNavi"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:691
|
||||
msgid "Responsive Lightbox"
|
||||
msgstr ""
|
||||
|
||||
#: functions/meta-boxes.php:21
|
||||
msgid "Page Options"
|
||||
msgstr ""
|
||||
|
@ -759,6 +755,10 @@ msgstr ""
|
|||
msgid "Give your thumbnails and layout images rounded corners"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:17
|
||||
msgid "Skip to content"
|
||||
msgstr ""
|
||||
|
||||
#: inc/page-title.php:24
|
||||
msgid "Search result"
|
||||
msgstr ""
|
||||
|
|
11
readme.txt
11
readme.txt
|
@ -2,7 +2,7 @@
|
|||
Contributors: alxmedia
|
||||
Requires at least: 5.0
|
||||
Tested up to: 5.0
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
License: GPLv3
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0
|
||||
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background
|
||||
|
@ -78,6 +78,15 @@ Sidebar images
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.2 - 2019-07-27 =
|
||||
* Added theme accessibility with skip links
|
||||
* Added wp_body_open to header.php
|
||||
* Fixed WP-PageNavi styling issue
|
||||
* Fixed themeforms styling issue
|
||||
* Updated language files
|
||||
* Removed Responsive Lightbox as recommended plugin
|
||||
* Updated theme screenshot and readme credits, now using images from stocksnap.io only
|
||||
|
||||
= 1.1.1 - 2019-03-11 =
|
||||
* Updated to Kirki 3.0.38
|
||||
* Changed all alxmedia.se links to alx.media
|
||||
|
|
27
style.css
27
style.css
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
Theme Name: Blogside
|
||||
Theme URI: http://alx.media/themes/blogside/
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
Description: <a href="http://alx.media/themes/blogside/">Blogside</a> is a responsive 100% high resolution theme for personal blogs. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-1 sidebars to the left or right that can be uniquely specified for each page or post, 300px fixed width sidebar, 0-4 footer widget columns, almost zero layout images, related posts and post nav, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features.
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alx.media
|
||||
|
@ -167,6 +167,7 @@ input, textarea, button, select, label { font-family: inherit; }
|
|||
.themeform label { font-size: 14px; }
|
||||
.themeform input::-moz-focus-inner,
|
||||
.themeform button::-moz-focus-inner { border: 0; padding: 0; }
|
||||
.themeform input[type="search"],
|
||||
.themeform input[type="text"],
|
||||
.themeform input[type="password"],
|
||||
.themeform input[type="email"],
|
||||
|
@ -185,6 +186,7 @@ input, textarea, button, select, label { font-family: inherit; }
|
|||
.themeform input[type="checkbox"] { -moz-appearance: checkbox; -webkit-appearance: checkbox; }
|
||||
.themeform input[type="radio"] { -moz-appearance: radio; -webkit-appearance: radio; }
|
||||
.themeform label { font-weight: 600; color: #222; }
|
||||
.themeform input[type="search"],
|
||||
.themeform input[type="text"],
|
||||
.themeform input[type="password"],
|
||||
.themeform input[type="email"],
|
||||
|
@ -193,6 +195,7 @@ input, textarea, button, select, label { font-family: inherit; }
|
|||
.themeform input[type="number"],
|
||||
.themeform select,
|
||||
.themeform textarea { background: #fff; border: 2px solid #eee; color: #777; display: block; max-width: 100%; outline: none; padding: 7px 8px; }
|
||||
.themeform input[type="search"]:focus,
|
||||
.themeform input[type="text"]:focus,
|
||||
.themeform input[type="password"]:focus,
|
||||
.themeform input[type="email"]:focus,
|
||||
|
@ -202,9 +205,17 @@ input, textarea, button, select, label { font-family: inherit; }
|
|||
.themeform select:focus,
|
||||
.themeform textarea:focus { border-color: #ddd; color: #222; -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); box-shadow: 0 0 3px rgba(0,0,0,0.1); }
|
||||
.themeform label .required { color: #55acee; }
|
||||
.themeform input[type="button"],
|
||||
.themeform input[type="reset"],
|
||||
.themeform input[type="submit"],
|
||||
.themeform button[type="button"],
|
||||
.themeform button[type="reset"],
|
||||
.themeform button[type="submit"] { background: #55acee; color: #fff; padding: 8px 14px; font-weight: 600; display: inline-block; border: none; cursor: pointer; -webkit-border-radius: 3px; border-radius: 3px; }
|
||||
.themeform input[type="button"]:hover,
|
||||
.themeform input[type="reset"]:hover,
|
||||
.themeform input[type="submit"]:hover,
|
||||
.themeform button[type="button"]:hover,
|
||||
.themeform button[type="reset"]:hover,
|
||||
.themeform button[type="submit"]:hover { background: #222; }
|
||||
|
||||
.themeform.searchform div { position: relative; }
|
||||
|
@ -1338,7 +1349,7 @@ li #reply-title { font-size: 0; margin: 0!important; padding: 0; height: 0; bord
|
|||
/* ------------------------------------ */
|
||||
.wp-pagenavi { text-align: right; font-weight: 600; line-height: 20px; float: none; margin-right: -2px; text-align: center; }
|
||||
.wp-pagenavi a,
|
||||
.wp-pagenavi span { color: #aaa; font-size: 16px; padding: 7px 8px; display: inline; margin: 0 2px; }
|
||||
.wp-pagenavi span { color: #aaa; font-size: 16px; padding: 7px 8px; display: inline-block; margin: 0 2px 10px; }
|
||||
.wp-pagenavi span.pages { font-size: 17px; font-weight: 300; display: block; margin-bottom: 1em!important; border: none!important; }
|
||||
.wp-pagenavi span.pages:before { content: "\f15c"; font-family: FontAwesome; margin-right: 6px; }
|
||||
.wp-pagenavi span.extend { border: none!important; border-bottom: 3px solid transparent; border-top: 1px solid transparent; }
|
||||
|
@ -1493,4 +1504,14 @@ user-select: none;
|
|||
|
||||
#profile-image #profile-overlay { background:url(img/profile-overlay@2x.png) no-repeat top left; background-size: 400px 60px; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- *
|
||||
* Accessibility
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Text meant only for screen readers. */
|
||||
.screen-reader-text{ border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute!important; width: 1px; word-wrap: normal!important; }
|
||||
.screen-reader-text:focus { background-color: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1); clip: auto!important; clip-path: none; color: #333; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; right: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
|
||||
/* Do not show the outline on the skip link target. */
|
||||
#page[tabindex="-1"]:focus{ outline: 0; }
|
Loading…
Add table
Add a link
Reference in a new issue