From 6e9b428e482aac51d2e734f8b4414005f603bde3 Mon Sep 17 00:00:00 2001 From: NaitLee Date: Sat, 7 Dec 2024 18:54:34 +0800 Subject: [PATCH] feat: initial content --- index.html | 33 ++++++++++++++ res/main.css | 105 ++++++++++++++++++++++++++++++++++++++++++++ res/yozora.tech.svg | 48 ++++++++++++++++++++ 3 files changed, 186 insertions(+) create mode 100644 index.html create mode 100644 res/main.css create mode 100644 res/yozora.tech.svg diff --git a/index.html b/index.html new file mode 100644 index 0000000..66a38a1 --- /dev/null +++ b/index.html @@ -0,0 +1,33 @@ + + + + + + Yozora.Tech + + + + +
+

Software Made Simple

+

We serve neat software.

+ +

There are more for us to do…

+
+ + + \ No newline at end of file diff --git a/res/main.css b/res/main.css new file mode 100644 index 0000000..eba218a --- /dev/null +++ b/res/main.css @@ -0,0 +1,105 @@ + +:root { + --fore: #202020; + --back: #f8f8f8; + --back2: #f4f4f4; + --shade: #a0a0a0; +} + +*, *::before, *::after { + box-sizing: border-box; +} + +body { + color: var(--fore); + background-color: var(--back); + line-height: 1.5; + margin: 0; + font-family: system-ui, sans-serif; + font-size: large; +} + +nav { + position: sticky; + margin: 1em 0; + padding: 4px 0 2px 0; + background-color: var(--back2); + border-top: 1px solid var(--shade); + border-bottom: 1px solid var(--shade); + top: 0; + display: flex; + justify-content: space-between; +} + +nav > .logo { + display: block; + margin: 0 2em; + color: var(--fore); +} +nav > .links { + list-style: none; + padding: 0; + display: flex; + margin: 0 8px; + justify-content: center; + line-height: 54px; +} +nav > .links > * { + margin: 0 2em; +} +nav > .links a:any-link { + color: var(--fore); + text-decoration: none; +} + +h1.slogan { + font-size: 2.4em; + font-weight: 200; + margin: 4rem 0; +} + +a:any-link { + color: var(--fore); + text-decoration: underline; +} + +.frontpage { + text-align: center; +} + +.showcase { + list-style: none; + padding: 0; + margin: 4rem auto; + padding: 1rem; + width: 28rem; + max-width: calc(100% - 2rem); + border: 1px solid var(--fore); + border-radius: 4px; +} +.showcase > * { + margin: 2rem 0; +} + +p { + margin: 1rem 0; +} + +footer { + font-size: 0.8em; + margin-top: 6rem; + margin-bottom: 2rem; + padding: 0.5rem 0; + border-top: 1px solid var(--shade); + border-bottom: 1px solid var(--shade); + background-color: var(--back2); +} + +@media (prefers-color-scheme: dark) { + :root { + --fore: #a0a0a0; + --back: #202020; + --back2: #242424; + --shade: #808080; + } +} diff --git a/res/yozora.tech.svg b/res/yozora.tech.svg new file mode 100644 index 0000000..b138ce6 --- /dev/null +++ b/res/yozora.tech.svg @@ -0,0 +1,48 @@ + + + + + + + +