Skip to content

Commit c5e6c57

Browse files
committed
Refactor PIO Ad
1 parent d39427f commit c5e6c57

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

_static/css/extra.css

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -651,21 +651,3 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
651651
filter: alpha(Opacity=100);
652652
opacity: 1
653653
}
654-
655-
/* TOP text banner */
656-
657-
.top-text-banner {
658-
padding: 1rem 1rem;
659-
margin-bottom: 1.5rem;
660-
border: 1px solid #b6d4fe;
661-
border-radius: .25rem;
662-
color: #084298;
663-
background-color: #cfe2ff;
664-
text-align: center;
665-
font-weight: bold;
666-
}
667-
668-
.top-text-banner a {
669-
color: #0d6efd;
670-
border-bottom: 1px solid #0d6efd;
671-
}

_templates/layout.html

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,7 @@
2525
{% endblock %}
2626

2727
{% block content %}
28-
<div class="top-text-banner">
29-
<i class="fa fa-lightbulb-o fa-lg" aria-hidden="true"></i>&nbsp;
30-
<span class="top-text-banner-content">
31-
<script type='text/javascript'><!--//<![CDATA[
32-
var m3_u = (location.protocol=='https:'?'https://ad.platformio.org/delivery/revajs.dll':'http://ad.platformio.org/delivery/revajs.dll');
33-
var m3_r = Math.floor(Math.random()*99999999999);
34-
if (!document.MAX_used) document.MAX_used = ',';
35-
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
36-
document.write ("?zoneid=1");
37-
document.write ('&amp;cb=' + m3_r);
38-
if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
39-
document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
40-
document.write ("&amp;loc=" + escape(window.location));
41-
if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
42-
if (document.context) document.write ("&context=" + escape(document.context));
43-
document.write ("'><\/scr"+"ipt>");
44-
//]]>--></script>
45-
</span>
46-
</div>
47-
28+
<ins data-rvad-zoneid="1" data-rvad-id="f837d8c96893e793fdbb230cffb628fc"></ins>
29+
<script async src="https://ad.platformio.org/delivery/revasyncjs.dll"></script>
4830
{{ super() }}
4931
{% endblock %}

0 commit comments

Comments
 (0)