discourse-adplugin/plugin.rb

80 lines
1.4 KiB
Ruby
Raw Normal View History

# name: discourse-adplugin
# about: Ad Plugin for Discourse
# version: 1.0.2
# authors: Vi and Sarah (@ladydanger and @cyberkoi)
register_css <<CSS
2015-08-10 20:57:13 -04:00
.google-dfp-ad {
padding: 3px 0;
margin-bottom: 10px;
clear: both;
}
2015-08-10 20:57:13 -04:00
.google-dfp-ad .dfp-ad-unit {
margin: 0 auto;
}
.google-adsense {
padding: 3px 0;
margin-bottom: 10px;
clear: both;
}
.google-adsense .adsense-unit {
margin: 0 auto;
}
.amazon-product-links {
padding: 3px;
margin-bottom: 10px;
clear: both;
}
.amazon-product-links .amazon-unit {
margin: 0 auto;
}
2015-09-29 20:48:26 -04:00
.amazon-product-links .amazon-product-links-label {
width: 728px;
margin: 0 auto;
}
.amazon-product-links .amazon-product-links-label h2 {
margin: 4px 0 !important;
color: #858a8c;
text-transform: uppercase;
font-size: 12px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
}
.google-adsense .google-adsense-label {
width: 728px;
margin: 0 auto;
}
.google-adsense .google-adsense-label h2 {
margin: 4px 0 !important;
color: #858a8c;
text-transform: uppercase;
font-size: 12px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
}
.google-dfp-ad .google-dfp-ad-label {
width: 728px;
margin: 0 auto;
}
.google-dfp-ad .google-dfp-ad-label h2 {
margin: 4px 0 !important;
color: #858a8c;
text-transform: uppercase;
font-size: 12px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
}
CSS