浏览代码

Add class for responsive images

customisations
alemart 7 个月前
父节点
当前提交
95fc9506fe
共有 1 个文件被更改,包括 20 次插入15 次删除
  1. 20
    15
      docs_overrides/style/extra.css

+ 20
- 15
docs_overrides/style/extra.css 查看文件

1
+.md-button {
2
+    border-radius: 100px !important;
3
+}
4
+
5
+img.responsive {
6
+    width: 100%;
7
+    height: auto;
8
+}
9
+
10
+.transparent-grid {
11
+    display: inline-block;
12
+    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAABlBMVEWZmZlmZmZYfKrVAAAAE0lEQVQI12P4/5+BgZoEA3VNBADtvT/BrQ+bEwAAAABJRU5ErkJggg==);
13
+    background-repeat: repeat;
14
+}
15
+
16
+.md-typeset video {
17
+    height: auto;
18
+    max-width: 100%;
19
+}
20
+
1
 @keyframes heart {
21
 @keyframes heart {
2
 
22
 
3
     0%, 40%, 80%, 100% {
23
     0%, 40%, 80%, 100% {
14
     animation: heart 1000ms infinite;
34
     animation: heart 1000ms infinite;
15
 }
35
 }
16
 
36
 
17
-.md-button {
18
-    border-radius: 100px !important;
19
-}
20
-
21
-.transparent-grid {
22
-    display: inline-block;
23
-    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAABlBMVEWZmZlmZmZYfKrVAAAAE0lEQVQI12P4/5+BgZoEA3VNBADtvT/BrQ+bEwAAAABJRU5ErkJggg==);
24
-    background-repeat: repeat;
25
-}
26
-
27
-.md-typeset video {
28
-    height: auto;
29
-    max-width: 100%;
30
-}
31
-
32
 #support-widget {
37
 #support-widget {
33
     position: fixed;
38
     position: fixed;
34
     bottom: 80px;
39
     bottom: 80px;

正在加载...
取消
保存