💄 Make you nauseous
This commit is contained in:
1 parent
53ba5a05a1
commit
54dd21f1eb
5 files changed
+55
-3
No files matched your search
@@ -1,3 +1,42 @@
|
|||||||
.app {
|
.app {
|
||||||
margin: 16px;
|
margin: 1rem auto;
|
||||||
|
max-width: 1220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wireframe {
|
||||||
|
position: absolute;
|
||||||
|
bottom: calc(22% - 512px);
|
||||||
|
left: calc(50% - 512px);
|
||||||
|
width: 1024px;
|
||||||
|
height: 1024px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(8, 128px);
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-name: isometric-rotate;
|
||||||
|
animation-duration: 10s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cell {
|
||||||
|
border-bottom: 2px solid var(--sun);
|
||||||
|
border-right: 2px solid var(--sun);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.cell:nth-child(8n) {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cell:nth-child(n+57) {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes isometric-rotate {
|
||||||
|
0% {
|
||||||
|
transform: rotateX(70deg) rotateY(0deg) rotateZ(-45deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotateX(70deg) rotateY(0deg) rotateZ(-405deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -18,6 +18,11 @@ const App: React.FC = () => (
|
|||||||
<Header />
|
<Header />
|
||||||
<div className={styles.app}>
|
<div className={styles.app}>
|
||||||
<Routes />
|
<Routes />
|
||||||
|
<div className={styles.wireframe}>
|
||||||
|
{[...Array(64)].map((_, idx) => (
|
||||||
|
<div key={idx} className={styles.cell} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
<Toast />
|
<Toast />
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
|
.header {
|
||||||
|
margin: 1rem auto;
|
||||||
|
max-width: 1220px;
|
||||||
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 5rem;
|
height: 5rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navLink:after {
|
.navLink:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 12px;
|
right: 12px;
|
||||||
@@ -15,13 +21,14 @@
|
|||||||
content: "";
|
content: "";
|
||||||
transform: rotate(-2.5deg);
|
transform: rotate(-2.5deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navLink:hover:after {
|
.navLink:hover:after {
|
||||||
background-color: var(--brand);
|
background-color: var(--brand);
|
||||||
box-shadow: 0 0 4px var(--brand), 0 0 11px var(--brand), 0 0 19px var(--brand), 0 0 30px var(--brand);
|
box-shadow: 0 0 4px var(--brand), 0 0 11px var(--brand), 0 0 19px var(--brand), 0 0 30px var(--brand);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoNav {
|
.logoNav {
|
||||||
margin-left: 1.5rem;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navItems {
|
.navItems {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const navLinkStyles = ({ isActive }: { isActive: boolean }) => clsx(styles.navLi
|
|||||||
|
|
||||||
export const Header: React.FC = () => {
|
export const Header: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<header>
|
<header className={styles.header}>
|
||||||
<nav className={styles.nav}>
|
<nav className={styles.nav}>
|
||||||
<NavLink to="/" className={styles.logoNav}>
|
<NavLink to="/" className={styles.logoNav}>
|
||||||
<div className={styles.brand}>BBS</div>
|
<div className={styles.brand}>BBS</div>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
transition: background-color 0.1s ease-out, border 0.1s ease-out;
|
transition: background-color 0.1s ease-out, border 0.1s ease-out;
|
||||||
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user:hover {
|
.user:hover {
|
||||||
|
|||||||
Reference in new issue
Block a user