style changes
This commit is contained in:
@@ -24,15 +24,27 @@
|
|||||||
|
|
||||||
/* VARIABLES */
|
/* VARIABLES */
|
||||||
:root {
|
:root {
|
||||||
--primary: black;
|
/* RED, WHITE, BLACK are standard*/
|
||||||
--secondary: black;
|
--portal-grey: #dddddd;
|
||||||
|
--portal_orange: #ff9a00;
|
||||||
|
--portal_light_orange: #ff5d00;
|
||||||
|
--portal_blue: #0065ff;
|
||||||
|
--portal_light_blue: #00a2ff;
|
||||||
|
|
||||||
|
/* MAIN COLORS */
|
||||||
|
--primary: white;
|
||||||
|
--secondary: beige;
|
||||||
--tertiary: #5a6952;
|
--tertiary: #5a6952;
|
||||||
--quaternary: #424542;
|
--quaternary: #424542;
|
||||||
--background_paper1: #293029;
|
|
||||||
--background_paper2: #293019;
|
|
||||||
--background_paper3: #293009;
|
|
||||||
--background: #5a6952;
|
|
||||||
|
|
||||||
|
/* BACKGROUND COLORS */
|
||||||
|
--bg-body: #000000;
|
||||||
|
--bg_primary: #222;
|
||||||
|
--bg_secondary: #444;
|
||||||
|
--bg_tertiary: #666;
|
||||||
|
--bg_quaternary: #888;
|
||||||
|
|
||||||
|
/* FONTS USED */
|
||||||
--font-heading: big_noodle_titling;
|
--font-heading: big_noodle_titling;
|
||||||
--font-text: CreatoDisplay;
|
--font-text: CreatoDisplay;
|
||||||
}
|
}
|
||||||
@@ -41,12 +53,10 @@
|
|||||||
/* ELEMENTS */
|
/* ELEMENTS */
|
||||||
body {
|
body {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
font-family: var(--font-text);
|
font-family: var(--font-text);
|
||||||
background-color: beige;
|
background-color: var(--bg-body);
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
color: var(--secondary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
@@ -57,9 +67,8 @@ h4 {
|
|||||||
font-family: var(--font-heading);
|
font-family: var(--font-heading);
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
p {
|
||||||
width: 100%;
|
color: var(--secondary);
|
||||||
object-fit: contain;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
video {
|
video {
|
||||||
@@ -67,50 +76,145 @@ video {
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
/* END OF ELEMENTS */
|
/* END OF ELEMENTS */
|
||||||
|
|
||||||
/* CLASSES */
|
/* CLASSES */
|
||||||
|
.img-stamp {
|
||||||
|
width: 99px;
|
||||||
|
height: 55px;
|
||||||
|
}
|
||||||
|
|
||||||
.tile1 {
|
.tile1 {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
border: 30px solid;
|
||||||
|
border-image: url("/img/borders/border1inv.gif") 30 round;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tile3 {
|
.tile3 {
|
||||||
width: 936px;
|
width: 936px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border1 {
|
.w100 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.w80 {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.w50 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.w49 {
|
||||||
|
width: 49%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w300px {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
.w200px {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.h300px {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
.h200px {
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* BORDERS */
|
||||||
|
.bdr-1 {
|
||||||
border: 30px solid;
|
border: 30px solid;
|
||||||
border-image: url("/img/borders/border3.gif") 30 round;
|
border-image: url("/img/borders/border1.gif") 30 round;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border2 {
|
.bdr-1-inv {
|
||||||
border: 2px solid black;
|
border: 30px solid;
|
||||||
text-align: center;
|
border-image: url("/img/borders/border1inv.gif") 30 round;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border4 {
|
.bdr-2 {
|
||||||
border: 7px solid;
|
border: 7px solid;
|
||||||
border-image: url("/img/borders/border4.gif") 7 round;
|
border-image: url("/img/borders/border4.gif") 7 round;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-cv {
|
.bdr-cv {
|
||||||
border: 30px solid;
|
border: 30px solid;
|
||||||
border-image: url("/img/borders/bordercv.png") 30 round;
|
border-image: url("/img/borders/bordercv.png") 30 round;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadow1 {
|
.bdr-primary {
|
||||||
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
|
border: 2px solid var(--primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bdr-secondary {
|
||||||
|
border: 2px solid var(--secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bdr-tertiary {
|
||||||
|
border: 2px solid var(--tertiary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bdr-quaternary {
|
||||||
|
border: 2px solid var(--quaternary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* SHADOWS */
|
||||||
|
|
||||||
|
.shadow-primary {
|
||||||
|
box-shadow: 0 20px 20px var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.shadow-secondary {
|
||||||
|
box-shadow: 0 20px 20px var(--secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.shadow-tertiary {
|
||||||
|
box-shadow: 0 20px 20px var(--tertiary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.shadow-quaternary {
|
||||||
|
box-shadow: 0 20px 20px var(--quaternary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* BACKGROUNDS */
|
||||||
|
|
||||||
.bg-white {
|
.bg-white {
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg-primary {
|
||||||
|
background: var(--bg_primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-secondary {
|
||||||
|
background: var(--bg_secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-tertiary {
|
||||||
|
background: var(--bg_tertiary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-quaternary {
|
||||||
|
background: var(--bg_quaternary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* SIZING */
|
||||||
|
|
||||||
.fill {
|
.fill {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.margin1 {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ALIGNMENT */
|
||||||
|
|
||||||
.center-content {
|
.center-content {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -132,51 +236,40 @@ video {
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.margin1 {
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.album-img {
|
|
||||||
width: 50mm;
|
|
||||||
height: 50mm;
|
|
||||||
}
|
|
||||||
|
|
||||||
.floating {
|
.floating {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A5 Page */
|
/* A5 Page */
|
||||||
.a5page {
|
.a5page-landscape {
|
||||||
/* overflow: scroll; */
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
font-family: var(--font-text);
|
font-family: var(--font-text);
|
||||||
height: 148mm;
|
height: 148mm;
|
||||||
width: 210mm;
|
width: 210mm;
|
||||||
padding: 5mm;
|
margin: 0px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a5page-portrait {
|
||||||
|
font-family: var(--font-text);
|
||||||
|
width: 148mm;
|
||||||
|
height: 210mm;
|
||||||
|
margin: 0px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: var(--background_paper1);
|
|
||||||
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
|
|
||||||
border: solid 2px var(--primary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A4 Page */
|
/* A4 Page */
|
||||||
.a4page {
|
.a4page-portrait {
|
||||||
line-height: 1.6;
|
|
||||||
font-family: var(--font-text);
|
|
||||||
width: 210mm;
|
width: 210mm;
|
||||||
/* Standard A4 width */
|
|
||||||
height: 297mm;
|
height: 297mm;
|
||||||
/* Standard A4 height */
|
margin: 0px;
|
||||||
padding: 10mm;
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a4page-landscape {
|
||||||
|
height: 210mm;
|
||||||
|
width: 297mm;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: var(--background_paper1);
|
|
||||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
|
||||||
border: 1px solid var(--primary);
|
|
||||||
overflow: auto;
|
|
||||||
/* Enables scrolling when content exceeds height */
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/* Centers the page horizontally */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* END OF CLASSES */
|
/* END OF CLASSES */
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import Footer from "@/components/Footer.vue";
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Navbar style="height: 10vh" />
|
<Navbar style="height: 5vh" />
|
||||||
|
|
||||||
<RouterView />
|
<RouterView />
|
||||||
|
|
||||||
<Footer />
|
<!-- <Footer style="height: 10vh" /> -->
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -17,6 +17,14 @@ const router = createRouter({
|
|||||||
// which is lazy-loaded when the route is visited.
|
// which is lazy-loaded when the route is visited.
|
||||||
component: () => import("../views/CV.vue"),
|
component: () => import("../views/CV.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/admin",
|
||||||
|
name: "admin",
|
||||||
|
// route level code-splitting
|
||||||
|
// this generates a separate chunk (About.[hash].js) for this route
|
||||||
|
// which is lazy-loaded when the route is visited.
|
||||||
|
component: () => import("../views/Admin.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/bookmarks",
|
path: "/bookmarks",
|
||||||
name: "bookmarks",
|
name: "bookmarks",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<main>
|
<main>
|
||||||
<h1>404 not found lol</h1>
|
<h1>404 not found lol</h1>
|
||||||
<img href="/img/Untitled.png" ) />
|
<img href="/img/epic.jpeg" ) />
|
||||||
<RouterLink to="/">Take me home!</RouterLink>
|
<RouterLink to="/">Take me home!</RouterLink>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
20
nginx/vue/src/views/Admin.vue
Normal file
20
nginx/vue/src/views/Admin.vue
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<script setup>
|
||||||
|
import Login from "@/components/admin/Login.vue";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<main class="center-content flex-col">
|
||||||
|
<div class="a5page-portrait bdr-1 grid">
|
||||||
|
<Login />
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.grid {
|
||||||
|
display: grid;
|
||||||
|
grid-gap: 10px;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
grid-template-rows: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user