File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -3,40 +3,40 @@ import icon from './documate.vue'
3
3
</script >
4
4
5
5
<template >
6
- <a class =" ad-component" target =" _blank" href =" https://documate.site/" >
7
- <icon class =" icon" />
8
- <span >Embed AI chat in your VitePress using your own content. Open-source.</span >
9
- <span class =" cta" >Try now →</span >
10
- </a >
6
+ <div class =" ad-component" >
7
+ <a target =" _blank" href =" https://documate.site/" >
8
+ <icon class =" icon" />
9
+ <span >Embed AI chat in your VitePress using your own content. Open-source.</span >
10
+ <span class =" cta" >Try now →</span >
11
+ </a >
12
+ </div >
11
13
</template >
12
14
13
15
<style scoped>
14
16
.ad-component {
15
17
margin-bottom : 2rem ;
16
- padding : .65 rem 1 rem ;
18
+ padding : .5 rem .85 rem ;
17
19
border : 1px solid var (--vp-c-divider );
18
20
border-radius : 4px ;
19
- text-align : center ;
20
- display : flex ;
21
- align-items : center ;
22
21
text-decoration : none ;
23
22
color : var (--vp-c-text-2 );
24
23
transition : color 0.4s ease-in-out ;
25
- font-size : 0.9 rem ;
24
+ font-size : 0.8 rem ;
26
25
}
27
26
28
27
.ad-component :hover {
29
28
color : var (--vp-c-text-1 );
30
29
}
31
30
32
31
.ad-component .icon {
33
- width : 1rem ;
34
- height : 1rem ;
35
- margin-right : 0.45rem ;
32
+ display : inline-block ;
33
+ width : .75rem ;
34
+ height : .75rem ;
35
+ margin-right : 0.3rem ;
36
36
}
37
37
38
38
.ad-component .cta {
39
- margin-left : 0.2 rem ;
39
+ margin-left : 0.3 rem ;
40
40
text-decoration : underline ;
41
41
text-underline-offset : 2px ;
42
42
}
You can’t perform that action at this time.
0 commit comments