File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ < style >
2
+ .data-grid {
3
+ display : grid;
4
+ grid-template-columns : repeat (auto-fill, minmax (250px , 1fr ));
5
+ gap : 2rem ;
6
+ padding : 2rem 0 ;
7
+ }
8
+
9
+ .data-item {
10
+ display : flex;
11
+ flex-direction : column;
12
+ align-items : center;
13
+ text-align : center;
14
+ padding : 1rem ;
15
+ }
16
+
17
+ .data-logo {
18
+ width : 120px ;
19
+ height : 120px ;
20
+ margin-bottom : 1rem ;
21
+ }
22
+
23
+ .data-logo img {
24
+ width : 100% ;
25
+ height : 100% ;
26
+ object-fit : contain;
27
+ }
28
+
29
+ .data-name {
30
+ font-family : "JetBrains Mono" , monospace;
31
+ font-size : 1.2rem ;
32
+ margin : 0.5rem 0 ;
33
+ color : # A43830 ;
34
+ }
35
+
36
+ .data-description {
37
+ font-size : 0.9rem ;
38
+ line-height : 1.4 ;
39
+ margin : 0.5rem 0 ;
40
+ color : # 666 ;
41
+ }
42
+
43
+ .data-link {
44
+ margin-top : 1rem ;
45
+ text-decoration : none;
46
+ color : # A43830 ;
47
+ font-family : "JetBrains Mono" , monospace;
48
+ font-size : 0.9rem ;
49
+ }
50
+
51
+ .data-link : hover {
52
+ text-decoration : underline;
53
+ }
54
+ </ style >
55
+
56
+ < div class ="data-grid ">
57
+ {{ range .Page.Params.data }}
58
+ < div class ="data-item ">
59
+ {{ if .logo }}
60
+ < div class ="data-logo ">
61
+ < img src ="/images/data/{{ .logo }} " alt ="{{ .name }} logo ">
62
+ </ div >
63
+ {{ end }}
64
+ < h3 class ="data-name "> {{ .name }}</ h3 >
65
+ < p class ="data-description "> {{ .description }}</ p >
66
+ < a href ="{{ .link }} " class ="data-link "> learn more > </ a >
67
+ </ div >
68
+ {{ end }}
69
+ </ div >
You can’t perform that action at this time.
0 commit comments