Only load Adsense in prod. and reset on each page

This commit is contained in:
Andrew Miner
2015-03-10 21:34:41 -07:00
parent ee75415729
commit 50c3d95440
27 changed files with 214 additions and 117 deletions
-8
View File
@@ -5,14 +5,6 @@ Copyright (C) 2015 by Redwood Labs
All rights reserved.
*/
.adsbygoogle {
margin-top: 3em;
&:first-child {
margin-top: 0;
}
}
.centered {
text-align: center;
}
+24
View File
@@ -0,0 +1,24 @@
/*
Crafting Guide - adsense.scss
Copyright (C) 2015 by Redwood Labs
All rights reserved.
*/
.view__adsense {
display: inline-block;
margin: 3em 0;
&:first-child {
margin-top: 0;
}
&.sidebar_skyscraper {
position: relative; width: 160px !important; height: 600px !important;
}
&.placeholder {
background: rgba(192, 192, 255, 0.5);
border: 0.1em solid $color-gray-medium;
}
}
+1
View File
@@ -5,6 +5,7 @@ Copyright (c) 2014-2015 by Redwood Labs
All rights reserved.
*/
@import 'adsense';
@import 'browse_page';
@import 'crafting_grid';
@import 'craft_page';