This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This function include screen.css in wp_head() function | |
function enqueue_stylesheets() { | |
wp_register_style("screen", stylesheet_url("screen"), false, false); | |
wp_enqueue_style("screen"); | |
} | |
add_action('wp_enqueue_scripts', 'enqueue_stylesheets'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream gitlab { | |
server 192.168.254.37:80; | |
} | |
server { | |
listen 0.0.0.0:80; | |
server_name gitlab.kohsrv.net; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bgImageInit = function(mobile) { | |
var bg_image = "#{image_path('application/mobile-splash-bg.jpg')}"; | |
$('#main-container').css('background', 'url(' + bg_image + ') right top no-repeat'); | |
if (mobile == true) { | |
$('#main-container').css('background-size', '70%'); | |
} | |
} | |
var mobileInit = function() { | |
var BV = new $.BigVideo({forceAutoplay:is_touch}); |
NewerOlder