discourse-adplugin/plugin.rb

38 lines
548 B
Ruby
Executable File

# name: discourse-adplugin
# about: Ad Plugin for Discourse
# version: 1.0.1
# authors: Vi and Sarah (@ladydanger and @cyberkoi)
register_css <<CSS
.google-dfp-ad {
padding: 3px;
margin-bottom: 10px;
clear: both;
}
.google-dfp-ad .dfp-ad-unit {
margin: 0 auto;
}
.google-adsense {
padding: 3px;
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;
}
CSS