SS-2005's picture
Initial HF Space deployment
59ec65a
Raw
History Blame Contribute Delete
4.06 kB
/* Shared Styles for System Design Video Templates */
/* This file contains common styles used across all slide templates */
:root {
/* Colors */
--primary: #4f46e5;
--primary-light: #818cf8;
--primary-dim: rgba(79, 70, 229, 0.08);
--accent: #ec4899;
--accent-light: #f9a8d4;
/* Text */
--text-main: #0f172a;
--text-muted: #64748b;
/* Status Colors */
--success: #10b981;
--warning: #f59e0b;
--info: #3b82f6;
/* Glass Morphism */
--glass-bg: rgba(255, 255, 255, 0.75);
--glass-surface: rgba(255, 255, 255, 0.4);
/* Fonts */
--font-main: 'Plus Jakarta Sans', sans-serif;
--font-code: 'JetBrains Mono', monospace;
}
/* Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Body */
body {
font-family: var(--font-main);
background: #eef2f6;
background-image:
radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%);
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--text-main);
}
/* Slide Wrapper */
.slide-wrap {
width: 1920px;
height: 1080px;
background: var(--glass-bg);
backdrop-filter: blur(20px);
box-shadow:
0 25px 50px -12px rgba(0, 0, 0, 0.1),
0 0 0 1px rgba(255, 255, 255, 0.5) inset;
border-radius: 24px;
overflow: hidden;
position: relative;
display: flex;
}
/* Sidebar Decoration */
.sidebar-decor {
width: 12px;
height: 100%;
background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
flex-shrink: 0;
}
/* Main Slide Content */
.slide {
flex: 1;
padding: 60px 80px;
height: 100%;
display: flex;
flex-direction: column;
z-index: 10;
position: relative;
overflow-y: auto;
}
/* Header */
.header {
margin-bottom: 40px;
flex-shrink: 0;
position: relative;
}
.header::after {
content: '';
position: absolute;
bottom: -15px;
left: 0;
width: 80px;
height: 4px;
background: var(--primary);
border-radius: 2px;
}
.title {
font-size: 52px;
font-weight: 800;
color: var(--text-main);
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 12px;
}
.subtitle {
font-size: 22px;
color: var(--text-muted);
font-weight: 500;
}
/* Background Blobs */
.blob {
position: absolute;
filter: blur(80px);
opacity: 0.4;
z-index: 1;
pointer-events: none;
}
.blob-1 {
top: -10%;
right: -5%;
width: 600px;
height: 600px;
background: var(--primary-light);
}
.blob-2 {
bottom: -10%;
left: -5%;
width: 500px;
height: 500px;
background: var(--accent);
}
/* Float Tag (Footer) */
.float-tag {
position: absolute;
bottom: 30px;
right: 30px;
display: flex;
align-items: center;
gap: 10px;
background: #fff;
padding: 8px 16px;
border-radius: 50px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
z-index: 20;
}
.dot {
width: 8px;
height: 8px;
background: var(--accent);
border-radius: 50%;
animation: pulse 2s infinite;
}
.tag-text {
font-family: var(--font-code);
font-size: 12px;
font-weight: 600;
color: var(--text-main);
}
/* Animations */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
70% { box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideInDown {
from { opacity: 0; transform: translateY(-60px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.05);
border-radius: 3px;
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-light);
}