فهرست منبع

A few extra tweaks.

This also temporarily disables the cookie monster, but I'll come back to that, I pwomise.
Andrea Franceschini 4 سال پیش
والد
کامیت
81826763bf
4فایلهای تغییر یافته به همراه27 افزوده شده و 27 حذف شده
  1. 0 0
      css/print.css
  2. 0 0
      css/screen.css
  3. 26 26
      js/scripts.js
  4. 1 1
      pages/_footer.php

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
css/print.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
css/screen.css


+ 26 - 26
js/scripts.js

@@ -8,32 +8,32 @@ function debugRow(y, height) {
 
 $(function() {
 	// EU COOKIE MONSTER
-	var eupref = Cookies.get('eu-disable');
-	if(eupref == undefined) {
-		var cmaside = $('<aside id="cookie_monster">'+
-						'	<div class="content">'+
-						'		<p>Hello, did you know that I am using <strong>cookies</strong> in this website? I promise they are not tracking you, but I can disable them if you want.</p>'+
-						'		<button class="button yes" type="button" data-disable="true">Disable them</button><button class="button no" data-disable="false">It\'s ok</button>'+
-						'	</div>'+
-						'</aside>');
-		$('#top_banner').prepend(cmaside)
-		$('#cookie_monster button').click(function(e) {
-			t = $(e.target);
-			if(t.data('disable')) {
-				Cookies.set('eu-disable', true, { expires: 365 });
-			} else {
-				Cookies.set('eu-disable', false, { expires: 365 });
-			}
-			cmaside.fadeOut();
-		});
-	} else {
-		Cookies.set('eu-disable', Cookies.get('eu-disable'), {expires: 365});
-		if(Cookies.get('eu-disable') == "true") {
-			window['ga-disable-UA-1176762-5'] = true;
-		} else {
-			window['ga-disable-UA-1176762-5'] = false;
-		}
-	}
+	// var eupref = Cookies.get('eu-disable');
+	// if(eupref == undefined) {
+	// 	var cmaside = $('<aside id="cookie_monster">'+
+	// 					'	<div class="content">'+
+	// 					'		<p>Hello, did you know that I am using <strong>cookies</strong> in this website? I promise they are not tracking you, but I can disable them if you want.</p>'+
+	// 					'		<button class="button yes" type="button" data-disable="true">Disable them</button><button class="button no" data-disable="false">It\'s ok</button>'+
+	// 					'	</div>'+
+	// 					'</aside>');
+	// 	$('#top_banner').prepend(cmaside)
+	// 	$('#cookie_monster button').click(function(e) {
+	// 		t = $(e.target);
+	// 		if(t.data('disable')) {
+	// 			Cookies.set('eu-disable', true, { expires: 365 });
+	// 		} else {
+	// 			Cookies.set('eu-disable', false, { expires: 365 });
+	// 		}
+	// 		cmaside.fadeOut();
+	// 	});
+	// } else {
+	// 	Cookies.set('eu-disable', Cookies.get('eu-disable'), {expires: 365});
+	// 	if(Cookies.get('eu-disable') == "true") {
+	// 		window['ga-disable-UA-1176762-5'] = true;
+	// 	} else {
+	// 		window['ga-disable-UA-1176762-5'] = false;
+	// 	}
+	// }
 	// EU COOKIE MONSTER
 	
 	if(screen.width > 1024 && screen.height > 768 && window.devicePixelRatio > 1) {

+ 1 - 1
pages/_footer.php

@@ -1,5 +1,5 @@
 			<?php if($bodyclasses != 'home page'): ?>
-				<article class="pb-4 print:hidden">
+				<article class="pt-8 pb-4 print:hidden">
 					<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 					<!-- af-footer -->
 					<ins class="adsbygoogle"

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است