pidgin/nest

Un-inline supporters styles.

2019-08-19, Elliott Sales de Andrade
4f6c7ad8b97f
Parents 5c032220f854
Children 5fa5baeff3b1
Un-inline supporters styles.

They appear on every page, so better to put them in a CSS file that can
be cached.
--- a/hugo/layouts/partials/supporters.html Mon Aug 19 02:32:18 2019 -0400
+++ b/hugo/layouts/partials/supporters.html Mon Aug 19 02:34:44 2019 -0400
@@ -5,27 +5,3 @@
<a href="{{ .url | safeHTMLAttr }}"> <img src="/images/badges/{{ .badge }}" /> </a> {{ end }}
</div>
</section>
-
-<style>
- .supporters {
- background: #322a38;
- padding: 7px;
- text-align: center;
- color: white;
- border-radius: 15px;
- }
-
- .supporters a {
- display: inline-block;
- margin: 0 5px;
- max-height: 40px;
- max-width: 190px;
- vertical-align: middle
- }
-
- .supporters img {
- display: inline-block !important;
- margin: 0 !important;
- width: auto;
- }
-</style>
--- a/hugo/static/css/custom.css Mon Aug 19 02:32:18 2019 -0400
+++ b/hugo/static/css/custom.css Mon Aug 19 02:34:44 2019 -0400
@@ -87,3 +87,25 @@
font-size: 8px;
text-align: center;
}
+
+.supporters {
+ background: #322a38;
+ padding: 7px;
+ text-align: center;
+ color: white;
+ border-radius: 15px;
+}
+
+.supporters a {
+ display: inline-block;
+ margin: 0 5px;
+ max-height: 40px;
+ max-width: 190px;
+ vertical-align: middle;
+}
+
+.supporters img {
+ display: inline-block !important;
+ margin: 0 !important;
+ width: auto;
+}