-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathindex.module.scss
More file actions
78 lines (64 loc) · 1.22 KB
/
index.module.scss
File metadata and controls
78 lines (64 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.img {
width: 100%;
height: 100%;
object-fit: cover;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}
.card {
padding: 0;
text-align: left;
background: var(--ifm-footer-background-color);
color: var(--ifm-footer-color);
min-width: 100%;
max-width: 100%;
height: 100%;
&:hover,
&:focus {
background: var(--ifm-footer-background-color);
color: var(--ifm-footer-color);
--ifm-button-border-color: var(--ifm-color-primary);
}
}
:root {
&[data-theme="dark"] {
.card {
&:hover,
&:focus {
--ifm-button-border-color: var(--ifm-color-primary);
}
}
}
}
.imgContainer {
width: 100%;
aspect-ratio: 1200 / 630;
position: relative;
}
.content {
padding: 1rem;
color: var(--ifm-font-color-base);
p {
font-weight: initial;
}
h4,
p {
word-break: break-word;
white-space: pre-wrap;
}
h4 {
display: flex;
align-items: center;
justify-content: space-between; /* This pushes items to the edges */
}
.githubLogo {
width: 40px; /* Adjust the size of the logo */
height: 40px;
}
}
.githubLink {
margin-left: auto; /* Pushes the link to the right */
}