File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1
1
---
2
+ import { Image } from " astro:assets" ;
2
3
import AsideArticle from " ./AsidePosts.astro" ;
3
4
import AsideSponsors from " ./AsideSponsors.astro" ;
4
5
import SmallProgressBar from " ./SmallProgressBar.astro" ;
5
6
import progress from " ../../data/progress" ;
6
7
import Toasts from " ./Toasts.astro" ;
8
+ import MSSQL from " @/assets/images/mssql.png" ;
7
9
---
8
10
9
11
<div class =" aside-right" >
10
12
<div class =" aside-right__content" >
13
+ <a
14
+ class =" mssql-wrap"
15
+ target =" _blank"
16
+ rel =" norefferer nofollow"
17
+ href =" https://mssql.drizzle.team"
18
+ >
19
+ <Image src ={ MSSQL } alt =" MSSQL Drizzle" />
20
+ </a >
11
21
<div class =" progress-wrap" >
12
22
<SmallProgressBar progress ={ progress } />
13
23
</div >
@@ -29,6 +39,29 @@ import Toasts from "./Toasts.astro";
29
39
position: relative;
30
40
}
31
41
42
+ .mssql-wrap {
43
+ overflow: hidden;
44
+ aspect-ratio: 3.555;
45
+ margin-bottom: 4px;
46
+ border-radius: 4px;
47
+ }
48
+
49
+ .mssql-wrap img {
50
+ transition:
51
+ transform 0.3s ease,
52
+ filter 0.3s ease;
53
+ transform-origin: center center;
54
+ display: block;
55
+ width: 100%;
56
+ height: 100%;
57
+ object-fit: cover;
58
+ }
59
+
60
+ .mssql-wrap:hover img {
61
+ filter: brightness(1.35);
62
+ transform: scale(1.1);
63
+ }
64
+
32
65
html.dark .aside-right__content {
33
66
background-color: #111;
34
67
}
You can’t perform that action at this time.
0 commit comments