Update CV, make programming first selected CV and hide others
Deploy with Docker Compose / deploy (push) Has been cancelled
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
+74
-72
@@ -3,129 +3,131 @@ import { ref, shallowRef } from "vue";
|
||||
import { RouterLink } from "vue-router";
|
||||
import CVGeneral from "./CVGeneral.vue";
|
||||
import CVProgramming from "./CVProgramming.vue";
|
||||
import CVSecurity from "./CVSecurity.vue";
|
||||
import CVBackend from "./CVBackend.vue";
|
||||
import CVFrontend from "./CVFrontend.vue";
|
||||
import CVTemp from "./CVTemp.vue";
|
||||
import CVElectrical from "./CVElectrical.vue";
|
||||
import CVHospitality from "./CVHospitality.vue";
|
||||
import CVAnalyst from "./CVAnalyst.vue";
|
||||
// import CVSecurity from "./CVSecurity.vue";
|
||||
// import CVBackend from "./CVBackend.vue";
|
||||
// import CVFrontend from "./CVFrontend.vue";
|
||||
// import CVTemp from "./CVTemp.vue";
|
||||
// import CVElectrical from "./CVElectrical.vue";
|
||||
// import CVHospitality from "./CVHospitality.vue";
|
||||
// import CVAnalyst from "./CVAnalyst.vue";
|
||||
|
||||
const templates = [
|
||||
{ label: "General", component: CVGeneral },
|
||||
{ label: "Programming", component: CVProgramming },
|
||||
{ label: "Security", component: CVSecurity },
|
||||
{ label: "Backend", component: CVBackend },
|
||||
{ label: "Frontend", component: CVFrontend },
|
||||
{ label: "Temp", component: CVTemp },
|
||||
{ label: "Electrical", component: CVElectrical },
|
||||
{ label: "Hospitality", component: CVHospitality },
|
||||
{ label: "Analyst", component: CVAnalyst },
|
||||
{ label: "Programming", component: CVProgramming },
|
||||
{ label: "General", component: CVGeneral },
|
||||
// { label: "Security", component: CVSecurity },
|
||||
// { label: "Backend", component: CVBackend },
|
||||
// { label: "Frontend", component: CVFrontend },
|
||||
// { label: "Temp", component: CVTemp },
|
||||
// { label: "Electrical", component: CVElectrical },
|
||||
// { label: "Hospitality", component: CVHospitality },
|
||||
// { label: "Analyst", component: CVAnalyst },
|
||||
];
|
||||
|
||||
const selected = ref(0);
|
||||
const currentComponent = shallowRef(templates[0].component);
|
||||
|
||||
function select(index) {
|
||||
selected.value = index;
|
||||
currentComponent.value = templates[index].component;
|
||||
selected.value = index;
|
||||
currentComponent.value = templates[index].component;
|
||||
}
|
||||
|
||||
function print() {
|
||||
window.print();
|
||||
window.print();
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="cv-root">
|
||||
<div class="no-print cv-selector">
|
||||
<button
|
||||
v-for="(t, i) in templates"
|
||||
:key="t.label"
|
||||
:class="['cv-btn', { active: selected === i }]"
|
||||
@click="select(i)"
|
||||
>
|
||||
{{ t.label }}
|
||||
</button>
|
||||
<button class="cv-btn cv-print-btn" @click="print()">Print</button>
|
||||
<RouterLink to="/cv/jobs" class="cv-btn cv-jobs-btn">Jobs</RouterLink>
|
||||
<div class="cv-root">
|
||||
<div class="no-print cv-selector">
|
||||
<button
|
||||
v-for="(t, i) in templates"
|
||||
:key="t.label"
|
||||
:class="['cv-btn', { active: selected === i }]"
|
||||
@click="select(i)"
|
||||
>
|
||||
{{ t.label }}
|
||||
</button>
|
||||
<button class="cv-btn cv-print-btn" @click="print()">Print</button>
|
||||
<RouterLink to="/cv/jobs" class="cv-btn cv-jobs-btn"
|
||||
>Jobs</RouterLink
|
||||
>
|
||||
</div>
|
||||
<Transition name="cv-fade" mode="out-in">
|
||||
<component :is="currentComponent" :key="selected" />
|
||||
</Transition>
|
||||
</div>
|
||||
<Transition name="cv-fade" mode="out-in">
|
||||
<component :is="currentComponent" :key="selected" />
|
||||
</Transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.cv-root {
|
||||
background: white;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cv-selector {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 40;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
background: white;
|
||||
border-bottom: 1px solid #ddd;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 40;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
background: white;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.cv-btn {
|
||||
padding: 0.4rem 1rem;
|
||||
border: 1px solid #333;
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
color: #333;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
transition:
|
||||
background 0.15s,
|
||||
color 0.15s;
|
||||
padding: 0.4rem 1rem;
|
||||
border: 1px solid #333;
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
color: #333;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
transition:
|
||||
background 0.15s,
|
||||
color 0.15s;
|
||||
}
|
||||
|
||||
.cv-btn:hover {
|
||||
background: #eee;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.cv-btn.active {
|
||||
background: #333;
|
||||
color: white;
|
||||
background: #333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cv-print-btn {
|
||||
margin-left: 1rem;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.cv-jobs-btn {
|
||||
text-decoration: none;
|
||||
margin-left: auto;
|
||||
text-decoration: none;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.cv-fade-enter-active,
|
||||
.cv-fade-leave-active {
|
||||
transition:
|
||||
opacity 0.15s ease,
|
||||
transform 0.15s ease;
|
||||
transition:
|
||||
opacity 0.15s ease,
|
||||
transform 0.15s ease;
|
||||
}
|
||||
|
||||
.cv-fade-enter-from {
|
||||
opacity: 0;
|
||||
transform: translateY(6px);
|
||||
opacity: 0;
|
||||
transform: translateY(6px);
|
||||
}
|
||||
|
||||
.cv-fade-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(-6px);
|
||||
opacity: 0;
|
||||
transform: translateY(-6px);
|
||||
}
|
||||
|
||||
@media print {
|
||||
.no-print {
|
||||
display: none !important;
|
||||
}
|
||||
.no-print {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -21,48 +21,52 @@ import Project from "./Project.vue";
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<h2>Education</h2>
|
||||
<section class="w-full flex flex-col sm:flex-row gap-5">
|
||||
<div class="flex-1">
|
||||
<h2>
|
||||
<a
|
||||
href="https://www.adam-french.co.uk/pdf/transcript.pdf"
|
||||
|
||||
<section>
|
||||
<h2>Education</h2>
|
||||
<div class="w-full flex flex-col sm:flex-row gap-5">
|
||||
<div class="flex-1">
|
||||
<div
|
||||
class="flex-row flex place-content-between m-auto place-items-center"
|
||||
>
|
||||
University of Leeds
|
||||
</a>
|
||||
</h2>
|
||||
<div
|
||||
class="flex-row flex place-content-between m-auto place-items-center"
|
||||
>
|
||||
<small>First Class Honours (81.1%)</small>
|
||||
<small>Sep 2021 – Jun 2025</small>
|
||||
<h3>
|
||||
<a href="/pdf/transcript.pdf">
|
||||
University of Leeds
|
||||
</a>
|
||||
</h3>
|
||||
<p>First Class Honours (81.1%)</p>
|
||||
</div>
|
||||
<p>BSc Computer Science with Mathematics</p>
|
||||
<ul class="list-disc list-inside pt-1">
|
||||
<li>Algorithms & Data Structures I & II</li>
|
||||
<li>Compiler Design and Construction</li>
|
||||
<li>Formal Languages & Finite Automata</li>
|
||||
<li>Graph Algorithms & Complexity Theory</li>
|
||||
<li>
|
||||
Machine Learning, Databases, Computer Processors
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<small>BSc Computer Science with Mathematics </small>
|
||||
<ul class="list-disc list-inside">
|
||||
<li>Algorithms & Data Structures I & II</li>
|
||||
<li>Compiler Design and Construction</li>
|
||||
<li>Formal Languages & Finite Automata</li>
|
||||
<li>Graph Algorithms & Complexity Theory</li>
|
||||
<li>
|
||||
Machine Learning, Databases, Computer Processors
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h2>University of Waterloo</h2>
|
||||
<div
|
||||
class="flex-row flex place-content-between m-auto place-items-center"
|
||||
>
|
||||
<small>Year abroad</small>
|
||||
<small>Sep 2023 – Apr 2024</small>
|
||||
<div class="flex-1">
|
||||
<div
|
||||
class="flex-row flex place-content-between m-auto place-items-center"
|
||||
>
|
||||
<h3>
|
||||
<a href="/pdf/transcript2.pdf">
|
||||
University of Waterloo
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<p>Year abroad</p>
|
||||
<ul class="list-disc list-inside pt-1">
|
||||
<li>Applied Cryptography</li>
|
||||
<li>Introduction to Computer Graphics</li>
|
||||
<li>
|
||||
Introduction to Rings and Fields with
|
||||
Applications
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="list-disc list-inside">
|
||||
<li>Applied Cryptography</li>
|
||||
<li>Introduction to Computer Graphics</li>
|
||||
<li>
|
||||
Introduction to Rings and Fields with Applications
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -249,7 +253,13 @@ import Project from "./Project.vue";
|
||||
|
||||
<Project class="border-b border-dotted">
|
||||
<template #left>
|
||||
<h4>Daisy Green Holland Park</h4>
|
||||
<h4>
|
||||
<a
|
||||
href="https://www.daisygreenfood.com/location-hollandpark"
|
||||
>
|
||||
Daisy Green Holland Park
|
||||
</a>
|
||||
</h4>
|
||||
</template>
|
||||
<template #top>
|
||||
<small>Barista & Front of House</small>
|
||||
@@ -262,7 +272,11 @@ import Project from "./Project.vue";
|
||||
</Project>
|
||||
<Project class="border-b border-dotted">
|
||||
<template #left>
|
||||
<h4>Belgrave Music Hall</h4>
|
||||
<h4>
|
||||
<a href="https://www.belgravemusichall.com/">
|
||||
Belgrave Music Hall
|
||||
</a>
|
||||
</h4>
|
||||
</template>
|
||||
<template #top>
|
||||
<small>Bartender & Waiter</small>
|
||||
@@ -277,7 +291,11 @@ import Project from "./Project.vue";
|
||||
</Project>
|
||||
<Project class="border-b border-dotted">
|
||||
<template #left>
|
||||
<h4>The Crown and Anchor</h4>
|
||||
<h4>
|
||||
<a href="https://crownandanchoreastbourne.co.uk/">
|
||||
The Crown and Anchor
|
||||
</a>
|
||||
</h4>
|
||||
</template>
|
||||
<template #top>
|
||||
<small>Bartender & Waiter</small>
|
||||
@@ -292,7 +310,11 @@ import Project from "./Project.vue";
|
||||
</Project>
|
||||
<Project class="border-b border-dotted">
|
||||
<template #left>
|
||||
<h4>To The Rise Bakery</h4>
|
||||
<h4>
|
||||
<a href="https://www.totherisebakery.com/">
|
||||
To The Rise Bakery
|
||||
</a>
|
||||
</h4>
|
||||
</template>
|
||||
<template #top>
|
||||
<small>Barista & Front of House</small>
|
||||
@@ -307,7 +329,13 @@ import Project from "./Project.vue";
|
||||
</Project>
|
||||
<Project>
|
||||
<template #left>
|
||||
<h4>BFI Riverfront Kitchen</h4>
|
||||
<h4>
|
||||
<a
|
||||
href="https://www.benugo.com/sites/restaurants/bfi-riverfront/"
|
||||
>
|
||||
BFI Riverfront Kitchen
|
||||
</a>
|
||||
</h4>
|
||||
</template>
|
||||
<template #top>
|
||||
<small>Cashier & Waiter</small>
|
||||
|
||||
+111
-111
@@ -8,191 +8,191 @@
|
||||
*/
|
||||
|
||||
.cv-template {
|
||||
/* Color palette — overrides global :root vars within CV scope */
|
||||
--primary: black;
|
||||
--secondary: #000088;
|
||||
--tertiary: #ff0000;
|
||||
--quaternary: #cccccc;
|
||||
--background: white;
|
||||
/* Color palette — overrides global :root vars within CV scope */
|
||||
--primary: black;
|
||||
--secondary: #000088;
|
||||
--tertiary: #ff0000;
|
||||
--quaternary: #cccccc;
|
||||
--background: white;
|
||||
|
||||
/* Fonts */
|
||||
--font-heading: big_noodle_titling;
|
||||
--font-text: CreatoDisplay;
|
||||
/* Fonts */
|
||||
--font-heading: big_noodle_titling;
|
||||
--font-text: CreatoDisplay;
|
||||
|
||||
/* Variation hooks — defaults match Hospitality/Frontend/Backend/Temp */
|
||||
--cv-page-padding: 8mm;
|
||||
--cv-line-height: 1.4;
|
||||
--cv-page-gap: 0;
|
||||
--cv-name-size: 3.1em;
|
||||
--cv-heading-size: 2.1em;
|
||||
--cv-subheading-size: 1.7em;
|
||||
--cv-subsubheading-size: 1.4em;
|
||||
--cv-text-size: 1em;
|
||||
--cv-small-size: 1em;
|
||||
--cv-list-size: 0.92em;
|
||||
--cv-heading-transform: capitalize;
|
||||
--cv-heading-margin: 0;
|
||||
/* Variation hooks — defaults match Hospitality/Frontend/Backend/Temp */
|
||||
--cv-page-padding: 8mm;
|
||||
--cv-line-height: 1.4;
|
||||
--cv-page-gap: 0;
|
||||
--cv-name-size: 3.1em;
|
||||
--cv-heading-size: 2.1em;
|
||||
--cv-subheading-size: 1.7em;
|
||||
--cv-subsubheading-size: 1.4em;
|
||||
--cv-text-size: 1em;
|
||||
--cv-small-size: 1em;
|
||||
--cv-list-size: 0.92em;
|
||||
--cv-heading-transform: capitalize;
|
||||
--cv-heading-margin: 0;
|
||||
}
|
||||
|
||||
.cv-template main {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: fit-content;
|
||||
background-color: var(--background);
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: fit-content;
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
.cv-template .a4page {
|
||||
width: 210mm;
|
||||
height: 297mm;
|
||||
padding: var(--cv-page-padding);
|
||||
line-height: var(--cv-line-height);
|
||||
gap: var(--cv-page-gap);
|
||||
box-sizing: border-box;
|
||||
background-color: var(--background);
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid var(--primary);
|
||||
overflow: hidden;
|
||||
margin: auto auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: var(--font-text);
|
||||
width: 210mm;
|
||||
height: 297mm;
|
||||
padding: var(--cv-page-padding);
|
||||
line-height: var(--cv-line-height);
|
||||
gap: var(--cv-page-gap);
|
||||
box-sizing: border-box;
|
||||
background-color: var(--background);
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
border: 1px solid var(--primary);
|
||||
overflow: hidden;
|
||||
margin: auto auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: var(--font-text);
|
||||
}
|
||||
|
||||
.cv-template .name {
|
||||
font-size: var(--cv-name-size);
|
||||
font-size: var(--cv-name-size);
|
||||
}
|
||||
|
||||
.cv-template h1,
|
||||
.cv-template h2,
|
||||
.cv-template h3,
|
||||
.cv-template h4 {
|
||||
margin: var(--cv-heading-margin);
|
||||
border: none;
|
||||
color: var(--primary);
|
||||
font-family: var(--font-heading);
|
||||
text-transform: var(--cv-heading-transform);
|
||||
margin: var(--cv-heading-margin);
|
||||
color: var(--primary);
|
||||
font-family: var(--font-heading);
|
||||
text-transform: var(--cv-heading-transform);
|
||||
}
|
||||
|
||||
.cv-template h1 {
|
||||
font-size: var(--cv-heading-size);
|
||||
font-size: var(--cv-heading-size);
|
||||
}
|
||||
|
||||
.cv-template h2 {
|
||||
border-bottom: 1px solid var(--primary);
|
||||
font-size: var(--cv-subheading-size);
|
||||
border-bottom: 1px solid var(--primary);
|
||||
margin-bottom: 2px;
|
||||
font-size: var(--cv-subheading-size);
|
||||
}
|
||||
|
||||
.cv-template h3 {
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
}
|
||||
|
||||
.cv-template h4 {
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
}
|
||||
|
||||
.cv-template p {
|
||||
margin-bottom: 0.2em;
|
||||
color: var(--primary);
|
||||
font-size: var(--cv-text-size);
|
||||
margin-bottom: 0.2em;
|
||||
color: var(--primary);
|
||||
font-size: var(--cv-text-size);
|
||||
}
|
||||
|
||||
.cv-template a {
|
||||
background-color: transparent;
|
||||
color: var(--secondary);
|
||||
font-family: inherit;
|
||||
background-color: transparent;
|
||||
color: var(--secondary);
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.cv-template a:hover {
|
||||
color: var(--tertiary);
|
||||
color: var(--tertiary);
|
||||
}
|
||||
|
||||
.cv-template small {
|
||||
font-size: var(--cv-small-size);
|
||||
color: var(--primary);
|
||||
font-size: var(--cv-small-size);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.cv-template ul {
|
||||
font-size: var(--cv-list-size);
|
||||
margin: 0;
|
||||
padding-left: 1.2em;
|
||||
font-size: var(--cv-list-size);
|
||||
margin: 0;
|
||||
padding-left: 1.2em;
|
||||
}
|
||||
|
||||
.cv-template li {
|
||||
font-size: var(--cv-list-size);
|
||||
color: var(--primary);
|
||||
list-style: disc;
|
||||
font-size: var(--cv-list-size);
|
||||
color: var(--primary);
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.cv-template .skills-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 0.3em 1em;
|
||||
margin-bottom: 0.2em;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 0.3em 1em;
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
|
||||
.cv-template .grades-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, auto 1fr);
|
||||
column-gap: 0.5em;
|
||||
row-gap: 0.1em;
|
||||
font-size: var(--cv-text-size);
|
||||
color: var(--primary);
|
||||
margin: 0.15em 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, auto 1fr);
|
||||
column-gap: 0.5em;
|
||||
row-gap: 0.1em;
|
||||
font-size: var(--cv-text-size);
|
||||
color: var(--primary);
|
||||
margin: 0.15em 0;
|
||||
}
|
||||
|
||||
.cv-template .grades-grid > span:nth-child(4n + 2),
|
||||
.cv-template .grades-grid > span:nth-child(4n) {
|
||||
font-weight: 600;
|
||||
padding-right: 1.5em;
|
||||
font-weight: 600;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.cv-template .grades-grid {
|
||||
grid-template-columns: auto 1fr;
|
||||
}
|
||||
.cv-template .grades-grid {
|
||||
grid-template-columns: auto 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.cv-template table {
|
||||
color: var(--secondary);
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
color: var(--secondary);
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.cv-template td {
|
||||
color: var(--secondary);
|
||||
border-top: 1px solid var(--tertiary);
|
||||
padding: 1px 10px;
|
||||
font-size: var(--cv-text-size);
|
||||
text-align: left;
|
||||
color: var(--secondary);
|
||||
border-top: 1px solid var(--tertiary);
|
||||
padding: 1px 10px;
|
||||
font-size: var(--cv-text-size);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.cv-template th {
|
||||
color: var(--secondary);
|
||||
border: 2px solid var(--tertiary);
|
||||
padding: 1px 0 1px 7px;
|
||||
font-family: var(--font-heading);
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
background-color: var(--quaternary);
|
||||
text-align: left;
|
||||
color: var(--secondary);
|
||||
border: 2px solid var(--tertiary);
|
||||
padding: 1px 0 1px 7px;
|
||||
font-family: var(--font-heading);
|
||||
font-size: var(--cv-subsubheading-size);
|
||||
background-color: var(--quaternary);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.cv-template .a4page {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
.cv-template .a4page {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.cv-template .skills-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.cv-template .skills-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
.cv-template .no-print {
|
||||
display: none !important;
|
||||
}
|
||||
.cv-template .no-print {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="menu"></div>
|
||||
<div class="header"></div>
|
||||
<div class="menu">
|
||||
<div class="header">
|
||||
<div class="sort-select"></div>
|
||||
<div class="mix-select"></div>
|
||||
<div class="levelbar"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="footer-difficulty"></div>
|
||||
<div class="footer-controls">
|
||||
@@ -35,23 +38,26 @@
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
div {
|
||||
opacity: 80%;
|
||||
}
|
||||
|
||||
.menu {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 1920px;
|
||||
height: 1080px;
|
||||
background-image: url("/img/ss_c523b1c1311d195e10b1a96c70db1b85c20a8bda.1920x1080.jpg");
|
||||
background-size: cover;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
background-blend-mode: lighten;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: grid;
|
||||
grid-template-areas: "sort sort sort sort sort sort sort sort sort mix mix levelbar levelbar levelbar levelbar";
|
||||
flex-direction: row;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -60,6 +66,24 @@
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
}
|
||||
|
||||
.levelbar {
|
||||
grid-area: levelbar;
|
||||
background-color: green;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mix-select {
|
||||
grid-area: mix;
|
||||
flex: 1;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.sort-select {
|
||||
grid-area: sort;
|
||||
flex: 1;
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -72,11 +96,11 @@
|
||||
|
||||
.footer-difficulty {
|
||||
height: 58%;
|
||||
background-color: rgba(200, 128, 128, 0.5);
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.footer-controls {
|
||||
background-color: rgba(200, 0, 128, 0.5);
|
||||
background-color: blue;
|
||||
height: 42%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in New Issue
Block a user