make the two other pages invisible while they're not finished

main
Midnight 3 years ago
parent e1f92aa150
commit 7f35efeb17

68
.gitignore vendored

@ -1,34 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies # dependencies
/node_modules /node_modules
/.pnp /.pnp
.pnp.js .pnp.js
# testing # testing
/coverage /coverage
# next.js # next.js
/.next/ /.next/
/out/ /out/
# production # production
/build /build
# misc # misc
.DS_Store .DS_Store
*.pem *.pem
# debug # debug
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
# local env files # local env files
.env.local .env.local
.env.development.local .env.development.local
.env.test.local .env.test.local
.env.production.local .env.production.local
# vercel # vercel
.vercel .vercel

@ -1,34 +1,34 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started ## Getting Started
First, run the development server: First, run the development server:
```bash ```bash
npm run dev npm run dev
# or # or
yarn dev yarn dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
## Learn More ## Learn More
To learn more about Next.js, take a look at the following resources: To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel ## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

@ -1,11 +1,11 @@
import Head from 'next/head' import Head from 'next/head'
export default function HeadComponent() { export default function HeadComponent() {
return ( return (
<section> <section>
<Head> <Head>
<link rel="icon" href="/logo.png" /> <link rel="icon" href="/logo.png" />
</Head> </Head>
</section> </section>
) )
} }

@ -1,21 +1,21 @@
export default function Menu() { export default function Menu() {
return ( return (
<section> <section>
<style jsx>{` <style jsx>{`
div { div {
padding: var(--padding) 0; padding: var(--padding) 0;
display: inline-flex; display: inline-flex;
gap: var(--padding-lg); gap: var(--padding-lg);
} }
`}</style> `}</style>
<div> <div>
<a href="#">Home</a> <a href="#">Home</a>
<span>//</span> <span>//</span>
<a href="/music">Music Feed</a> <a href="#">Music Feed {`<<soon>>`}</a>
<span>//</span> <span>//</span>
<a href="/models">Models</a> <a href="#">Models {`<<soon>>`}</a>
</div> </div>
</section> </section>
) )
} }

6925
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,20 +1,20 @@
{ {
"name": "nextjs", "name": "nextjs",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3", "@fortawesome/fontawesome-free": "^5.15.3",
"@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-brands-svg-icons": "^5.15.3", "@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3", "@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14", "@fortawesome/react-fontawesome": "^0.1.14",
"next": "10.x", "next": "10.x",
"react": "17.x", "react": "17.x",
"react-dom": "17.x" "react-dom": "17.x"
} }
} }

@ -1,11 +1,11 @@
import '../styles/globals.css' import '../styles/globals.css'
import '@fortawesome/fontawesome-svg-core/styles.css'; import '@fortawesome/fontawesome-svg-core/styles.css';
import { config } from '@fortawesome/fontawesome-svg-core'; import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false; /* eslint-disable import/first */ config.autoAddCss = false; /* eslint-disable import/first */
function MyApp({ Component, pageProps }) { function MyApp({ Component, pageProps }) {
return <Component {...pageProps} /> return <Component {...pageProps} />
} }
export default MyApp export default MyApp

@ -1,6 +1,6 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction // Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => { export default (req, res) => {
res.statusCode = 200 res.statusCode = 200
res.json({ name: 'John Doe' }) res.json({ name: 'John Doe' })
} }

@ -1,65 +1,65 @@
import Head from 'next/head' import Head from 'next/head'
import styles from '../styles/Home.module.css' import styles from '../styles/Home.module.css'
export default function Home() { export default function Home() {
return ( return (
<div className={styles.container}> <div className={styles.container}>
<Head> <Head>
<title>Create Next App</title> <title>Create Next App</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
</Head> </Head>
<main className={styles.main}> <main className={styles.main}>
<h1 className={styles.title}> <h1 className={styles.title}>
Welcome to <a href="https://nextjs.org">Next.js!</a> Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1> </h1>
<p className={styles.description}> <p className={styles.description}>
Get started by editing{' '} Get started by editing{' '}
<code className={styles.code}>pages/index.js</code> <code className={styles.code}>pages/index.js</code>
</p> </p>
<div className={styles.grid}> <div className={styles.grid}>
<a href="https://nextjs.org/docs" className={styles.card}> <a href="https://nextjs.org/docs" className={styles.card}>
<h3>Documentation &rarr;</h3> <h3>Documentation &rarr;</h3>
<p>Find in-depth information about Next.js features and API.</p> <p>Find in-depth information about Next.js features and API.</p>
</a> </a>
<a href="https://nextjs.org/learn" className={styles.card}> <a href="https://nextjs.org/learn" className={styles.card}>
<h3>Learn &rarr;</h3> <h3>Learn &rarr;</h3>
<p>Learn about Next.js in an interactive course with quizzes!</p> <p>Learn about Next.js in an interactive course with quizzes!</p>
</a> </a>
<a <a
href="https://github.com/vercel/next.js/tree/master/examples" href="https://github.com/vercel/next.js/tree/master/examples"
className={styles.card} className={styles.card}
> >
<h3>Examples &rarr;</h3> <h3>Examples &rarr;</h3>
<p>Discover and deploy boilerplate example Next.js projects.</p> <p>Discover and deploy boilerplate example Next.js projects.</p>
</a> </a>
<a <a
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className={styles.card} className={styles.card}
> >
<h3>Deploy &rarr;</h3> <h3>Deploy &rarr;</h3>
<p> <p>
Instantly deploy your Next.js site to a public URL with Vercel. Instantly deploy your Next.js site to a public URL with Vercel.
</p> </p>
</a> </a>
</div> </div>
</main> </main>
<footer className={styles.footer}> <footer className={styles.footer}>
<a <a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
Powered by{' '} Powered by{' '}
<img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} /> <img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
</a> </a>
</footer> </footer>
</div> </div>
) )
} }

@ -1,92 +1,92 @@
import Head from 'next/head' import Head from 'next/head'
import HeadComponent from '../components/head.js' import HeadComponent from '../components/head.js'
import Menu from '../components/menu.js' import Menu from '../components/menu.js'
import Image from 'next/image' import Image from 'next/image'
import styles from '../styles/Index.module.css' import styles from '../styles/Index.module.css'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faDiscord } from '@fortawesome/free-brands-svg-icons' import { faDiscord } from '@fortawesome/free-brands-svg-icons'
import { faTwitter } from '@fortawesome/free-brands-svg-icons' import { faTwitter } from '@fortawesome/free-brands-svg-icons'
import { faSpotify } from '@fortawesome/free-brands-svg-icons' import { faSpotify } from '@fortawesome/free-brands-svg-icons'
import { faSteam } from '@fortawesome/free-brands-svg-icons' import { faSteam } from '@fortawesome/free-brands-svg-icons'
import { faSoundcloud } from '@fortawesome/free-brands-svg-icons' import { faSoundcloud } from '@fortawesome/free-brands-svg-icons'
import { faEnvelope } from '@fortawesome/free-solid-svg-icons' import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
export default function Index() { export default function Index() {
return ( return (
<div className={styles.page}> <div className={styles.page}>
<HeadComponent/> <HeadComponent/>
<Head> <Head>
<title>Invesvpo | Landing Page</title> <title>Invesvpo | Landing Page</title>
</Head> </Head>
<section className={styles.leftsidetint + " slide-in-down"}> <section className={styles.leftsidetint + " slide-in-down"}>
<a href="/"><img src="/logo.png"/></a> <a href="/"><img src="/logo.png"/></a>
<footer> <footer>
<a href="https://dubbelnull.com/" target="_blank">Made by DubbelNull</a> with NextJS and Vercel <a href="https://dubbelnull.com/" target="_blank">Made by DubbelNull</a> with NextJS and Vercel
</footer> </footer>
</section> </section>
<section className={styles.content}> <section className={styles.content}>
<div className={styles.topcontainerbackg + " slide-in-right"}></div> <div className={styles.topcontainerbackg + " slide-in-right"}></div>
<div className={styles.topcontainer + " slide-in-left"}> <div className={styles.topcontainer + " slide-in-left"}>
<Menu/> <Menu/>
<div> <div>
<h1>INVESVPO</h1> <h1>INVESVPO</h1>
<p><div className="badge"><span>aka</span></div> Fuhz Elikas C2RW</p> <p><div className="badge"><span>aka</span></div> Fuhz Elikas C2RW</p>
</div> </div>
</div> </div>
<div className={styles.bottomcontainer + " slide-in-up"}> <div className={styles.bottomcontainer + " slide-in-up"}>
<div> <div>
<h3> <h3>
{`Hey I'm Invesvpo, I make some cool 3d models including guns and I'm trying to learn more about it.`} <br/> {`Hey I'm Invesvpo, I make some cool 3d models including guns and I'm trying to learn more about it.`} <br/>
{`I also make music, so check out my Spotify and SoundCloud below. `}<br/> {`I also make music, so check out my Spotify and SoundCloud below. `}<br/>
{`A lot of my songs are made to be downtempo ambient songs.`} {`A lot of my songs are made to be downtempo ambient songs.`}
</h3> </h3>
</div> </div>
<div className={styles.topcontent + " " + styles.links}> <div className={styles.topcontent + " " + styles.links}>
<div> <div>
<a target="_blank" href="https://twitter.com/invesvpo"> <a target="_blank" href="https://twitter.com/invesvpo">
<span> <span>
<p>Twitter</p> <p>Twitter</p>
<FontAwesomeIcon icon={faTwitter} /> <FontAwesomeIcon icon={faTwitter} />
</span> </span>
</a> </a>
<a target="_blank" href="https://discord.com/users/221984151161667585"> <a target="_blank" href="https://discord.com/users/221984151161667585">
<span> <span>
<p>Discord</p> <p>Discord</p>
<FontAwesomeIcon icon={faDiscord} /> <FontAwesomeIcon icon={faDiscord} />
</span> </span>
</a> </a>
<a target="_blank" href="https://soundcloud.com/invesvpo"> <a target="_blank" href="https://soundcloud.com/invesvpo">
<span> <span>
<p>SoundCloud</p> <p>SoundCloud</p>
<FontAwesomeIcon icon={faSoundcloud} /> <FontAwesomeIcon icon={faSoundcloud} />
</span> </span>
</a> </a>
<a target="_blank" href="mailto:"> <a target="_blank" href="mailto:">
<span> <span>
<p>Email</p> <p>Email</p>
<FontAwesomeIcon icon={faEnvelope} /> <FontAwesomeIcon icon={faEnvelope} />
</span> </span>
</a> </a>
<a target="_blank" href="https://steamcommunity.com/id/Invesvpo/"> <a target="_blank" href="https://steamcommunity.com/id/Invesvpo/">
<span> <span>
<p>Steam</p> <p>Steam</p>
<FontAwesomeIcon icon={faSteam} /> <FontAwesomeIcon icon={faSteam} />
</span> </span>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
</div> </div>
) )
} }

@ -1,9 +1,9 @@
import Head from 'next/head' import Head from 'next/head'
export default function Models() { export default function Models() {
return ( return (
<div> <div>
</div> </div>
) )
} }

@ -1,9 +1,9 @@
import Head from 'next/head' import Head from 'next/head'
export default function Music() { export default function Music() {
return ( return (
<div> <div>
</div> </div>
) )
} }

@ -1,122 +1,122 @@
.container { .container {
min-height: 100vh; min-height: 100vh;
padding: 0 0.5rem; padding: 0 0.5rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.main { .main {
padding: 5rem 0; padding: 5rem 0;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.footer { .footer {
width: 100%; width: 100%;
height: 100px; height: 100px;
border-top: 1px solid #eaeaea; border-top: 1px solid #eaeaea;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.footer img { .footer img {
margin-left: 0.5rem; margin-left: 0.5rem;
} }
.footer a { .footer a {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.title a { .title a {
color: #0070f3; color: #0070f3;
text-decoration: none; text-decoration: none;
} }
.title a:hover, .title a:hover,
.title a:focus, .title a:focus,
.title a:active { .title a:active {
text-decoration: underline; text-decoration: underline;
} }
.title { .title {
margin: 0; margin: 0;
line-height: 1.15; line-height: 1.15;
font-size: 4rem; font-size: 4rem;
} }
.title, .title,
.description { .description {
text-align: center; text-align: center;
} }
.description { .description {
line-height: 1.5; line-height: 1.5;
font-size: 1.5rem; font-size: 1.5rem;
} }
.code { .code {
background: #fafafa; background: #fafafa;
border-radius: 5px; border-radius: 5px;
padding: 0.75rem; padding: 0.75rem;
font-size: 1.1rem; font-size: 1.1rem;
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
Bitstream Vera Sans Mono, Courier New, monospace; Bitstream Vera Sans Mono, Courier New, monospace;
} }
.grid { .grid {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
max-width: 800px; max-width: 800px;
margin-top: 3rem; margin-top: 3rem;
} }
.card { .card {
margin: 1rem; margin: 1rem;
flex-basis: 45%; flex-basis: 45%;
padding: 1.5rem; padding: 1.5rem;
text-align: left; text-align: left;
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
border: 1px solid #eaeaea; border: 1px solid #eaeaea;
border-radius: 10px; border-radius: 10px;
transition: color 0.15s ease, border-color 0.15s ease; transition: color 0.15s ease, border-color 0.15s ease;
} }
.card:hover, .card:hover,
.card:focus, .card:focus,
.card:active { .card:active {
color: #0070f3; color: #0070f3;
border-color: #0070f3; border-color: #0070f3;
} }
.card h3 { .card h3 {
margin: 0 0 1rem 0; margin: 0 0 1rem 0;
font-size: 1.5rem; font-size: 1.5rem;
} }
.card p { .card p {
margin: 0; margin: 0;
font-size: 1.25rem; font-size: 1.25rem;
line-height: 1.5; line-height: 1.5;
} }
.logo { .logo {
height: 1em; height: 1em;
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.grid { .grid {
width: 100%; width: 100%;
flex-direction: column; flex-direction: column;
} }
} }

@ -1,189 +1,189 @@
/* page specific overwrites css */ /* page specific overwrites css */
.page h1 { .page h1 {
font-size: var(--font-xl); font-size: var(--font-xl);
} }
.page h3 { .page h3 {
font-size: var(--font-lg); font-size: var(--font-lg);
font-weight: normal; font-weight: normal;
} }
/* page layout */ /* page layout */
.page { .page {
display: flex; display: flex;
} }
.page .content { .page .content {
flex-grow: 1; flex-grow: 1;
} }
.content { .content {
position: relative; position: relative;
width: 100%; width: 100%;
} }
.topcontainerbackg { .topcontainerbackg {
height: 40vh; height: 40vh;
z-index: 0; z-index: 0;
background-color: #2940D3; background-color: #2940D3;
-ms-transform: skewX(-20deg); -ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg); -webkit-transform: skewX(-20deg);
transform: skewX(-20deg); transform: skewX(-20deg);
} }
.topcontainer { .topcontainer {
padding: 0 var(--padding-xl); padding: 0 var(--padding-xl);
top: 0; top: 0;
right: 0; right: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
position: absolute; position: absolute;
height: 40vh; height: 40vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: start; align-items: start;
justify-content: space-between; justify-content: space-between;
color: white; color: white;
background-image: url('/gun.png'); background-image: url('/gun.png');
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right center; background-position: right center;
} }
.topcontainer h1 { .topcontainer h1 {
margin: unset; margin: unset;
} }
.topcontainer p { .topcontainer p {
opacity: 50%; opacity: 50%;
margin-top: - var(--padding-sm); margin-top: - var(--padding-sm);
} }
.bottomcontainer { .bottomcontainer {
padding: 0 var(--padding-xl); padding: 0 var(--padding-xl);
height: 60vh; height: 60vh;
background-color: #232323; background-color: #232323;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: start; align-items: start;
color: white; color: white;
padding-bottom: var(--padding); padding-bottom: var(--padding);
} }
.leftsidetint { .leftsidetint {
z-index: 1; z-index: 1;
width: 10vw; width: 10vw;
background-color: #1a1a1a; background-color: #1a1a1a;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
} }
.leftsidetint footer { .leftsidetint footer {
font-size: var(--font-sm); font-size: var(--font-sm);
padding: var(--padding-lg); padding: var(--padding-lg);
} }
/* items */ /* items */
.links { .links {
width: 100%; width: 100%;
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
align-items: center; align-items: center;
} }
.links div { .links div {
width: 100%; width: 100%;
font-size: 1.5em; font-size: 1.5em;
display: grid; display: grid;
grid-template-columns: 25% 25% 25%; grid-template-columns: 25% 25% 25%;
gap: var(--padding-lg); gap: var(--padding-lg);
} }
.links div a { .links div a {
text-align: center; text-align: center;
padding: var(--padding) var(--padding-xl); padding: var(--padding) var(--padding-xl);
transition-duration: var(--transition-speed); transition-duration: var(--transition-speed);
background-color: #2940D3; background-color: #2940D3;
-ms-transform: skewX(-20deg); -ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg); -webkit-transform: skewX(-20deg);
transform: skewX(-20deg); transform: skewX(-20deg);
} }
.links div a:hover { .links div a:hover {
-ms-transform: skewX(0deg); -ms-transform: skewX(0deg);
-webkit-transform: skewX(0deg); -webkit-transform: skewX(0deg);
transform: skewX(0deg); transform: skewX(0deg);
transition-duration: var(--transition-speed); transition-duration: var(--transition-speed);
} }
.links div a:hover span { .links div a:hover span {
-ms-transform: skewX(0deg); -ms-transform: skewX(0deg);
-webkit-transform: skewX(0deg); -webkit-transform: skewX(0deg);
transform: skewX(0deg); transform: skewX(0deg);
transition-duration: var(--transition-speed); transition-duration: var(--transition-speed);
} }
.links div p { .links div p {
margin: unset; margin: unset;
} }
.links div a span { .links div a span {
transition-duration: var(--transition-speed); transition-duration: var(--transition-speed);
-ms-transform: skewX(20deg); -ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg); -webkit-transform: skewX(20deg);
transform: skewX(20deg); transform: skewX(20deg);
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
} }
.links div a:hover { .links div a:hover {
transition-duration: 0.3s; transition-duration: 0.3s;
background-color: #1f309e; background-color: #1f309e;
} }
/* mobile responsivity */ /* mobile responsivity */
@media (max-aspect-ratio: 1/1) { @media (max-aspect-ratio: 1/1) {
.topcontent { .topcontent {
width: 100%; width: 100%;
padding: var(--padding); padding: var(--padding);
} }
.links a { .links a {
padding: 0 var(--padding-lg); padding: 0 var(--padding-lg);
} }
.page h1 { .page h1 {
font-size: var(--font-lg); font-size: var(--font-lg);
} }
.page h3 { .page h3 {
font-size: var(--font-lg); font-size: var(--font-lg);
font-weight: normal; font-weight: normal;
} }
.links div { .links div {
font-size: var(--font); font-size: var(--font);
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
} }
} }
@media (max-aspect-ratio: 5/4) { @media (max-aspect-ratio: 5/4) {
.leftsidetint { .leftsidetint {
display: none; display: none;
} }
} }

@ -1,166 +1,166 @@
:root { :root {
--padding-sm: 5px; --padding-sm: 5px;
--padding: 10px; --padding: 10px;
--padding-lg: 20px; --padding-lg: 20px;
--padding-xl: 50px; --padding-xl: 50px;
--padding-xxl: 100px; --padding-xxl: 100px;
--font-xl: 5em; --font-xl: 5em;
--font-lg: 1.5em; --font-lg: 1.5em;
--font: 1em; --font: 1em;
--font-sm: 0.8em; --font-sm: 0.8em;
--page-width: 1200px; --page-width: 1200px;
--transition-speed: 0.3s; --transition-speed: 0.3s;
} }
@font-face { @font-face {
font-family: 'Dual'; font-family: 'Dual';
src: url('/fonts/Dual-300.otf'); src: url('/fonts/Dual-300.otf');
src: url('/fonts/Dual-300.ttf') format('truetype'); src: url('/fonts/Dual-300.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'Anurati'; font-family: 'Anurati';
src: url('/fonts/Anurati-Regular.otf'); src: url('/fonts/Anurati-Regular.otf');
} }
html, html,
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: 'Dual', sans-serif; font-family: 'Dual', sans-serif;
background-color: #232323; background-color: #232323;
overflow: hidden; overflow: hidden;
color: white; color: white;
} }
h1, h2 { h1, h2 {
font-family: 'Anurati', sans-serif; font-family: 'Anurati', sans-serif;
letter-spacing: 0.5em; letter-spacing: 0.5em;
} }
footer { footer {
opacity: 50%; opacity: 50%;
} }
footer a:hover { footer a:hover {
text-decoration: underline; text-decoration: underline;
} }
a { a {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
img { img {
max-width: 100%; max-width: 100%;
} }
/* help classes */ /* help classes */
.text-center { .text-center {
text-align: center; text-align: center;
} }
.badge { .badge {
display: inline-block; display: inline-block;
background-color: rgba(35,35,35,0.5); background-color: rgba(35,35,35,0.5);
padding: var(--padding-sm) var(--padding); padding: var(--padding-sm) var(--padding);
margin: 0 var(--padding-sm); margin: 0 var(--padding-sm);
-ms-transform: skewX(-20deg); -ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg); -webkit-transform: skewX(-20deg);
transform: skewX(-20deg); transform: skewX(-20deg);
} }
.badge span { .badge span {
-ms-transform: skewX(20deg); -ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg); -webkit-transform: skewX(20deg);
transform: skewX(20deg); transform: skewX(20deg);
display: inline-block; display: inline-block;
} }
/* animations */ /* animations */
.slide-in-right { .slide-in-right {
animation-name: slide-in-right; animation-name: slide-in-right;
animation-duration: 1s; animation-duration: 1s;
margin-right: var(--padding-xxl); margin-right: var(--padding-xxl);
margin-left: -50vw; margin-left: -50vw;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
} }
@keyframes slide-in-right { @keyframes slide-in-right {
0% { 0% {
margin-right: 150vw; margin-right: 150vw;
} }
25% { 25% {
margin-right: 150vw; margin-right: 150vw;
} }
100% { 100% {
margin-right: var(--padding-xxl); margin-right: var(--padding-xxl);
} }
} }
.slide-in-left { .slide-in-left {
animation-name: slide-in-left; animation-name: slide-in-left;
animation-duration: 1.2s; animation-duration: 1.2s;
margin-left: 0vw; margin-left: 0vw;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
} }
@keyframes slide-in-left { @keyframes slide-in-left {
0% { 0% {
margin-left: 100vw; margin-left: 100vw;
} }
25% { 25% {
margin-left: 100vw; margin-left: 100vw;
} }
100% { 100% {
margin-left: 0vw; margin-left: 0vw;
} }
} }
.slide-in-up { .slide-in-up {
animation-name: slide-in-up; animation-name: slide-in-up;
animation-duration: 1.4s; animation-duration: 1.4s;
margin-top: 0vh; margin-top: 0vh;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
} }
@keyframes slide-in-up { @keyframes slide-in-up {
0% { 0% {
margin-top: 100vh; margin-top: 100vh;
} }
25% { 25% {
margin-top: 100vh; margin-top: 100vh;
} }
100% { 100% {
margin-top: 0vh; margin-top: 0vh;
} }
} }
.slide-in-down { .slide-in-down {
animation-name: slide-in-down; animation-name: slide-in-down;
animation-duration: 0.4s; animation-duration: 0.4s;
overflow-y: hidden; overflow-y: hidden;
margin-top: 0vh; margin-top: 0vh;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
} }
@keyframes slide-in-down { @keyframes slide-in-down {
0% { 0% {
margin-top: 100vh; margin-top: 100vh;
} }
100% { 100% {
margin-top: 0vh; margin-top: 0vh;
} }
} }

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save