Skip to content

Commit 1b2d833

Browse files
authored
🩹 Fix out-of-order headings (#6)
1 parent 1fe95f1 commit 1b2d833

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/global.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ h1 {
2323
}
2424

2525
h2 {
26+
text-shadow: 0px 0px 0.05rem oklch(65% 0.3 145); /* ii-lightgreen */
27+
background: linear-gradient(
28+
345deg in oklch longer hue,
29+
oklch(65% 0.295 99),
30+
oklch(65% 0.295 120)
31+
);
32+
background-clip: text;
33+
}
34+
35+
h3 {
2636
text-shadow: 0px 0px 0.05rem oklch(70% 0.3 0); /* ii-lightblue */
2737
background: linear-gradient(
2838
5deg in oklch longer hue,
@@ -32,7 +42,7 @@ h2 {
3242
background-clip: text;
3343
}
3444

35-
h3 {
45+
h4 {
3646
text-shadow: 0px 0px 0.05rem oklch(65% 0.2 22); /* ii-lightred */
3747
background: linear-gradient(
3848
15deg in oklch longer hue,
@@ -61,13 +71,3 @@ a {
6171
);
6272
background-clip: text;
6373
}
64-
65-
h4 {
66-
text-shadow: 0px 0px 0.05rem oklch(65% 0.3 145); /* ii-lightgreen */
67-
background: linear-gradient(
68-
345deg in oklch longer hue,
69-
oklch(65% 0.295 99),
70-
oklch(65% 0.295 120)
71-
);
72-
background-clip: text;
73-
}

src/routes/index.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,18 @@ export default component$(() => {
8282
<div class="flex max-w-md py-2.5">
8383
<div>
8484
<h1 class="text-center text-transparent text-7xl">eomii</h1>
85-
<h4 class="text-right text-xl text-transparent -rotate-12">
85+
<h2 class="text-right text-xl text-transparent -rotate-12">
8686
えおみい!
87-
</h4>
87+
</h2>
8888
<p class="rotate-6 text-center text-xl text-transparent mb-3">
8989
(/*.*)/ Bleeding Edge Software Infrastructure \(*.*\)
9090
</p>
9191

92-
<h2 class="text-center text-transparent text-4xl mt-10">Projects</h2>
92+
<h3 class="text-center text-transparent text-4xl mt-10">Projects</h3>
9393

9494
<Project {...RulesLl} />
9595

96-
<h2 class="text-center text-transparent text-4xl mt-10">Team</h2>
96+
<h3 class="text-center text-transparent text-4xl mt-10">Team</h3>
9797

9898
<TeamMember {...AaronMondal} />
9999
<TeamMember {...JannisFengler} />
@@ -141,9 +141,9 @@ interface ProjectProps {
141141
const TeamMember = component$<TeamMemberProps>((props) => {
142142
return (
143143
<>
144-
<h3 class="text-left text-3xl text-transparent -rotate-6 mb-6">
144+
<h4 class="text-left text-3xl text-transparent -rotate-6 mb-6">
145145
{props.name}
146-
</h3>
146+
</h4>
147147
{props.references.map((ref, index) => (
148148
<p class="text-center text-xl text-transparent mb-3" key={index}>
149149
<ReferenceLink url={ref.url} description={ref.description} />
@@ -157,9 +157,9 @@ const Project = component$<ProjectProps>((props) => {
157157
return (
158158
<>
159159
<div>
160-
<h3 class="text-left text-3xl text-transparent -rotate-6 mb-6">
160+
<h4 class="text-left text-3xl text-transparent -rotate-6 mb-6">
161161
{props.name}
162-
</h3>
162+
</h4>
163163
<p class="text-center text-xl text-transparent mb-3">
164164
{props.description}
165165
</p>

0 commit comments

Comments
 (0)