Only load Adsense in prod. and reset on each page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user