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