Radio Links
diff --git a/nginx/vue/src/views/Notes.vue b/nginx/vue/src/views/Notes.vue
index c7e574c..f1e3c69 100644
--- a/nginx/vue/src/views/Notes.vue
+++ b/nginx/vue/src/views/Notes.vue
@@ -8,6 +8,7 @@ const note_links = [
diff --git a/nginx/vue/public/css/styles.css b/nginx/vue/public/css/styles.css index 211b558..30dab21 100644 --- a/nginx/vue/public/css/styles.css +++ b/nginx/vue/public/css/styles.css @@ -45,9 +45,9 @@ /* BACKGROUND COLORS */ --bg-body: #111; --bg_primary: #fff; - --bg_secondary: #444; - --bg_tertiary: #666; - --bg_quaternary: #888; + --bg_secondary: #ffa; + --bg_tertiary: #aaa; + --bg_quaternary: #999; --margin: 3px; --padding: 3px; @@ -68,16 +68,19 @@ body { } a { + text-align: center; text-decoration: none; padding: 0px; margin: 0px; - background-color: var(--bg_primary); + background-color: var(--bg_secondary); } h1, h2, h3, h4 { + background-color: var(--bg_primary); + border-bottom: 1px solid var(--bg_secondary); color: var(--primary); font-family: var(--font_heading); margin: var(--margin); @@ -222,8 +225,10 @@ tr { .center-content { align-items: center; +} + +.center-text { text-align: center; - justify-content: center; } .left-content { @@ -239,6 +244,10 @@ tr { margin: 0px; } +.flex-center { + justify-content: center; +} + .scroll { overflow: scroll; } @@ -264,6 +273,10 @@ tr { padding: 2px; } +.inline { + display: inline; +} + .space-around { justify-content: space-around; } @@ -320,13 +333,15 @@ tr { margin: 0 auto; /* center horizontally */ box-sizing: border-box; } - .a3page-portrait { +} +@media (max-width: 600px) { + .a5page-portrait { width: 100%; /* fill mobile width */ height: auto; /* adjust height automatically */ margin: 0 auto; /* center horizontally */ box-sizing: border-box; } - .a3page-landscape { + .a5page-landscape { width: 100%; /* fill mobile width */ height: auto; /* adjust height automatically */ margin: 0 auto; /* center horizontally */ @@ -334,3 +349,78 @@ tr { } } /* 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% + ); +} diff --git a/nginx/vue/src/components/Navbar.vue b/nginx/vue/src/components/Navbar.vue index 3ed4849..716ccb4 100644 --- a/nginx/vue/src/components/Navbar.vue +++ b/nginx/vue/src/components/Navbar.vue @@ -16,16 +16,21 @@ const parentPath = computed(() => { - diff --git a/nginx/vue/src/components/Overlay.vue b/nginx/vue/src/components/Overlay.vue deleted file mode 100644 index c43232f..0000000 --- a/nginx/vue/src/components/Overlay.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/nginx/vue/src/components/admin/CreatePost.vue b/nginx/vue/src/components/admin/CreatePost.vue index 23cd1a6..62d464b 100644 --- a/nginx/vue/src/components/admin/CreatePost.vue +++ b/nginx/vue/src/components/admin/CreatePost.vue @@ -28,5 +28,6 @@ async function post() { + diff --git a/nginx/vue/src/components/backgrounds/Halftone.vue b/nginx/vue/src/components/backgrounds/Halftone.vue deleted file mode 100644 index e864512..0000000 --- a/nginx/vue/src/components/backgrounds/Halftone.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/nginx/vue/src/components/home/Listening.vue b/nginx/vue/src/components/home/Listening.vue index 8efe1e3..bc29559 100644 --- a/nginx/vue/src/components/home/Listening.vue +++ b/nginx/vue/src/components/home/Listening.vue @@ -37,14 +37,14 @@ onMounted(() => { v-if="fetched" :key="song" v-on:click="nextSong" - class="flex-col center-content" + class="flex-col center-content center-text" >
Song: {{ song.track.name }}
Artist: {{ song.track.artists[0].name }}
-
Song: >_<
diff --git a/nginx/vue/src/components/quick/LinkTable.vue b/nginx/vue/src/components/quick/LinkTable.vue index 4595f6d..2b69645 100644 --- a/nginx/vue/src/components/quick/LinkTable.vue +++ b/nginx/vue/src/components/quick/LinkTable.vue @@ -18,6 +18,6 @@ const keys = ["name", "link"]; :key="rowIndex" :href="row.link" > -{{ row.name }}
diff --git a/nginx/vue/src/components/quick/RouterTable.vue b/nginx/vue/src/components/quick/RouterTable.vue index 9052c95..52b727e 100644 --- a/nginx/vue/src/components/quick/RouterTable.vue +++ b/nginx/vue/src/components/quick/RouterTable.vue @@ -18,6 +18,6 @@ const keys = ["name", "link"]; :key="rowIndex" :to="row.link" > -{{ row.name }}
diff --git a/nginx/vue/src/views/Admin.vue b/nginx/vue/src/views/Admin.vue index 01e09ed..503036d 100644 --- a/nginx/vue/src/views/Admin.vue +++ b/nginx/vue/src/views/Admin.vue @@ -2,26 +2,17 @@ import Login from "@/components/admin/Login.vue"; import CreateUser from "@/components/admin/CreateUser.vue"; import CreatePost from "@/components/admin/CreatePost.vue"; - -import Halftone from "@/components/backgrounds/Halftone.vue";
diff --git a/nginx/vue/src/views/Notes.vue b/nginx/vue/src/views/Notes.vue
index c7e574c..f1e3c69 100644
--- a/nginx/vue/src/views/Notes.vue
+++ b/nginx/vue/src/views/Notes.vue
@@ -8,6 +8,7 @@ const note_links = [