File tree 4 files changed +40
-44
lines changed
4 files changed +40
-44
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,14 @@ const spStr = computed(() => {
43
43
}
44
44
45
45
.mingdao {
46
+ display : flex ;
47
+ justify-content : center ;
48
+
46
49
a {
50
+ max-width : min (500px , 100% );
51
+
47
52
img {
48
- max- width : 500 px ;
53
+ width : 100 % ;
49
54
}
50
55
}
51
56
}
@@ -56,21 +61,4 @@ const spStr = computed(() => {
56
61
padding-bottom : 0 !important ;
57
62
}
58
63
59
- .wwads-cn ,
60
- .wwads {
61
- background-color : #f4f8fa ;
62
- }
63
-
64
- .wwads-text {
65
- color : #0e1011 ;
66
- }
67
-
68
- html [data-theme = " dark" ] .wwads-cn ,
69
- html [data-theme = " dark" ] .wwads {
70
- background-color : #272829 !important ;
71
- }
72
-
73
- html [data-theme = " dark" ] .wwads-text {
74
- color : #9e9e9e !important ;
75
- }
76
64
</style >
Original file line number Diff line number Diff line change 4
4
<div class =" theme-hope-content ads-container" >
5
5
<div class =" mingdao" v-if =" !enableSidebar" >
6
6
<a href =" https://www.mingdao.com?s=utm_51=utm_source=liteflow&utm_medium=banner&utm_campaign=%E5%93%81%E7%89%8C%E6%8E%A8%E5%B9%BF&utm_content=IT%E8%B5%8B%E8%83%BD%E4%B8%9A%E5%8A%A1"
7
- target =" _blank" ><img src =" /img/ads/mingdao-h.png" alt =" " /></a >
8
- <span >{{ spStr }}</span >
7
+ target =" _blank" >
8
+ <img src =" /img/ads/mingdao-h.png" alt =" " />
9
+ <span >{{ spStr }}</span >
10
+ </a >
9
11
</div >
10
12
<div class =" wwads wwads-cn wwads-horizontal" data-id =" 213" style =" width :100% !important " v-else >
11
13
</div >
@@ -42,38 +44,25 @@ const spStr = computed(() => {
42
44
justify-content : center ;
43
45
44
46
a {
45
- max-width : 500px ;
47
+ max-width : min (500px , 100% );
48
+ position : relative ;
46
49
47
50
img {
48
51
width : 100% ;
49
52
}
50
- }
51
53
52
- span {
53
- font-size : small ;
54
+ span {
55
+ font-size : small ;
56
+ color : #999 ;
57
+ position : absolute ;
58
+ right : 10px ;
59
+ bottom : 10px ;
60
+ }
54
61
}
55
62
}
56
63
57
64
.ads-container {
58
65
padding-top : 0 !important ;
59
66
padding-bottom : 0 !important ;
60
67
}
61
-
62
- .wwads-cn ,
63
- .wwads {
64
- background-color : #f4f8fa ;
65
- }
66
-
67
- .wwads-text {
68
- color : #0e1011 ;
69
- }
70
-
71
- html [data-theme = " dark" ] .wwads-cn ,
72
- html [data-theme = " dark" ] .wwads {
73
- background-color : #272829 !important ;
74
- }
75
-
76
- html [data-theme = " dark" ] .wwads-text {
77
- color : #9e9e9e !important ;
78
- }
79
68
</style >
Original file line number Diff line number Diff line change @@ -46,5 +46,6 @@ const spStr = computed(() => {
46
46
width : 70% ;
47
47
text-align : right ;
48
48
font-size : small ;
49
+ color : #999 ;
49
50
}
50
51
} </style >
Original file line number Diff line number Diff line change 1
- .ads-card {
1
+ .ads-card {
2
2
background-color : #f4f8fa ;
3
3
padding : 14px ;
4
4
border-radius : 8px ;
5
5
}
6
6
7
7
html [data-theme = " dark" ] .ads-card {
8
8
background-color : #272829 ;
9
- }
9
+ }
10
+
11
+ .wwads-cn ,
12
+ .wwads {
13
+ background-color : #f4f8fa ;
14
+ }
15
+
16
+ .wwads-text {
17
+ color : #0e1011 ;
18
+ }
19
+
20
+ html [data-theme = " dark" ] .wwads-cn ,
21
+ html [data-theme = " dark" ] .wwads {
22
+ background-color : #272829 !important ;
23
+ }
24
+
25
+ html [data-theme = " dark" ] .wwads-text {
26
+ color : #9e9e9e !important ;
27
+ }
You can’t perform that action at this time.
0 commit comments