We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 069318a commit 92fec30Copy full SHA for 92fec30
src/components/CheatsheetCard.astro
@@ -31,14 +31,17 @@ const {
31
<style>
32
div {
33
display: grid;
34
- margin-bottom: 2rem;
+ margin-bottom: 1rem;
35
+ background-color: #252525;
36
+ padding: 1rem;
37
+ border-radius: 8px;
38
39
grid-template-areas: "image"
40
"title"
41
"description"
42
"link"
43
;
- gap: .75rem;
44
+ gap: 1rem;
45
}
46
47
p {
@@ -61,6 +64,7 @@ const {
61
64
62
65
.link {
63
66
grid-area: link;
67
+ margin-top: auto;
68
69
70
.link :global(a) {
src/config/theme.ts
@@ -5,7 +5,8 @@ const descriptiveColorVariables = {
5
safetyOrange: "#FE7600",
6
amber: "#FFC107",
7
frenchGrey: "#B0BEC5",
8
- bitterSweet: "#FF5252"
+ bitterSweet: "#FF5252",
9
+ mineShaft: "#252525"
10
11
12
const theme = {
0 commit comments