2015-07-24 00:01:47 -04:00
|
|
|
# name: discourse-adplugin
|
2015-08-31 20:28:47 -04:00
|
|
|
# about: Ad Plugin for Discourse
|
2015-10-15 13:58:49 -04:00
|
|
|
# version: 1.0.2
|
2015-08-31 20:28:47 -04:00
|
|
|
# authors: Vi and Sarah (@ladydanger and @cyberkoi)
|
2017-04-26 00:43:04 -04:00
|
|
|
# url: https://github.com/discourse/discourse-adplugin
|
2015-07-24 00:01:47 -04:00
|
|
|
|
|
|
|
register_css <<CSS
|
|
|
|
|
2018-06-07 19:17:19 -04:00
|
|
|
@import "common/foundation/variables";
|
|
|
|
@import "common/foundation/mixins";
|
|
|
|
|
2015-08-10 20:57:13 -04:00
|
|
|
.google-dfp-ad {
|
2015-10-28 17:08:38 -04:00
|
|
|
padding: 3px 0;
|
2015-07-24 00:01:47 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-08-10 20:57:13 -04:00
|
|
|
.google-dfp-ad .dfp-ad-unit {
|
2015-07-24 00:01:47 -04:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2015-08-25 00:30:23 -04:00
|
|
|
.google-adsense {
|
2015-10-28 17:08:38 -04:00
|
|
|
padding: 3px 0;
|
2015-08-25 00:30:23 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense.adsense-responsive {
|
|
|
|
width: 100%;
|
2015-08-25 00:30:23 -04:00
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense .google-adsense-label {
|
|
|
|
width: 728px;
|
2018-09-14 16:44:59 -04:00
|
|
|
max-width: 100%;
|
2017-05-29 18:00:38 -04:00
|
|
|
margin: 0 auto;
|
2015-09-10 08:48:14 -04:00
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense.adsense-responsive .google-adsense-label {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2015-09-10 08:48:14 -04:00
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense .adsense-unit {
|
2015-09-29 20:48:26 -04:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense .google-adsense-label h2 {
|
2015-09-29 20:48:26 -04:00
|
|
|
margin: 4px 0 !important;
|
|
|
|
color: #858a8c;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.google-adsense .google-adsense-content {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-02-15 13:59:08 -05:00
|
|
|
.google-adsense.adsense-post-bottom {
|
|
|
|
max-width: 735px;
|
|
|
|
padding: 0 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all
|
|
|
|
and (max-width : 775px) {
|
|
|
|
.google-adsense.adsense-post-bottom {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.amazon-product-links {
|
|
|
|
padding: 3px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.amazon-product-links .amazon-unit {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.amazon-product-links .amazon-product-links-label {
|
2015-09-29 20:48:26 -04:00
|
|
|
width: 728px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2017-05-29 18:00:38 -04:00
|
|
|
.amazon-product-links .amazon-product-links-label h2 {
|
2015-09-29 20:48:26 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2016-04-21 14:59:59 -04:00
|
|
|
.google-dfp-ad.dfp-ad-post-bottom {
|
|
|
|
.google-dfp-ad-label, .dfp-ad-unit {
|
|
|
|
margin: 0 0 0 52px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-07 19:17:19 -04:00
|
|
|
.codefund-wrapper {
|
|
|
|
z-index: 1;
|
|
|
|
font-family: system, "Helvetica Neue", Helvetica, Arial;
|
|
|
|
font-size: 13px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
line-height: 1.5;
|
|
|
|
display: block;
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
padding: 12px 11px;
|
|
|
|
text-align: left;
|
|
|
|
margin: 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-text {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-text:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-text strong {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-powered-by:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-label {
|
|
|
|
margin-right: 4px;
|
|
|
|
padding: 2px 6px;
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: $tertiary;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-label:hover {
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-powered-by {
|
|
|
|
text-decoration: none;
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
float: right;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper .codefund-powered-by:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codefund-wrapper.codefund-post-bottom {
|
|
|
|
width: 757px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-08-02 02:04:15 -04:00
|
|
|
CSS
|