discourse-adplugin/plugin.rb

28 lines
406 B
Ruby
Raw Normal View History

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