I hereby claim:
- I am hsnyc on github.
- I am hsnyc (https://keybase.io/hsnyc) on keybase.
- I have a public key whose fingerprint is 2B66 14BF E964 DE6E 0381 FE03 AA1A 0ABC 8B4A 5097
To claim this, I am signing this object:
.video-container { | |
position: relative; | |
padding-bottom: 75%; | |
padding-top: 25px; | |
overflow: hidden; | |
margin-bottom: 20px; | |
} | |
.video-container iframe { | |
position: absolute; |
$(function() { | |
$('a[href*="#"]:not([href="#"])').click(function() { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
if (target.length) { | |
$('html, body').animate({ | |
scrollTop: target.offset().top | |
}, 2000, 'easeOutBack'); | |
return false; |
#back-to-top { | |
position: fixed; | |
bottom: 40px; | |
right: 40px; | |
z-index: 9999; | |
width: 32px; | |
height: 32px; | |
text-align: center; | |
line-height: 30px; | |
background: #f5f5f5; |
select { | |
-webkit-appearance: none; | |
-webkit-border-radius: 0px; | |
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='#444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>"); | |
background-color: #ffffff; | |
background-position: 100% 50%; | |
background-repeat: no-repeat; | |
} | |
/* You should use a more specific selector appropiate to your project |
/* Changing the Site URL for local testing */ | |
define('WP_HOME', 'http://mytestingurl.com'); | |
define('WP_SITEURL', 'http://mytestingurl.com'); | |
/* https://codex.wordpress.org/Changing_The_Site_URL */ |
/* Hide Theme Editor Menu */ | |
function remove_editor_menu() { | |
remove_action('admin_menu', '_add_themes_utility_last', 101); | |
} | |
add_action('_admin_menu', 'remove_editor_menu', 1); | |
/* add to your themes funtions.php file to hide the theme editor menu option. | |
You can still access the editor from the url: http://mywebsite.com/wp-admin/theme-editor.php | |
*/ |
#Sample Directory Structure | |
# root (git repo) | |
# /(WordPress Site 1)/app/public/wp-content/themes | |
# /(WordPress Site 2)/app/public/wp-content/themes | |
# /(WordPress Site 3)/app/public/wp-content/themes | |
# Ignores everything in the site's directories except the `app/public` folder. | |
/*/* | |
!*/app | |
*/app/* |
I hereby claim:
To claim this, I am signing this object:
/* Back to Top Icon */ | |
#btt-icon { | |
width: 46px; | |
height: 50px; | |
position: fixed; | |
bottom: 40px; | |
right: 40px; | |
background-color: rgba(136, 136, 136, 0.18); | |
cursor: pointer; | |
border-radius: .2rem; |
/* place this code in your functions.php file */ | |
/*=== LOGIN Page Functions Start ===*/ | |
//Loads the login page css styles | |
function custom_login() { | |
echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo('stylesheet_directory') . '/login/login-styles.css" />'; | |
} | |
add_action('login_head', 'custom_login'); |