@@ -54,7 +54,7 @@ relative_path: ../../
Looking for more? Check out the
examples.
-
+
{% include ads/carbon-light-vertical.html %}
diff --git a/src/assets/less/site-2.3.2/responsive-768px-979px.less b/src/assets/less/site-2.3.2/responsive-768px-979px.less
index 3d3ebcac7..0f18d7cd4 100755
--- a/src/assets/less/site-2.3.2/responsive-768px-979px.less
+++ b/src/assets/less/site-2.3.2/responsive-768px-979px.less
@@ -46,9 +46,6 @@
margin: 0;
font-size: 19px;
}
- @ad-width: 302px;
- .span8 { width: 476px + 228px - @ad-width; }
- .span4 { width: @ad-width; }
}
#why, #whats-new, #new-styles {
diff --git a/src/assets/less/site-3.0.0.less b/src/assets/less/site-3.0.0.less
index f8eb0a5c6..c91b0b188 100644
--- a/src/assets/less/site-3.0.0.less
+++ b/src/assets/less/site-3.0.0.less
@@ -20,3 +20,5 @@
@import "site/carbonad";
@import "site/responsive/screen-lg";
+@import "site/responsive/screen-sm";
+@import "site/responsive/screen-xs";
diff --git a/src/assets/less/site/carbonad.less b/src/assets/less/site/carbonad.less
index d32120fb0..5e6033b55 100644
--- a/src/assets/less/site/carbonad.less
+++ b/src/assets/less/site/carbonad.less
@@ -3,7 +3,10 @@
background: @table-bg-accent;
border-color: @table-border-color;
border-radius: (@border-radius-base);
+ border-width: 1px;
float: right;
margin-left: @buffer-lg;
}
}
+
+.info-ad #carbonads-container .carbonad { float: none; }
\ No newline at end of file
diff --git a/src/assets/less/site/responsive/screen-sm.less b/src/assets/less/site/responsive/screen-sm.less
new file mode 100644
index 000000000..4d2650ee9
--- /dev/null
+++ b/src/assets/less/site/responsive/screen-sm.less
@@ -0,0 +1,47 @@
+@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
+ #icon-carousel {
+ @size: 200px;
+ font-size: @size;
+ line-height: @size + 5;
+ .carousel-control {
+ top: @size + 30px;
+ .square(30px);
+ font-size: 40px;
+ line-height: 40px;
+ left: 228/2 - 40px;
+ &.right {
+ right: 228/2 - 40px;
+ }
+ }
+ }
+
+ .jumbotron-carousel {
+ padding: 50px 0;
+ h1 { font-size: 65px; }
+ p { font-size: 25px; }
+ .shameless-self-promotion { font-size: 12px; }
+ }
+
+ .jumbotron-ad {
+ p { font-size: 28px; }
+ }
+
+ .jumbotron-icon {
+ h1 small {
+ display: block;
+ margin-top: 15px;
+ margin-left: 0;
+ line-height: 20px;
+ }
+ }
+
+ .stripe-ad {
+ .lead {
+ margin: 0;
+ padding-top: 5px;
+ font-size: 19px;
+ }
+ }
+
+ .hide-sm { display: none; }
+}
diff --git a/src/assets/less/site/responsive/screen-xs.less b/src/assets/less/site/responsive/screen-xs.less
new file mode 100644
index 000000000..96a93e5df
--- /dev/null
+++ b/src/assets/less/site/responsive/screen-xs.less
@@ -0,0 +1,68 @@
+@media (max-width: @screen-xs-max) {
+ #icon-carousel {
+ @size: 180px;
+ font-size: @size;
+ line-height: @size;
+ width: 280px;
+ margin: 30px auto 0;
+ .carousel-control {
+ top: @size / 2;
+ .square(44px);
+ font-size: 44px;
+ line-height: 44px;
+ left: -7px;
+ &.right { right: -7px; }
+ }
+ }
+
+ .jumbotron-carousel {
+ h1 { font-size: 58px; }
+ p { font-size: 24px; }
+ .btn-large {
+ font-size: 20px;
+ padding: 14px 26px;
+ }
+ .shameless-self-promotion { font-size: 12px; }
+ }
+
+ .jumbotron-ad {
+ h1 { font-size: 39px; }
+ p {
+ font-size: 20px;
+ margin-bottom: 20px;
+ }
+ }
+
+ .jumbotron-icon {
+ .fa-1, .fa-2, .fa-3, .fa-4, .fa-5, .fa-6 { margin-right: 0; }
+ .fa-6 { font-size: 16em; }
+ h1 small {
+ display: block;
+ margin-top: 15px;
+ margin-left: 0;
+ line-height: 20px;
+ }
+ }
+
+ .stripe-ad .lead {
+ margin-top: @buffer-lg;
+ padding: 0;
+ }
+
+ #carbonads-container {
+ .carbonad {
+ margin-left: 0;
+ margin-top: -20px;
+ float: none;
+ width: 100%;
+ height: 120px;
+ }
+ }
+ #azcarbon {
+ width: 300px;
+ margin: 0 auto;
+ }
+ .info-ad #carbonads-container .carbonad { margin-top: @buffer-lg; }
+
+ .hide-xs { display: none; }
+}
\ No newline at end of file