summaryrefslogtreecommitdiff
path: root/index.scss
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-10-31 13:33:34 -0700
committerFuwn <[email protected]>2022-10-31 13:33:34 -0700
commit7298705805db1d824cf692d464b94e341fce7431 (patch)
tree31522ffb8569282ea934272b6cf338b59efe0840 /index.scss
downloadfuwn.lol-main.tar.xz
fuwn.lol-main.zip
feat: initial releaseHEADmain
Diffstat (limited to 'index.scss')
-rw-r--r--index.scss100
1 files changed, 100 insertions, 0 deletions
diff --git a/index.scss b/index.scss
new file mode 100644
index 0000000..0fceb93
--- /dev/null
+++ b/index.scss
@@ -0,0 +1,100 @@
+:root {
+ --text-color: #111;
+ --bg-color: #b9b3a9;
+}
+
+body {
+ font-family: termina, sans-serif;
+ color: var(--text-color);
+ background: var(--bg-color);
+ transition: 0.3s ease-out;
+ overflow-x: hidden;
+ max-width: 100%;
+ width: 100%;
+ overscroll-behavior: none;
+}
+
+section:not(#sectionPin) {
+ min-height: 100vh;
+ width: 100%;
+ position: relative;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ grid-gap: 2rem;
+ padding: 50px 10vw;
+ margin: auto;
+ place-items: center;
+}
+
+img {
+ height: 80vh;
+ width: auto;
+ object-fit: cover;
+}
+
+h1 {
+ font-size: 5rem;
+ line-height: 1;
+ font-weight: 800;
+ margin-bottom: 1rem;
+ position: absolute;
+ top: 10vw;
+ left: 10vw;
+ z-index: 4;
+ overflow-wrap: break-word;
+ hyphens: auto;
+
+ @media (max-width: 768px) {
+ font-size: 16vw;
+ }
+
+ span {
+ display: block;
+ }
+}
+
+h2 {
+ font-size: 2rem;
+ max-width: 400px;
+}
+
+.credit {
+ font-family: Termina, sans-serif;
+ a {
+ color: var(--text-color);
+ }
+}
+
+* {
+ box-sizing: border-box;
+}
+
+#sectionPin {
+ height: 100vh;
+ overflow: hidden;
+ display: flex;
+ left: 0;
+ background: var(--text-color);
+ color: var(--bg-color);
+}
+
+.pin-wrap {
+ height: 100vh;
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ padding: 50px 10vw;
+
+ & > * {
+ min-width: 60vw;
+ padding: 0 5vw;
+ }
+}
+
+p {
+ position: absolute;
+ bottom: 10vw;
+ right: 10vw;
+ width: 200px;
+ line-height: 1.5;
+}