mogging
This commit is contained in:
@@ -45,9 +45,9 @@
|
|||||||
/* BACKGROUND COLORS */
|
/* BACKGROUND COLORS */
|
||||||
--bg-body: #111;
|
--bg-body: #111;
|
||||||
--bg_primary: #fff;
|
--bg_primary: #fff;
|
||||||
--bg_secondary: #444;
|
--bg_secondary: #ffa;
|
||||||
--bg_tertiary: #666;
|
--bg_tertiary: #aaa;
|
||||||
--bg_quaternary: #888;
|
--bg_quaternary: #999;
|
||||||
|
|
||||||
--margin: 3px;
|
--margin: 3px;
|
||||||
--padding: 3px;
|
--padding: 3px;
|
||||||
@@ -68,16 +68,19 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background-color: var(--bg_primary);
|
background-color: var(--bg_secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4 {
|
h4 {
|
||||||
|
background-color: var(--bg_primary);
|
||||||
|
border-bottom: 1px solid var(--bg_secondary);
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-family: var(--font_heading);
|
font-family: var(--font_heading);
|
||||||
margin: var(--margin);
|
margin: var(--margin);
|
||||||
@@ -222,8 +225,10 @@ tr {
|
|||||||
|
|
||||||
.center-content {
|
.center-content {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center-text {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-content {
|
.left-content {
|
||||||
@@ -239,6 +244,10 @@ tr {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-center {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
@@ -264,6 +273,10 @@ tr {
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
.space-around {
|
.space-around {
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
@@ -320,13 +333,15 @@ tr {
|
|||||||
margin: 0 auto; /* center horizontally */
|
margin: 0 auto; /* center horizontally */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.a3page-portrait {
|
}
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.a5page-portrait {
|
||||||
width: 100%; /* fill mobile width */
|
width: 100%; /* fill mobile width */
|
||||||
height: auto; /* adjust height automatically */
|
height: auto; /* adjust height automatically */
|
||||||
margin: 0 auto; /* center horizontally */
|
margin: 0 auto; /* center horizontally */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.a3page-landscape {
|
.a5page-landscape {
|
||||||
width: 100%; /* fill mobile width */
|
width: 100%; /* fill mobile width */
|
||||||
height: auto; /* adjust height automatically */
|
height: auto; /* adjust height automatically */
|
||||||
margin: 0 auto; /* center horizontally */
|
margin: 0 auto; /* center horizontally */
|
||||||
@@ -334,3 +349,78 @@ tr {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* END OF PHONE */
|
/* END OF PHONE */
|
||||||
|
|
||||||
|
/* BACKGROUND */
|
||||||
|
.overlay {
|
||||||
|
position: fixed; /* not absolute */
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wfull {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-10vw {
|
||||||
|
width: 10vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tl {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bl {
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.br {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.background {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: -1;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.halftone {
|
||||||
|
--dot_size: 1px;
|
||||||
|
--bg_size: 3px;
|
||||||
|
--bg_pos: calc(var(--bg_size) / 2);
|
||||||
|
--blur: 0%;
|
||||||
|
--dot_color: #033;
|
||||||
|
--bg_color: #000;
|
||||||
|
|
||||||
|
background-color: var(--bg_color);
|
||||||
|
background-image: radial-gradient(
|
||||||
|
circle at center,
|
||||||
|
var(--dot_color) var(--dot_size),
|
||||||
|
transparent var(--blur)
|
||||||
|
);
|
||||||
|
background-size: var(--bg_size) var(--bg_size);
|
||||||
|
background-position: 0 0;
|
||||||
|
|
||||||
|
mask-image: linear-gradient(
|
||||||
|
30deg,
|
||||||
|
rgba(1, 1, 1, 1) 0%,
|
||||||
|
rgba(1, 1, 1, 0.9) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|||||||
@@ -16,16 +16,21 @@ const parentPath = computed(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav class="flex-row">
|
<nav class="left flex-col">
|
||||||
<RouterLink class="bdr-2" to="/"><h1>HOME</h1></RouterLink>
|
<RouterLink class="bdr-2" to="/">
|
||||||
|
<a>HOME</a>
|
||||||
|
</RouterLink>
|
||||||
<RouterLink class="bdr-2" v-if="parentPath" :to="parentPath">
|
<RouterLink class="bdr-2" v-if="parentPath" :to="parentPath">
|
||||||
<h1>UP</h1>
|
<a>UP</a>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
h1 {
|
.left {
|
||||||
padding: 10px;
|
width: 5vw;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="overlay">
|
|
||||||
<slot />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.overlay {
|
|
||||||
position: fixed; /* not absolute */
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -28,5 +28,6 @@ async function post() {
|
|||||||
<input type="text" v-model="title" placeholder="Title" />
|
<input type="text" v-model="title" placeholder="Title" />
|
||||||
<textarea v-model="content" placeholder="Content"></textarea>
|
<textarea v-model="content" placeholder="Content"></textarea>
|
||||||
<button @click="post">Upload</button>
|
<button @click="post">Upload</button>
|
||||||
|
<!-- make textarea take up most the space -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="halftone" />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: -1;
|
|
||||||
object-fit: cover; /* optional if it’s an img background */
|
|
||||||
}
|
|
||||||
|
|
||||||
.halftone {
|
|
||||||
--dot_size: 1px;
|
|
||||||
--bg_size: 3px;
|
|
||||||
--bg_pos: calc(var(--bg_size) / 2);
|
|
||||||
--blur: 0%;
|
|
||||||
--dot_color: #033;
|
|
||||||
--bg_color: #000;
|
|
||||||
|
|
||||||
background-color: var(--bg_color);
|
|
||||||
background-image: radial-gradient(
|
|
||||||
circle at center,
|
|
||||||
var(--dot_color) var(--dot_size),
|
|
||||||
transparent var(--blur)
|
|
||||||
);
|
|
||||||
background-size: var(--bg_size) var(--bg_size);
|
|
||||||
background-position: 0 0;
|
|
||||||
|
|
||||||
mask-image: linear-gradient(
|
|
||||||
30deg,
|
|
||||||
rgba(1, 1, 1, 1) 0%,
|
|
||||||
rgba(1, 1, 1, 0.9) 100%
|
|
||||||
);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -37,14 +37,14 @@ onMounted(() => {
|
|||||||
v-if="fetched"
|
v-if="fetched"
|
||||||
:key="song"
|
:key="song"
|
||||||
v-on:click="nextSong"
|
v-on:click="nextSong"
|
||||||
class="flex-col center-content"
|
class="flex-col center-content center-text"
|
||||||
>
|
>
|
||||||
<h2>Listening To</h2>
|
<h2>Listening To</h2>
|
||||||
<img :src="song.track.album.images[0].url" />
|
<img :src="song.track.album.images[0].url" />
|
||||||
<p><strong>Song:</strong> {{ song.track.name }}</p>
|
<p><strong>Song:</strong> {{ song.track.name }}</p>
|
||||||
<p><strong>Artist:</strong> {{ song.track.artists[0].name }}</p>
|
<p><strong>Artist:</strong> {{ song.track.artists[0].name }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="flex-col center-content">
|
<div v-else class="flex-col center-content center-text">
|
||||||
<h2>Listening To</h2>
|
<h2>Listening To</h2>
|
||||||
<img src="/img/Untitled.png" />
|
<img src="/img/Untitled.png" />
|
||||||
<p><strong>Song:</strong> >_<</p>
|
<p><strong>Song:</strong> >_<</p>
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ const keys = ["name", "link"];
|
|||||||
:key="rowIndex"
|
:key="rowIndex"
|
||||||
:href="row.link"
|
:href="row.link"
|
||||||
>
|
>
|
||||||
<h2>{{ row.name }}</h2>
|
<p>{{ row.name }}</p>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ const keys = ["name", "link"];
|
|||||||
:key="rowIndex"
|
:key="rowIndex"
|
||||||
:to="row.link"
|
:to="row.link"
|
||||||
>
|
>
|
||||||
<h2>{{ row.name }}</h2>
|
<p>{{ row.name }}</p>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -2,26 +2,17 @@
|
|||||||
import Login from "@/components/admin/Login.vue";
|
import Login from "@/components/admin/Login.vue";
|
||||||
import CreateUser from "@/components/admin/CreateUser.vue";
|
import CreateUser from "@/components/admin/CreateUser.vue";
|
||||||
import CreatePost from "@/components/admin/CreatePost.vue";
|
import CreatePost from "@/components/admin/CreatePost.vue";
|
||||||
|
|
||||||
import Halftone from "@/components/backgrounds/Halftone.vue";
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="center-content flex-col">
|
<main class="center-content flex-col">
|
||||||
<Halftone />
|
<div class="background halftone" />
|
||||||
<div class="a5page-portrait bdr-1 grid">
|
<div class="a5page-portrait bdr-1 flex-col">
|
||||||
<Login class="bdr-2 bg-secondary" />
|
<Login class="bdr-2 bg-secondary" />
|
||||||
|
<!--
|
||||||
<CreateUser class="bdr-2 bg-secondary" />
|
<CreateUser class="bdr-2 bg-secondary" />
|
||||||
|
-->
|
||||||
<CreatePost class="bdr-2 bg-secondary" />
|
<CreatePost class="bdr-2 bg-secondary" />
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.grid {
|
|
||||||
display: grid;
|
|
||||||
grid-gap: 10px;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
grid-template-rows: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ const art_links = [
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="center-content flex-col">
|
<main class="center-content flex-col">
|
||||||
|
<div class="background halftone" />
|
||||||
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
||||||
<h1>Radio Links</h1>
|
<h1>Radio Links</h1>
|
||||||
<LinkTable :linkArr="radio_links" />
|
<LinkTable :linkArr="radio_links" />
|
||||||
|
|||||||
@@ -464,6 +464,7 @@ h1,
|
|||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4 {
|
h4 {
|
||||||
|
border: none;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-family: var(--font-heading);
|
font-family: var(--font-heading);
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
|
import Timer from "@/components/quick/Timer.vue";
|
||||||
|
|
||||||
import Intro from "@/components/home/Intro.vue";
|
import Intro from "@/components/home/Intro.vue";
|
||||||
import Stamps from "@/components/home/Stamps.vue";
|
import Stamps from "@/components/home/Stamps.vue";
|
||||||
import Listening from "@/components/home/Listening.vue";
|
import Listening from "@/components/home/Listening.vue";
|
||||||
@@ -8,23 +10,17 @@ import Collage from "@/components/home/Collage.vue";
|
|||||||
import Favorites from "@/components/home/Favorites.vue";
|
import Favorites from "@/components/home/Favorites.vue";
|
||||||
import Gym from "@/components/home/Gym.vue";
|
import Gym from "@/components/home/Gym.vue";
|
||||||
import Watching from "@/components/home/Watching.vue";
|
import Watching from "@/components/home/Watching.vue";
|
||||||
|
|
||||||
import Halftone from "@/components/backgrounds/Halftone.vue";
|
|
||||||
import Overlay from "@/components/Overlay.vue";
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Halftone />
|
<div class="overlay">
|
||||||
|
<img src="/img/memes/fire-woman.gif" class="br w-10vw" />
|
||||||
|
<Timer class="tr bdr-2 bg-primary" />
|
||||||
|
</div>
|
||||||
|
<div class="background halftone" />
|
||||||
|
|
||||||
<main class="center-content flex-col">
|
<main class="center-content flex-col">
|
||||||
<div class="a4page-portrait bdr-1 grid relative">
|
<div class="a4page-portrait bdr-1 grid relative">
|
||||||
<!-- <Overlay> -->
|
|
||||||
<!-- <img src="/img/memes/star.gif" class="ov1" /> -->
|
|
||||||
<!-- <img src="/img/memes/welcome2.png" class="ov2" /> -->
|
|
||||||
<!-- <img src="/img/memes/pidgeon.gif" class="ov3" /> -->
|
|
||||||
<!-- <img src="/img/memes/no_slip.png" class="ov5" /> -->
|
|
||||||
<!-- <img src="/img/memes/beer.png" class="ov6" /> -->
|
|
||||||
<!-- </Overlay> -->
|
|
||||||
|
|
||||||
<Intro class="intro bdr-primary bg-primary" />
|
<Intro class="intro bdr-primary bg-primary" />
|
||||||
<Listening class="listening bdr-primary bg-primary" />
|
<Listening class="listening bdr-primary bg-primary" />
|
||||||
<Stamps class="stamps bdr-primary bg-primary" />
|
<Stamps class="stamps bdr-primary bg-primary" />
|
||||||
@@ -36,7 +32,6 @@ import Overlay from "@/components/Overlay.vue";
|
|||||||
<Gym class="gym bdr-primary bg-primary" />
|
<Gym class="gym bdr-primary bg-primary" />
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<img src="/img/memes/fire-woman.gif" class="ov4" />
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@@ -46,12 +41,6 @@ import Overlay from "@/components/Overlay.vue";
|
|||||||
grid-template-columns: repeat(10, 1fr);
|
grid-template-columns: repeat(10, 1fr);
|
||||||
grid-template-rows: repeat(10, 1fr);
|
grid-template-rows: repeat(10, 1fr);
|
||||||
}
|
}
|
||||||
.ov4 {
|
|
||||||
position: fixed; /* instead of absolute */
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
width: 250px; /* keeps size fixed */
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 850px) {
|
@media (max-width: 850px) {
|
||||||
.grid {
|
.grid {
|
||||||
@@ -59,9 +48,6 @@ import Overlay from "@/components/Overlay.vue";
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.ov4 {
|
|
||||||
width: 100px; /* keeps size fixed */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.intro {
|
.intro {
|
||||||
@@ -107,46 +93,4 @@ import Overlay from "@/components/Overlay.vue";
|
|||||||
grid-column: span 3;
|
grid-column: span 3;
|
||||||
grid-row: span 2;
|
grid-row: span 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov1 {
|
|
||||||
rotate: 10deg;
|
|
||||||
width: 100px;
|
|
||||||
position: absolute;
|
|
||||||
top: -90px;
|
|
||||||
left: 0px;
|
|
||||||
}
|
|
||||||
.ov2 {
|
|
||||||
width: 100px;
|
|
||||||
position: absolute;
|
|
||||||
top: -102px;
|
|
||||||
right: 0px;
|
|
||||||
}
|
|
||||||
.ov3 {
|
|
||||||
width: 200px;
|
|
||||||
position: absolute;
|
|
||||||
bottom: -50px;
|
|
||||||
left: -200px;
|
|
||||||
}
|
|
||||||
.ov5 {
|
|
||||||
height: 100px;
|
|
||||||
position: absolute;
|
|
||||||
top: 100px;
|
|
||||||
right: -100px;
|
|
||||||
}
|
|
||||||
.ov6 {
|
|
||||||
height: 250px;
|
|
||||||
position: absolute;
|
|
||||||
top: 450px;
|
|
||||||
right: -200px;
|
|
||||||
animation: floatY 5s ease-in-out infinite alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes floatY {
|
|
||||||
from {
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
transform: translateY(-500px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ const note_links = [
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="center-content flex-col">
|
<main class="center-content flex-col">
|
||||||
|
<div class="background halftone" />
|
||||||
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
||||||
<RouterTable :linkArr="note_links" />
|
<RouterTable :linkArr="note_links" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const shrine_links = [
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="center-content flex-col">
|
<main class="center-content flex-col">
|
||||||
|
<div class="background halftone" />
|
||||||
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
|
||||||
<RouterTable :linkArr="shrine_links" />
|
<RouterTable :linkArr="shrine_links" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user