+
+ {%include ad %}
+
+
{{ content
| replace: 'Examples of incorrect code', '
Examples of incorrect code'
| replace: '
Example of incorrect code', '
Example of incorrect code'
diff --git a/_layouts/rules.liquid b/_layouts/rules.liquid
index e3b7783f6f..692de5bc49 100644
--- a/_layouts/rules.liquid
+++ b/_layouts/rules.liquid
@@ -9,6 +9,10 @@
{% include menu %}
+
+ {%include ad %}
+
+
{{ content
| replace: '(recommended)', ''
| replace: '(fixable)', ''
diff --git a/_pages/demo.liquid b/_pages/demo.liquid
index f833485d25..fdb8c3ad55 100644
--- a/_pages/demo.liquid
+++ b/_pages/demo.liquid
@@ -2,7 +2,7 @@
title: ESLint Demo
layout: demo
---
-
+{% include text-ad %}
Loading...
diff --git a/_pages/team.liquid b/_pages/team.liquid
index af95ae1629..48ec003c39 100644
--- a/_pages/team.liquid
+++ b/_pages/team.liquid
@@ -1,6 +1,7 @@
---
title: Team
layout: doc
+ad: text
---
Team
diff --git a/_pages/users.liquid b/_pages/users.liquid
index 9cc0e95260..ccf52f6165 100644
--- a/_pages/users.liquid
+++ b/_pages/users.liquid
@@ -1,6 +1,7 @@
---
title: "Who's Using ESLint?"
layout: doc
+ad: text
---
Who's Using ESLint?
diff --git a/src/styles/lib/ad.less b/src/styles/lib/ad.less
new file mode 100644
index 0000000000..3e3a98c6c2
--- /dev/null
+++ b/src/styles/lib/ad.less
@@ -0,0 +1,55 @@
+.eslint-ad {
+
+ color: #333;
+ font-size: 14px;
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
+ font-weight: normal;
+ font-style: normal;
+ letter-spacing: 0px;
+ vertical-align: baseline;
+ line-height: 1.3em;
+
+ border: 1px solid rgba(0,0,0,0.04);
+ border-radius: 3px;
+ box-shadow: none;
+
+ overflow: auto;
+
+ margin: 1em 1em 0.5em 1em;
+ padding: 1em;
+ background: rgba(0,0,0,0.03);
+ color: #505050;
+
+ .eslint-ad-content {
+ text-align: center;
+ }
+
+ img {
+ display: inline-block;
+ vertical-align: middle;
+ width: 120px;
+ height: 90px;
+ }
+
+ .eslint-ad-text {
+ font-size: 1em;
+ margin-top: 1em;
+ text-align: center;
+
+ a {
+ color: #505050;
+ text-decoration: none;
+ }
+ }
+
+
+
+}
+
+.eslint-image-ad {
+ max-width: 180px;
+}
+
+.eslint-ad-float {
+ float: right;
+}
diff --git a/src/styles/main.less b/src/styles/main.less
index f7624f7169..9b8d1cb414 100644
--- a/src/styles/main.less
+++ b/src/styles/main.less
@@ -7,3 +7,4 @@
@import "lib/rules_index.less";
@import "lib/404.less";
@import "lib/banner.less";
+@import "lib/ad.less";