Browse Source

Merge branch 'hotfix/update-supports' into develop

zhixin 5 years ago
parent
commit
dedc0e4b7e
2 changed files with 16 additions and 3 deletions
  1. 1 1
      site/_includes/stylesheet.html
  2. 15 2
      site/assets/css/style.css

+ 1 - 1
site/_includes/stylesheet.html

@@ -7,6 +7,6 @@
 {% endif %}
 {% if page.layout != "examples" %}
 <link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet">
-<link href="{{ site.baseurl }}/assets/css/style.css?m=5" rel="stylesheet">
+<link href="{{ site.baseurl }}/assets/css/style.css?m=6" rel="stylesheet">
 {% endif %}
 {%- endif -%}

+ 15 - 2
site/assets/css/style.css

@@ -139,17 +139,30 @@ header.themes .bd-lead {
 
 .support-item {
   position: relative;
-  margin: 0 2px 2px;
+  display: inline-block;
+  margin: 3px;
+  padding: .25rem;
+  background-color: #fff;
+  border: 1px solid #dee2e6;
+  border-radius: .25rem;
+}
+
+.support-item:hover {
+  background-color: rgba(108,117,125,.25098);
 }
 
 .support-gold-avatar {
   max-height: 96px;
   max-width: 288px;
+  min-height: 48px;
+  min-width: 48px;
   vertical-align: middle;
 }
 
 .support-silver-avatar {
   max-height: 64px;
   max-width: 192px;
+  min-height: 48px;
+  min-width: 48px;
   vertical-align: middle;
-}
+}