plebdevs/src/styles/globals.css

151 lines
2.5 KiB
CSS
Raw Normal View History

@layer tailwind-base, primereact, tailwind-utilities;
2023-12-23 14:54:38 -06:00
@layer tailwind-base {
@tailwind base;
2023-12-23 14:54:38 -06:00
}
@layer tailwind-utilities {
@tailwind components;
@tailwind utilities;
2024-03-13 17:45:55 -05:00
}
2024-03-18 19:32:43 -05:00
body {
@apply font-blinker;
2024-09-16 16:10:28 -05:00
background-color: #201c24;
2024-03-18 19:32:43 -05:00
}
h1 {
@apply text-h1 font-blinker;
}
h2 {
@apply text-h2 font-blinker;
}
h3 {
@apply text-h3 font-blinker;
}
2024-03-18 19:32:43 -05:00
p {
@apply font-blinker;
}
div {
@apply font-blinker;
}
2024-03-13 17:45:55 -05:00
.p-tabmenu .p-tabmenu-nav {
background-color: transparent !important;
border: none !important;
}
.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link {
background-color: transparent !important;
border: none !important;
}
.p-menubar-button .p-icon {
display: none !important;
}
2024-03-16 16:37:47 -05:00
.p-button .pi.pi-bolt {
color: yellow;
2024-03-18 19:32:43 -05:00
}
.p-overlaypanel-content {
width: 100% !important;
height: 100% !important;
}
.p-dropdown-items-wrapper {
max-width: 80vw !important;
max-height: 400px !important;
}
2024-03-18 19:32:43 -05:00
/* hero banner animation */
@keyframes flip {
0%, 100% {
transform: rotateX(0);
opacity: 1;
}
45%, 60% { /* Adjusted for quicker opacity transition */
transform: rotateX(180deg);
opacity: 0;
}
}
.flip-enter-active, .flip-exit-active {
animation-name: flip;
animation-duration: 800ms; /* Keep as is for smooth transition */
animation-timing-function: ease-in-out;
transform-origin: center center;
animation-fill-mode: forwards; /* Ensures the end state of the animation is retained */
}
2024-03-19 13:04:46 -05:00
/* YT thumbnails */
.markdown-content iframe {
max-width: 100vw;
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}
/* Hide scrollbars globally (need to be cautious with this approach) */
.p-tabmenu .p-tabmenu-nav {
overflow-x: auto;
scrollbar-width: none;
}
.p-tabmenu .p-tabmenu-nav::-webkit-scrollbar {
display: none;
2024-07-21 17:02:40 -05:00
}
.w-md-editor-toolbar button > * {
font-size: 16px !important;
width: 16px !important;
height: 16px !important;
2024-07-21 19:56:55 -05:00
}
/* MarkdownDisplay styles */
pre {
background-color: #1e1e1e;
color: #d4d4d4;
padding: 1em;
border-radius: 5px;
overflow-x: auto;
}
code {
font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
color: #569cd6;
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
color: #ce9178;
2024-09-07 18:46:56 -05:00
}
2024-09-12 12:07:38 -05:00
@layer base {
:root {
--radius: 0.5rem;
}
}
2024-12-11 11:23:14 -06:00
/* hide attribution */
div.react-flow__attribution {
display: none !important;
}