tangled
alpha
login
or
join now
vielle.dev
/
site-archive
0
fork
atom
[Archived] Archived WIP of vielle.dev
0
fork
atom
overview
issues
pulls
pipelines
Fix rem to be 16px
vielle.dev
8 months ago
1eaf3e5b
53a40a74
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+4
-11
4 changed files
expand all
collapse all
unified
split
src
Base.astro
components
blog
post.css
pages
blog
[id].astro
index.astro
+1
-5
src/Base.astro
···
32
// sets the timezone offset
33
document.cookie = `timezone=${new Date().toString()};path=/`;
34
</script>
35
-
<!-- default styles (rem, *) -->
36
<style is:global>
37
@layer reset {
38
-
:root {
39
-
font-size: 62.5%;
40
-
}
41
body {
42
-
font-size: 1.6rem;
43
line-height: 1.5;
44
-webkit-font-smoothing: antialiased;
45
font-family: sans-serif;
···
32
// sets the timezone offset
33
document.cookie = `timezone=${new Date().toString()};path=/`;
34
</script>
35
+
<!-- default styles -->
36
<style is:global>
37
@layer reset {
0
0
0
38
body {
0
39
line-height: 1.5;
40
-webkit-font-smoothing: antialiased;
41
font-family: sans-serif;
+3
-3
src/components/blog/post.css
···
102
}
103
104
& h2 {
105
-
font-size: 3.6rem;
106
}
107
108
& h3 {
109
-
font-size: 2.8rem;
110
}
111
112
& h4 {
113
-
font-size: 2.4rem;
114
}
115
116
/* Paragraphs */
···
102
}
103
104
& h2 {
105
+
font-size: 2.2rem;
106
}
107
108
& h3 {
109
+
font-size: 1.8rem;
110
}
111
112
& h4 {
113
+
font-size: 1.5rem;
114
}
115
116
/* Paragraphs */
-2
src/pages/blog/[id].astro
···
77
<!-- page styles -->
78
<style>
79
header {
80
-
font-size: 1.6rem;
81
-
82
position: fixed;
83
top: 0;
84
width: 100%;
···
77
<!-- page styles -->
78
<style>
79
header {
0
0
80
position: fixed;
81
top: 0;
82
width: 100%;
-1
src/pages/blog/index.astro
···
30
}
31
32
heading {
33
-
font-size: 1.6rem;
34
margin-bottom: var(--y-gap);
35
color: white;
36
···
30
}
31
32
heading {
0
33
margin-bottom: var(--y-gap);
34
color: white;
35