Skip to content

Commit 394b87c

Browse files
authored
Merge pull request #11 from mistrk7/main
Add logo styling
2 parents 5d62a26 + 88e01bc commit 394b87c

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

components/static/Header.vue

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
22
<header class="col centerChildren">
3-
<h1>
3+
<h1 class="packLogo" title="PackXBR">
44
PackXBR
55
</h1>
66
<h2>
7-
Bulk Pixel Art Upscaler
7+
- bulk pixel art upscaler -
88
</h2>
99
<StaticGithubCorner />
1010
</header>
@@ -14,5 +14,28 @@
1414
header {
1515
h1 { font-size: 4rem; }
1616
margin-bottom: 6rem;
17+
.packLogo {
18+
font-family: 'Franklin Gothic Bold', 'Arial Narrow', Arial, sans-serif;
19+
position: relative;
20+
background: transparent;
21+
z-index: 0;
22+
color:white;
23+
}
24+
// ↓ Stroke 1
25+
.packLogo:before {
26+
content: attr(title);
27+
position: absolute;
28+
-webkit-text-stroke: 0.11em rgb(42, 0, 0);
29+
left: 0;
30+
z-index: -1;
31+
}
32+
// ↓ Stroke 2
33+
.packLogo:after {
34+
content: attr(title);
35+
position: absolute;
36+
-webkit-text-stroke: 0.19em rgb(153, 0, 0);
37+
left: 0;
38+
z-index: -2;
39+
}
1740
}
1841
</style>

0 commit comments

Comments
 (0)