2021-05-02 13:05:12 +08:00
|
|
|
.wrapper {
|
2021-05-02 20:04:54 +08:00
|
|
|
@apply bg-green-400 text-white min-h-screen;
|
2021-07-15 21:08:33 +08:00
|
|
|
@apply absolute top-0 left-0 right-0 bottom-0 sm:static;
|
|
|
|
@apply -translate-x-full transform transition-transform sm:transition-none sm:translate-x-0;
|
2021-05-02 13:05:12 +08:00
|
|
|
:global(.dark) & {
|
|
|
|
@apply bg-gray-800 text-gray-400;
|
|
|
|
}
|
2021-07-15 21:08:33 +08:00
|
|
|
|
|
|
|
&.focusOpen {
|
|
|
|
@apply translate-x-0;
|
|
|
|
}
|
2021-05-02 13:05:12 +08:00
|
|
|
}
|
|
|
|
.sidebar {
|
|
|
|
@apply overflow-hidden flex flex-col fixed top-0;
|
2021-05-02 20:04:54 +08:00
|
|
|
@apply text-center shadow-2xl h-screen;
|
2021-05-01 23:10:28 +08:00
|
|
|
padding-top: 10vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2021-07-15 21:08:33 +08:00
|
|
|
@apply w-36 h-36 rounded-full;
|
|
|
|
@apply sm:w-16 sm:h-16;
|
|
|
|
@apply md:w-36 md:h-36;
|
2021-05-01 23:10:28 +08:00
|
|
|
@apply mx-auto md:my-8 flex-none;
|
2021-05-02 13:05:12 +08:00
|
|
|
|
|
|
|
:global(.dark) & {
|
|
|
|
@apply filter brightness-75;
|
|
|
|
}
|
2021-05-01 23:10:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
2021-07-15 21:08:33 +08:00
|
|
|
@apply sm:text-base md:text-3xl text-3xl md:tracking-wide font-mono;
|
2021-05-01 23:10:28 +08:00
|
|
|
@apply md:my-8 my-4 flex-none select-all;
|
|
|
|
}
|
|
|
|
.nav {
|
2021-05-02 13:05:12 +08:00
|
|
|
@apply my-auto text-left self-center;
|
2021-05-01 23:10:28 +08:00
|
|
|
}
|
|
|
|
.navItem {
|
2021-07-15 21:08:33 +08:00
|
|
|
@apply leading-8 md:text-lg sm:text-base text-lg cursor-pointer my-2;
|
2021-05-02 13:05:12 +08:00
|
|
|
@apply tracking-widest;
|
|
|
|
small {
|
|
|
|
@apply text-xs md:inline hidden;
|
|
|
|
}
|
2021-05-01 23:10:28 +08:00
|
|
|
&:hover {
|
|
|
|
text-shadow: 0 0px 5px #abbf00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bio {
|
|
|
|
@apply text-sm text-opacity-70 text-white;
|
|
|
|
@apply my-4;
|
2021-05-02 13:05:12 +08:00
|
|
|
|
|
|
|
:global(.dark) & {
|
|
|
|
@apply text-gray-500;
|
|
|
|
}
|
2021-05-01 23:10:28 +08:00
|
|
|
}
|