UNPKG

contaigents

Version:

Modular AI Content Ecosystem with Audio Generation

78 lines (70 loc) 2.02 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Text Quote</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { width: {{width}}px; height: {{height}}px; background-color: {{background_color}}; font-family: {{font_family}}; display: flex; align-items: center; justify-content: center; padding: {{padding}}px; overflow: hidden; } .quote-container { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; } .quote-mark { font-size: calc({{font_size}}px * 2); color: {{text_color}}66; line-height: 0.5; margin-bottom: 20px; } .quote-text { color: {{text_color}}; font-size: {{font_size}}px; font-style: italic; line-height: 1.5; max-width: 85%; word-wrap: break-word; white-space: pre-wrap; margin-bottom: 30px; position: relative; } .quote-attribution { color: {{text_color}}aa; font-size: calc({{font_size}}px * 0.7); font-style: normal; font-weight: bold; } .quote-attribution::before { content: "— "; } {{custom_css}} </style> </head> <body> <div class="quote-container"> <div class="quote-mark">"</div> <div class="quote-text">{{text}}</div> <div class="quote-attribution">Anonymous</div> </div> </body> </html>