diff mrjunejune/src/base.css @ 92:655ea0b661fd

[Seobeo] Added few endpoints for handling files. [Dowa] Added few functions for random number and generating uuids
author June Park <parkjune1995@gmail.com>
date Fri, 02 Jan 2026 17:47:10 -0800
parents 19cccf6e866a
children 3bdfffaad162
line wrap: on
line diff
--- a/mrjunejune/src/base.css	Thu Jan 01 16:34:51 2026 -0800
+++ b/mrjunejune/src/base.css	Fri Jan 02 17:47:10 2026 -0800
@@ -1,4 +1,26 @@
-/* Base Colors */
+/* Reset CSS: https://meyerweb.com/eric/tools/css/reset/ */
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed, 
+figure, figcaption, footer, header, hgroup, 
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+	margin: 0;
+	padding: 0;
+	border: 0;
+	font-size: 100%;
+	font: inherit;
+	vertical-align: baseline;
+}
+
+/* --- Colors  ---*/
 :root {
   --white: #ffffff;
   --black: hsl(224, 12%, 4%);
@@ -49,11 +71,32 @@
   --box-shadow: 0 -2px -6px rgba(159, 140, 96, 25%),
     0 -8px -24px rgba(159, 140, 96, 33%), 0 -16px -32px rgba(159, 140, 96, 33%);
 }
-
-html {
-  background: var(--white);
+@media (prefers-color-scheme: dark) {
+  :root:not(.light-mode) {
+    --white: hsl(224, 10%, 10%);
+    --black: hsl(0, 0%, 90%);
+    --darkgray: #cccccc;
+    --lightgray: #666666;
+    --green: #3d1ea0;
+    --orange: #025ccc;
+    --purple: #2b5b06;
+    --red: #04bb7a;
+    --blue: #932f0e;
+    --darktext: #bebebe;
+    --awesome: #23cade;
+    --accent: #ffcc00;
+    --accent-dark: #ffb275;
+    --gray: 159, 140, 96;
+    --gray-light: 26, 22, 15;
+    --gray-dark: 221, 214, 198;
+    --gray-gradient: rgba(26, 22, 15, 50%), #000;
+    --box-shadow: 0 -2px -6px rgba(159, 140, 96, 25%),
+      0 -8px -24px rgba(159, 140, 96, 33%), 0 -16px -32px rgba(159, 140, 96, 33%);
+  }
 }
 
+/* --- fonts --- */
+/* 
 @font-face {
   font-family: "Atkinson";
   src: url("/public/fonts/atkinson-regular.woff") format("woff");
@@ -66,6 +109,7 @@
   font-weight: 700;
   font-style: normal;
 }
+*/
 @font-face {
   font-family: "Roboto";
   src: url("/public/fonts/Roboto-Regular.ttf");
@@ -83,6 +127,11 @@
   src: url("/public/fonts/more-sugar.regular.otf");
 }
 
+/* -- HTML Tags only --*/
+html {
+  background: var(--white);
+}
+
 a {
   color: inherit; /* blue colors for links too */
   text-decoration: inherit; /* no underline */
@@ -120,125 +169,91 @@
   color: rgb(var(--black));
   line-height: 1.2;
 }
+
 h1 {
   font-size: 3.052em;
 }
+
 h2 {
   font-size: 2.441em;
 }
+
 h3 {
   font-size: 1.953em;
 }
+
 h4 {
   font-size: 1.563em;
 }
+
 h5 {
   font-size: 1.25em;
 }
+
 strong,
 b {
   font-weight: 700;
 }
+
 p {
   margin-bottom: 1em;
 }
+
 .prose p {
   margin-bottom: 2em;
 }
+
 textarea {
   width: 100%;
   font-size: 16px;
 }
+
 input {
   font-size: 16px;
 }
+
 table {
   width: 100%;
 }
+
 img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
 }
+
 code {
   padding: 2px 5px;
   background-color: rgb(var(--gray-light));
   border-radius: 2px;
 }
+
 pre {
   padding: 1.5em;
   border-radius: 8px;
 }
+
 pre > code {
   all: unset;
 }
+
 blockquote {
   border-left: 4px solid var(--accent);
   padding: 0 0 0 20px;
   margin: 0px;
   font-size: 1.333em;
 }
+
 hr {
   border: none;
   border-top: 1px solid rgb(var(--gray-light));
 }
-@media (max-width: 720px) {
-  body {
-    font-size: 18px;
-  }
-  main {
-    padding: 1em;
-  }
-}
-
-.sr-only {
-  border: 0;
-  padding: 0;
-  margin: 0;
-  position: absolute !important;
-  height: 1px;
-  width: 1px;
-  overflow: hidden;
-  /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
-  clip: rect(1px 1px 1px 1px);
-  /* maybe deprecated but we need to support legacy browsers */
-  clip: rect(1px, 1px, 1px, 1px);
-  /* modern browsers, clip-path works inwards from each corner */
-  clip-path: inset(50%);
-  /* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
-  white-space: nowrap;
-}
 
 .center {
   display: flex;
   justify-content: center;
 }
 
-/* Auto dark mode based on system preference */
-@media (prefers-color-scheme: dark) {
-  :root:not(.light-mode) {
-    --white: hsl(224, 10%, 10%);
-    --black: hsl(0, 0%, 90%);
-    --darkgray: #cccccc;
-    --lightgray: #666666;
-    --green: #3d1ea0;
-    --orange: #025ccc;
-    --purple: #2b5b06;
-    --red: #04bb7a;
-    --blue: #932f0e;
-    --darktext: #bebebe;
-    --awesome: #23cade;
-    --accent: #ffcc00;
-    --accent-dark: #ffb275;
-    --gray: 159, 140, 96;
-    --gray-light: 26, 22, 15;
-    --gray-dark: 221, 214, 198;
-    --gray-gradient: rgba(26, 22, 15, 50%), #000;
-    --box-shadow: 0 -2px -6px rgba(159, 140, 96, 25%),
-      0 -8px -24px rgba(159, 140, 96, 33%), 0 -16px -32px rgba(159, 140, 96, 33%);
-  }
-}
-
 a {
   text-decoration: underline;
 }
@@ -250,13 +265,9 @@
   height: 1em;
   margin-right: 8px;
   vertical-align: middle;
-
-  /* This treats the paw like a stencil */
-  background-color: #FF69B4; /* Change your color here! (e.g., Hot Pink) */
+  background-color: #FF69B4;
   -webkit-mask: url('/public/paw.svg') no-repeat center;
   mask: url('/public/paw.svg') no-repeat center;
-  
-  /* Your 2D Animation */
   animation: pawStep 0.6s ease-out forwards;
 }
 
@@ -273,3 +284,16 @@
   0%, 100% { transform: rotate(-15deg); }
   50% { transform: rotate(15deg); }
 }
+
+
+/* -- mobile -- */
+@media (max-width: 720px) {
+  body {
+    font-size: 18px;
+  }
+  main {
+    padding: 1em;
+  }
+}
+
+