70 lines
1.4 KiB
Svelte
70 lines
1.4 KiB
Svelte
<div class="container">
|
|
<div>
|
|
<b style="text-align:left;">
|
|
Contact
|
|
</b>
|
|
</div>
|
|
<div class="table-display">
|
|
<div class="table-item">
|
|
<div>Email</div>
|
|
<div>Zhen@deprived.dev</div>
|
|
</div>
|
|
<div class="table-item">
|
|
<div>Phone</div>
|
|
<div>+45 42535723</div>
|
|
</div>
|
|
<div class="table-item">
|
|
<div>LinkedIn</div>
|
|
<div>Zhentao-Wei</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style lang="scss">
|
|
.container{
|
|
display: grid;
|
|
place-items: center;
|
|
width: 70%;
|
|
}
|
|
|
|
.container > div:first-child {
|
|
width: 100%;
|
|
|
|
/* Bottom border stripe*/
|
|
border-bottom: 1mm solid black;
|
|
}
|
|
|
|
.table-display {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-item {
|
|
display: flex;
|
|
justify-items: start;
|
|
|
|
width: 100%;
|
|
border-bottom: 0.25mm solid #000000;
|
|
|
|
> div {
|
|
&:first-child {
|
|
width: 35%;
|
|
font-size: 4mm;
|
|
|
|
display: grid;
|
|
place-content: center start;
|
|
|
|
border-right: rgba(128, 128, 128, 0.4) dashed 0.1mm;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
width: 65%;
|
|
|
|
font-size: 3.25mm;
|
|
display: grid;
|
|
place-content: center;
|
|
|
|
padding-left: 1mm;
|
|
}
|
|
}
|
|
}
|
|
</style> |