Skip to content

Commit 31d563f

Browse files
committed
Changed heading colors and sizes
1 parent 6a5c562 commit 31d563f

File tree

2 files changed

+38
-25
lines changed

2 files changed

+38
-25
lines changed

app/assets/css/main.css

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
-webkit-tap-highlight-color: transparent;
1010

1111
}
12-
html{
12+
13+
html {
1314
overflow-x: hidden;
1415
font-size: 1rem;
1516
}
17+
1618
body {
1719
background-color: var(--color-surface);
1820
color: var(--color-on-surface);
@@ -22,16 +24,40 @@ body {
2224
overflow-x: hidden;
2325
}
2426

25-
h1{
26-
font-size:6rem;
27-
}
28-
h2{
29-
font-size:3rem;
30-
}
31-
h1,h2,h3,h4,h5,h6{
27+
28+
h1,
29+
h2,h3 {
3230
color: var(--color-primary);
3331
user-select: none;
3432
}
33+
34+
h4,
35+
h5,
36+
h6 {
37+
color: var(--color-secondary);
38+
user-select: none;
39+
}
40+
41+
h1 {
42+
font-size: 6rem;
43+
}
44+
45+
h2 {
46+
font-size: 4rem;
47+
padding: var(--padding-md) 0;
48+
}
49+
50+
h3 {
51+
font-size: 2.5rem;
52+
padding: var(--padding-sm) 0;
53+
}
54+
55+
h4 {
56+
font-size: 1.2em;
57+
font-weight: 800;
58+
padding: var(--padding-md) 0;
59+
}
60+
3561
section {
3662
align-items: start;
3763
text-align: left;
@@ -41,6 +67,7 @@ section {
4167
flex-direction: column;
4268
justify-content: center;
4369
}
70+
4471
a {
4572
text-decoration: none;
4673
color: var(--color-on-surface);
@@ -54,12 +81,13 @@ video {
5481
margin: 1em 0;
5582
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
5683
}
57-
img{
84+
85+
img {
5886
width: 100%;
5987
height: auto;
6088
}
6189

62-
.iconify{
90+
.iconify {
6391
width: 1.2em;
6492
height: 1.2em;
6593
vertical-align: middle;

app/components/ProjectSection.vue

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,6 @@ const allProjects: ProjectCategory[] = [
131131
</template>
132132

133133
<style scoped lang="scss">
134-
h2 {
135-
font-size: 6rem;
136-
padding: var(--padding-md) 0;
137-
}
138-
139-
h3 {
140-
font-size: 3rem;
141-
padding: var(--padding-sm) 0;
142-
}
143-
144-
h4 {
145-
font-size: 1.2em;
146-
font-weight: 800;
147-
padding: var(--padding-md) 0;
148-
}
149134
150135
.project-category {
151136
width: 100%;

0 commit comments

Comments
 (0)