Skip to content

Commit 1c39d19

Browse files
authored
Update style.css
1 parent 3c9e565 commit 1c39d19

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

style.css

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ body {
2323
flex-direction: column;
2424
}
2525

26+
a {
27+
color: var(--ctp-latte-blue);
28+
font-variation-settings: "wght" 600;
29+
}
30+
2631
.content {
2732
margin: 1em;
2833
padding: 2em 0 4em;
@@ -95,6 +100,8 @@ h1 {
95100
border-radius: 0.375rem;
96101
}
97102

103+
104+
98105
body > footer {
99106
background-color: var(--ctp-frappe-base);
100107
color: var(--ctp-frappe-text);
@@ -125,9 +132,9 @@ body > footer {
125132
}
126133

127134
.cards-grid {
128-
display: grid;
129-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
130-
gap: 32px;
135+
display: grid;
136+
grid-template-columns: calc(50% - 32px) auto;
137+
gap: 32px;
131138
}
132139

133140
.cards-grid-box {
@@ -137,3 +144,16 @@ body > footer {
137144
background-color: var(--ctp-latte-mantle);
138145
border: 1px solid rgba(76, 79, 105, 0.1) !important;
139146
}
147+
148+
149+
a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
150+
margin: 0 0.1em 0 0.2em;
151+
content: "";
152+
display: inline-block;
153+
width: 0.75em;
154+
height: 0.75em;
155+
mask-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjgiIGQ9Ik04IDd2LjVhMiAyIDAgMCAxLTIgMkgzYTIgMiAwIDAgMS0yLTJ2LTNhMiAyIDAgMCAxIDItMmguNW0xIDMuNSA1LTVtMCAwSDZtMy41IDB2My41Ii8+PC9zdmc+");
156+
mask-repeat: no-repeat;
157+
mask-size: contain;
158+
background-color: currentColor;
159+
}

0 commit comments

Comments
 (0)