| 236 | } |
| 237 | |
| 238 | std::string getCSS() |
| 239 | { |
| 240 | return R"CSS( |
| 241 | body { |
| 242 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 243 | margin: 0; |
| 244 | padding: 20px; |
| 245 | background: linear-gradient (135deg, #667eea 0%, #764ba2 100%); |
| 246 | color: #333; |
| 247 | min-height: 100vh; |
| 248 | } |
| 249 | |
| 250 | .container { |
| 251 | max-width: 800px; |
| 252 | margin: 0 auto; |
| 253 | background: white; |
| 254 | border-radius: 12px; |
| 255 | box-shadow: 0 10px 30px rgba (0,0,0,0.2); |
| 256 | overflow: hidden; |
| 257 | } |
| 258 | |
| 259 | header { |
| 260 | background: linear-gradient (135deg, #4facfe 0%, #00f2fe 100%); |
| 261 | color: white; |
| 262 | padding: 30px; |
| 263 | text-align: center; |
| 264 | } |
| 265 | |
| 266 | header h1 { |
| 267 | margin: 0 0 10px 0; |
| 268 | font-size: 2.5em; |
| 269 | font-weight: 300; |
| 270 | } |
| 271 | |
| 272 | header p { |
| 273 | margin: 0; |
| 274 | opacity: 0.9; |
| 275 | font-size: 1.1em; |
| 276 | } |
| 277 | |
| 278 | .demo-section { |
| 279 | padding: 30px; |
| 280 | border-bottom: 1px solid #eee; |
| 281 | } |
| 282 | |
| 283 | .demo-section:last-child { |
| 284 | border-bottom: none; |
| 285 | } |
| 286 | |
| 287 | .demo-section h2 { |
| 288 | margin: 0 0 20px 0; |
| 289 | color: #2c3e50; |
| 290 | font-size: 1.4em; |
| 291 | } |
| 292 | |
| 293 | button { |
| 294 | background: linear-gradient (135deg, #667eea 0%, #764ba2 100%); |
| 295 | color: white; |
nothing calls this directly
no outgoing calls
no test coverage detected