tangled
alpha
login
or
join now
vielle.dev
/
site
0
fork
atom
Personal Site
0
fork
atom
overview
issues
pulls
pipelines
Add proper styles to landing
vielle.dev
7 months ago
ba155992
809c2c14
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+32
-7
1 changed file
expand all
collapse all
unified
split
src
components
home
Landing.astro
+32
-7
src/components/home/Landing.astro
···
52
</section>
53
54
<style>
55
-
img {
0
0
0
0
56
float: right;
57
-
aspect-ratio: 1;
58
-
width: 100px;
59
-
border-radius: 100%;
60
-
shape-outside: circle(50px);
61
-
shape-margin: 10px;
62
-
margin: 10px;
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
63
}
64
</style>
···
52
</section>
53
54
<style>
55
+
section {
56
+
padding: 10px;
57
+
}
58
+
59
+
figure {
60
float: right;
61
+
box-sizing: border-box;
62
+
width: 120px;
63
+
height: 180px;
64
+
margin: 0 0 10px 10px;
65
+
66
+
image-rendering: pixelated;
67
+
background-image: var(--box-rounded-top-png);
68
+
background-repeat: no-repeat;
69
+
background-size: 100% 100%;
70
+
71
+
img {
72
+
aspect-ratio: 1;
73
+
width: 100%;
74
+
background-color: #008282;
75
+
mask-image: var(--box-circle-mask-png);
76
+
mask-size: 120px 120px;
77
+
}
78
+
79
+
figcaption {
80
+
margin: auto;
81
+
width: fit-content;
82
+
margin-block: 10px;
83
+
}
84
+
}
85
+
86
+
p {
87
+
margin-block: 5px;
88
}
89
</style>