summaryrefslogtreecommitdiff
path: root/src/styles/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/styles.css')
-rw-r--r--src/styles/styles.css140
1 files changed, 140 insertions, 0 deletions
diff --git a/src/styles/styles.css b/src/styles/styles.css
new file mode 100644
index 0000000..1bf4663
--- /dev/null
+++ b/src/styles/styles.css
@@ -0,0 +1,140 @@
+@font-face {
+ font-family: 'fantasque';
+ src: url('/fonts/fantasque.woff');
+}
+
+:root {
+ --content-padding: 2rem;
+ --border-radius: 10px;
+
+ --font: 'fantasque';
+ --font-fallback: monospace;
+}
+
+/* <global> */
+* {
+ cursor: url('/img/cursor/regular.png'), auto !important;
+ color: var(--foreground);
+ font-family: var(--font), var(--font-fallback);
+
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+/* </global> */
+
+/* <layout> */
+html {
+ display: flex;
+ justify-content: center;
+ min-height: 100vh;
+ padding: var(--content-padding);
+
+ background-image: url('/img/background.jpg');
+ background-repeat: repeat;
+}
+
+body {
+ display: grid;
+ grid-template-rows: auto 1fr auto;
+
+ padding: var(--content-padding);
+ padding-left: auto;
+ border-radius: var(--border-radius);
+ min-height: calc(100vh - 2 * var(--content-padding));
+
+ width: 100%;
+ max-width: 1200px;
+ background-color: var(--background-body);
+ backdrop-filter: blur(16px);
+}
+
+main {
+ height: 100%;
+ overflow-y: scroll;
+}
+/* </layout> */
+
+/* <typography> */
+h1 {
+ font-size: 3rem;
+}
+h2 {
+ font-size: 2rem;
+}
+h3 {
+ font-size: 1.45rem;
+}
+hr {
+ margin: 1rem;
+ border: 0;
+ height: 1px;
+ background-image: linear-gradient(
+ to right,
+ rgba(0, 0, 0, 0.1),
+ var(--foreground),
+ rgba(0, 0, 0, 0.1)
+ );
+}
+a {
+ color: var(--regular6);
+}
+/* </typography> */
+
+/* <footer> */
+.blinkies {
+ display: flex;
+ justify-content: left;
+ flex-wrap: wrap;
+ gap: 10px 10px;
+}
+/* </footer> */
+
+/* <form> */
+textarea {
+ height: 30rem;
+ border: 3px solid var(--regular3);
+ padding: 1rem;
+ border-radius: 4px;
+ background: none;
+ resize: vertical;
+}
+textarea:hover {
+ cursor: url('/img/cursor/hover.png'), auto !important;
+}
+*:focus {
+ border-color: var(--regular6);
+ outline: none;
+ transition: border-color 0.5s;
+}
+/* </form> */
+
+/* <visibility> */
+.maybe-visible {
+ transition: opacity 0.5s;
+}
+
+.visible {
+ opacity: 1;
+}
+
+.invisible {
+ opacity: 0;
+}
+/* </visibility> */
+
+/* <buttons> */
+button {
+ background: none;
+ display: block;
+ border: 3px solid var(--regular3);
+ border-radius: 4px;
+ width: 100%;
+ padding: 8px;
+}
+button:hover {
+ cursor: url('/img/cursor/hover.png'), auto !important;
+ border: 3px solid var(--regular6);
+ transition: border-color 0.2s;
+}
+/* </buttons> */