File size: 4,056 Bytes
59ec65a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | /* 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);
}
|