summaryrefslogtreecommitdiff
path: root/index.css
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.css
downloadfuwn.lol-main.tar.xz
fuwn.lol-main.zip
feat: initial releaseHEADmain
Diffstat (limited to 'index.css')
-rw-r--r--index.css103
1 files changed, 103 insertions, 0 deletions
diff --git a/index.css b/index.css
new file mode 100644
index 0000000..6738ba7
--- /dev/null
+++ b/index.css
@@ -0,0 +1,103 @@
+: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%;
+ -ms-scroll-chaining: none;
+ 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;
+ -o-object-fit: cover;
+ 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;
+ -webkit-hyphens: auto;
+ -ms-hyphens: auto;
+ hyphens: auto;
+}
+@media (max-width: 768px) {
+ h1 {
+ font-size: 16vw;
+ }
+}
+h1 span {
+ display: block;
+}
+
+h2 {
+ font-size: 2rem;
+ max-width: 400px;
+}
+
+.credit {
+ font-family: Termina, sans-serif;
+}
+.credit 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;
+}
+.pin-wrap > * {
+ min-width: 60vw;
+ padding: 0 5vw;
+}
+
+p {
+ position: absolute;
+ bottom: 10vw;
+ right: 10vw;
+ width: 200px;
+ line-height: 1.5;
+}/*# sourceMappingURL=index.css.map */ \ No newline at end of file