deprived-main-website/src/routes/cv/comps/LeftTopDecor.svelte
BOTAlex c39f6b9793
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s
progress on CV update
2026-01-10 21:08:14 +01:00

75 lines
1.7 KiB
Svelte

<script>
import RepeatedSkills from "./RepeatedSkills.svelte";
// Cedit
import LinkToSource from "./LinkToSource.svelte";
export let Style = "";
export let Class = "";
</script>
<div class="container {Class}" style={Style}>
<div class=" text-center bg-[var(--left-grid-bg-color)]">
<RepeatedSkills
textOverride={["Hello", "你好", "Hej"]}
targetTextHeight={3}
targetTextWidth={50}
applyRotation={false}
/>
</div>
<div />
<div class="flex bg-black justify-center">
<div class="w-[6cm]">
<LinkToSource />
</div>
</div>
</div>
<style lang="scss">
.container {
position: absolute;
transform: translate(-30mm, 7.5mm) rotate(-45deg);
display: grid;
justify-self: start;
vertical-align: top;
align-self: flex-start;
z-index: 0;
> div:nth-child(1) {
//background-color: #2f559622;
width: 100mm;
height: 17.5mm;
padding-bottom: 1mm;
padding-top: 1mm;
// Text inside
display: grid;
place-content: center;
border-bottom: var(--left-decor-line-color) dotted 0.5mm;
border-top: var(--left-decor-line-color) dotted 0.5mm;
&:first-child {
color: var(--left-decor-text-color);
font-size: 3mm;
//font-weight: bold;
}
}
> div:nth-child(2) {
padding-top: 4mm;
//border-bottom: #4472c4 dashed 2mm;
// background-color: var(--left-grid-bg-color);
background-image: linear-gradient(
to right,
var(--left-decor-line-color) 70%,
rgba(255, 255, 255, 0) 0%
);
background-position: bottom;
background-size: 6mm 1.5mm;
background-repeat: repeat-x;
}
}
</style>