/* * Style CSS for the blog application * * This file contains the styles necessary to make the blog look good and function well. * It includes styles for the layout, fonts, colors, and other visual elements. */ /* Base Styles */ body { font-family: 'Segoe UI', Tahoma, Geneva, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: white; padding: 20px; text-align: center; } header h1 { margin-top: 0; } main { max-width: 960px; margin: 20px auto; padding: 20px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); } article { margin-bottom: 40px; } footer { background-color: #222; color: white; padding: 10px; text-align: center; } /* Responsive Design */ @media (max-width: 600px) { header h1 { font-size: 24px; } main { padding: 10px; } } /* Color Palette */ .colors { color: #333; font-weight: bold; } .text-primary { color: #FF5722; } .text-secondary { color: #2E82EB; } .text-success { color: #27AE60; } .text-danger { color: #E74C3C; } /* Button Styles */ .button { background-color: #2E82EB; border: none; color: white; padding: 10px 20px; text-decoration: none; cursor: pointer; } .button:hover { background-color: #2B85BA; } button:hover:focus { outline: none; } /* Form Styles */ form input[type="text"], form input[type="email"], form textarea { width: 100%; padding: 10px; margin-top: 10px; border-radius: 4px; border: 1px solid #ccc; } form button { margin-top: 20px; }