Initial commit. State 04.2021.

This commit is contained in:
2021-04-22 17:57:16 +02:00
commit 82781cca41
2974 changed files with 975656 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(){jQuery("#site-navigation li").find("ul").hide();jQuery("#site-navigation li").hover(function(){jQuery(this).find("> ul").slideDown("fast")},function(){jQuery(this).find("ul").hide()});jQuery(".menu-toggle").toggle(function(){jQuery("#site-navigation ul.menu").slideDown();jQuery("#site-navigation div.menu").fadeIn()},function(){jQuery("#site-navigation ul.menu").hide();jQuery("#site-navigation div.menu").hide()});jQuery(".showcase").fadeOut("fast");jQuery("article.grid2").fadeOut();jQuery("#home-title").fadeOut();jQuery(".pagination").fadeOut();jQuery("#social-icons a").tooltipster()});jQuery(function(e){e("#showcase").waypoint(function(){e(".showcase").fadeIn(1500)},{offset:"80%",triggerOnce:!0});e("article.grid2").waypoint(function(){e("article.grid2").fadeIn(1500)},{offset:"80%",triggerOnce:!0});e("#home-title").waypoint(function(){e("#home-title").fadeIn(1500)},{offset:"80%",triggerOnce:!0});e(".pagination").waypoint(function(){e(".pagination").fadeIn(1500)},{offset:"90%",triggerOnce:!0})});

View File

@@ -0,0 +1,66 @@
jQuery(document).ready( function () {
//For Menu Bar
jQuery('#site-navigation li').find('ul').hide();
jQuery('#site-navigation li').hover(
function(){
jQuery(this).find('> ul').slideDown('fast');
},
function(){
jQuery(this).find('ul').hide();
});
jQuery('.menu-toggle').toggle(function() {
jQuery('#site-navigation ul.menu').slideDown();
jQuery('#site-navigation div.menu').fadeIn();
},
function() {
jQuery('#site-navigation ul.menu').hide();
jQuery('#site-navigation div.menu').hide();
});
//Hide showcase items for waypoint to work
jQuery('.showcase').fadeOut('fast');
jQuery('article.grid2').fadeOut();
jQuery('#home-title').fadeOut();
jQuery('.pagination').fadeOut();
//For Tooltips
jQuery('#social-icons a').tooltipster();
});//end ready
//Waypoint Animation
jQuery(function($) {
$('#showcase').waypoint(function() {
$('.showcase').fadeIn(1500);
},
{
offset: '95%',
triggerOnce: true
});
$('article.grid2').waypoint(function() {
$('article.grid2').fadeIn(1500);
},
{
offset: '95%',
triggerOnce: true
});
$('#home-title').waypoint(function() {
$('#home-title').fadeIn(1500);
},
{
offset: '95%',
triggerOnce: true
});
$('.pagination').waypoint(function() {
$('.pagination').fadeIn(1500);
},
{
offset: '95%',
triggerOnce: true
});
});

View File

@@ -0,0 +1,36 @@
/**
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '.site-title a' ).text( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '.site-description' ).text( to );
} );
} );
// Header text color.
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
if ( 'blank' === to ) {
$( '.site-title, .site-description' ).css( {
'clip': 'rect(1px, 1px, 1px, 1px)',
'position': 'absolute'
} );
} else {
$( '.site-title, .site-description' ).css( {
'clip': 'auto',
'color': to,
'position': 'relative'
} );
}
} );
} );
} )( jQuery );

View File

@@ -0,0 +1,34 @@
/**
* navigation.js
*
* Handles toggling the navigation menu for small screens.
*/
( function() {
var container, button, menu;
container = document.getElementById( 'site-navigation' );
if ( ! container )
return;
button = container.getElementsByTagName( 'h1' )[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';
};
} )();

View File

@@ -0,0 +1,19 @@
( function() {
var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
if ( ( is_webkit || is_opera || is_ie ) && 'undefined' !== typeof( document.getElementById ) ) {
var eventMethod = ( window.addEventListener ) ? 'addEventListener' : 'attachEvent';
window[ eventMethod ]( 'hashchange', function() {
var element = document.getElementById( location.hash.substring( 1 ) );
if ( element ) {
if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) )
element.tabIndex = -1;
element.focus();
}
}, false );
}
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long