/* * style.css - Styles for the "Start Changing Your Life" blog theme * * This file contains the CSS styles for the blog's layout and design. * It includes styles for the header, articles, footer, and other elements. */ /* Reset default margins and paddings */ * { margin: 0; padding: 0; } /* Set the font family to Helvetica Neue or Arial */ body { font-family: 'Helvetica Neue', sans-serif; } /* Set a base font size and line height */ body { font-size: 16px; line-height: 1.5; } /* Style the header */ header { background-color: #2c3e50; color: white; text-align: center; padding: 20px 0; } header h1 { margin: 0; font-size: 28px; color: #ecf0f1; } /* Style the main content area */ .main-content { max-width: 960px; margin: auto; padding: 20px; background-color: #ecf0f1; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } /* Style the article container */ .article { background-color: #f7fcff; margin-bottom: 40px; } /* Style the article title */ .article h2 { color: #2c3e50; margin-top: 0; } /* Style the article body */ article p { color: #333; } /* Style the footer */ footer { background-color: #2c3e50; color: white; text-align: center; padding: 20px; margin-top: 40px; } /* Responsive design for mobile devices */ @media (max-width: 600px) { header h1 { font-size: 24px; } .main-content { padding: 15px; } }