Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Simple Blog Website</title> | |
| <style> | |
| .bhead{ | |
| margin: 0px 0px 30px 0px; | |
| padding: 0px 10px 20px 10px; | |
| border-color: white; | |
| border-width: medium; | |
| border-radius: 10px; | |
| background: #060e1c; | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| text-wrap: pretty; | |
| } | |
| .bpost{ | |
| margin:10px 10px 10px 10px; | |
| padding:10px; | |
| border-color: white; | |
| border-width: medium; | |
| border-radius: 10px; | |
| background:#15243f; | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| text-wrap: pretty; | |
| width: fit-content; | |
| } | |
| .resp1{ | |
| margin:10px 10px 10px 30px; | |
| background:#022563; | |
| padding:10px; | |
| border-color: white; | |
| border-width: medium; | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| text-wrap: pretty; | |
| width: fit-content; | |
| } | |
| .resp2{ | |
| margin:10px 10px 10px 50px; | |
| background:#003593; | |
| padding:10px; | |
| border-color: white; | |
| border-width: medium; | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| text-wrap: pretty; | |
| width: fit-content; | |
| } | |
| .div_box{ | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| /* contain: content; */ | |
| overflow-wrap: anywhere; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| </header> | |
| <main> | |
| <section class="posts"> | |
| <article class="post"> | |
| <div>$body</div> | |
| </article> | |
| <!-- More posts here --> | |
| </section> | |
| <aside class="sidebar"> | |
| <!-- Sidebar content like categories, recent posts, etc.--> | |
| </aside> | |
| </main> | |
| <footer> | |
| <p>© Copyright Your Name - Simple Blog Website</p> | |
| </footer> | |
| </body> | |
| </html> |