Update AdsenseController to show ads to fit space

This commit is contained in:
Andrew Miner
2015-04-22 16:28:27 -07:00
parent a4120fad2f
commit 4ca72fe512
13 changed files with 74 additions and 37 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ All rights reserved.
}
.sidebar {
position: relative; width: 18.75%;
position: relative; width: 18.75%; height: 100%;
display: inline-block;
padding: 1em;
+7 -12
View File
@@ -6,19 +6,14 @@ All rights reserved.
*/
.view__adsense {
display: inline-block;
margin: 3em 0;
&:first-child {
margin-top: 0;
}
.sidebar_skyscraper {
position: relative; width: 160px; height: 600px;
border: 0.1em solid $color-gray-faint;
margin: 3em 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;
&:first-child {
margin-top: 0;
}
}
}