Commit 5b8c363 1 parent 2196d97 commit 5b8c363 Copy full SHA for 5b8c363
File tree 6 files changed +57
-5
lines changed
6 files changed +57
-5
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ google_analytics:
27
27
# ------------------------------------------------------------------------------
28
28
29
29
carbon_ads :
30
- serve : CESDV2QM
31
- placement : eslintorg
30
+ serve : " "
31
+ placement : " "
32
+ ethical_ads : true
32
33
33
34
# ------------------------------------------------------------------------------
34
35
# Shared
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ <h1 class="section-title">{{ params.title }}</h1>
22
22
{% endif %}
23
23
</ div >
24
24
< div class ="span-10-12 hero-ad ">
25
- {% include "partials/carbon- ad.html" %}
25
+ {% include "partials/ad.html" %}
26
26
</ div >
27
27
</ div >
28
28
</ div >
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ <h1>{{ title }}</h1>
111
111
< div class ="docs-aside ">
112
112
< div class ="docs-aside__content ">
113
113
< aside class ="docs-ad ">
114
- {%- include 'partials/carbon- ad.html' -%}
114
+ {%- include 'partials/ad.html' -%}
115
115
</ aside >
116
116
{% include 'components/docs-toc.html' %}
117
117
</ div >
Original file line number Diff line number Diff line change 11
11
}
12
12
</ script >
13
13
{% endif %}
14
+ {% if site.ethical_ads %}
15
+ < script id ="eslint-sponsor ">
16
+ if ( window . innerWidth > 800 ) {
17
+ var s = document . createElement ( "script" ) ;
18
+ s . type = "text/javascript" ;
19
+ s . src = "//media.ethicalads.io/media/client/ethicalads.min.js" ;
20
+ document . getElementById ( "eslint-sponsor" ) . after ( s ) ;
21
+ document . getElementById ( "eslint-sponsor" ) . remove ( ) ;
22
+ }
23
+ </ script >
24
+ < div data-ea-publisher ="eslint-org " data-ea-type ="image "> </ div >
25
+ {% endif %}
Original file line number Diff line number Diff line change 4
4
}
5
5
}
6
6
7
+ .docs-ad {
8
+ height : 290px ;
9
+ }
10
+
11
+ /*
12
+ * Carbon Ads
13
+ * https://www.carbonads.net/
14
+ */
15
+
7
16
#carbonads * {
8
17
margin : initial ;
9
18
padding : initial ;
113
122
font-size : 8px ;
114
123
}
115
124
}
125
+
126
+ /*
127
+ * Ethical Ads
128
+ */
129
+
130
+ [data-ea-publisher ].loaded .ea-content ,
131
+ [data-ea-type ].loaded .ea-content {
132
+ background-color : var (--body-background-color ) !important ;
133
+ border : 1px solid var (--border-color ) !important ;
134
+ }
135
+
136
+ [data-ea-publisher ].loaded .ea-content a :link ,
137
+ [data-ea-type ].loaded .ea-content a :link {
138
+ color : var (--body-text-color ) !important ;
139
+ }
140
+
141
+ [data-ea-publisher ].loaded .ea-callout a :link ,
142
+ [data-ea-type ].loaded .ea-callout a :link {
143
+ color : var (--body-text-color ) !important ;
144
+ }
145
+
146
+ .jumbotron [data-ea-publisher ].loaded .ea-content a ,
147
+ .jumbotron [data-ea-type ].loaded .ea-content a {
148
+ color : #eee ;
149
+ }
150
+
151
+ .jumbotron [data-ea-publisher ].loaded .ea-content a :hover ,
152
+ .jumbotron [data-ea-type ].loaded .ea-content a :hover {
153
+ color : #ccc ;
154
+ }
Original file line number Diff line number Diff line change 30
30
@import " components/tabs" ;
31
31
@import " components/resources" ;
32
32
33
- @import " carbon- ads" ;
33
+ @import " ads" ;
34
34
35
35
@import " utilities" ;
You can’t perform that action at this time.
0 commit comments