<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><data:blog.pageTitle/></title> <b:include data="blog" name="all-head-content"/> <link rel="stylesheet" href="https://f...content-available-to-author-only...s.com/css?family=Poppins:400,600&display=swap" /> <b:skin> <![CDATA[ /* Global reset */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; width: 100%; font-family: 'Poppins', sans-serif; background-color: #f9f9f9; color: #333; /* Default text color */ display: flex; flex-direction: column; padding: 0; margin: 0; } /* Header and navigation styling */ header { background-color: #0056b3; color: #fff; padding: 20px 0; text-align: center; } nav { background-color: #003366; padding: 10px 0; text-align: center; } nav a { text-decoration: none; margin: 0 15px; color: #fff; } nav a:hover { color: #ffd700; } /* Main container styling */ .main-container { display: flex; flex-direction: column; width: 100%; padding: 0; } .content { width: 100%; padding: 20px; } .post { background: #fff; padding: 20px; width: 100%; } /* Post Title styling */ .post h2 { color: #0056b3; font-size: 2rem; margin-bottom: 10px; } /* Paragraph styling */ .post-content p { color: #333 !important; /* Ensures paragraphs have default color (black) */ line-height: 1.6; } /* Link styling */ .post-content a { color: #0056b3 !important; /* Link color is blue */ text-decoration: none; /* Remove underline from links */ } /* Hover effect for links */ .post-content a:hover { color: #ffd700 !important; /* Hover color (yellow) */ text-decoration: underline !important; /* Underline on hover */ } footer { text-align: center; padding: 15px; background-color: #004494; color: #fff; } footer a { color: #ffd700; text-decoration: none; } footer a:hover { text-decoration: underline; } /* Responsive design */ @media (max-width: 1024px) { .content { padding: 10px; } .post { padding: 15px; } } @media (max-width: 768px) { header h1 { font-size: 2rem; } nav a { font-size: 1rem; } .content { width: 100%; padding: 5px; } .post { padding: 15px; } } @media (max-width: 480px) { header h1 { font-size: 1.5rem; } nav a { font-size: 0.9rem; } .content { padding: 5px; width: 100%; } .post { padding: 15px; } } ]]> </b:skin> </head> <body> <header> <h1><data:blog.title/></h1> </header> <nav> <a href="/">Home</a> <a href="/about">About</a> <a href="/contact">Contact</a> </nav> <div class="main-container"> <div class="content"> <b:section class="posts" id="main" maxposts="1" name="Main Posts"> <b:widget id="Blog1" locked="false" title="Blog Post" type="Blog"/> </b:section> <div class="post"> <h2 class="post-title"><data:post.title/></h2> <div class="post-content"> <data:post.body/> </div> </div> </div> </div> <footer> </footer> </body> </html>
Standard input is empty
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><data:blog.pageTitle/></title> <b:include data="blog" name="all-head-content"/> <link rel="stylesheet" href="https://f...content-available-to-author-only...s.com/css?family=Poppins:400,600&display=swap" /> <b:skin> <![CDATA[ /* Global reset */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; width: 100%; font-family: 'Poppins', sans-serif; background-color: #f9f9f9; color: #333; /* Default text color */ display: flex; flex-direction: column; padding: 0; margin: 0; } /* Header and navigation styling */ header { background-color: #0056b3; color: #fff; padding: 20px 0; text-align: center; } nav { background-color: #003366; padding: 10px 0; text-align: center; } nav a { text-decoration: none; margin: 0 15px; color: #fff; } nav a:hover { color: #ffd700; } /* Main container styling */ .main-container { display: flex; flex-direction: column; width: 100%; padding: 0; } .content { width: 100%; padding: 20px; } .post { background: #fff; padding: 20px; width: 100%; } /* Post Title styling */ .post h2 { color: #0056b3; font-size: 2rem; margin-bottom: 10px; } /* Paragraph styling */ .post-content p { color: #333 !important; /* Ensures paragraphs have default color (black) */ line-height: 1.6; } /* Link styling */ .post-content a { color: #0056b3 !important; /* Link color is blue */ text-decoration: none; /* Remove underline from links */ } /* Hover effect for links */ .post-content a:hover { color: #ffd700 !important; /* Hover color (yellow) */ text-decoration: underline !important; /* Underline on hover */ } footer { text-align: center; padding: 15px; background-color: #004494; color: #fff; } footer a { color: #ffd700; text-decoration: none; } footer a:hover { text-decoration: underline; } /* Responsive design */ @media (max-width: 1024px) { .content { padding: 10px; } .post { padding: 15px; } } @media (max-width: 768px) { header h1 { font-size: 2rem; } nav a { font-size: 1rem; } .content { width: 100%; padding: 5px; } .post { padding: 15px; } } @media (max-width: 480px) { header h1 { font-size: 1.5rem; } nav a { font-size: 0.9rem; } .content { padding: 5px; width: 100%; } .post { padding: 15px; } } ]]> </b:skin> </head> <body> <header> <h1><data:blog.title/></h1> </header> <nav> <a href="/">Home</a> <a href="/about">About</a> <a href="/contact">Contact</a> </nav> <div class="main-container"> <div class="content"> <b:section class="posts" id="main" maxposts="1" name="Main Posts"> <b:widget id="Blog1" locked="false" title="Blog Post" type="Blog"/> </b:section> <div class="post"> <h2 class="post-title"><data:post.title/></h2> <div class="post-content"> <data:post.body/> </div> </div> </div> </div> <footer> <p>&copy; <data:blog.year/> <data:blog.title/>. Designed by <a href="#">Your Name</a>.</p> </footer> </body> </html>