/* * NASA News CSS Styles * * This file contains the styles for the NASA News website, * including global styles, page-specific styles, and theme-related styles. * * The design is based on the official NASA website's visual identity, * with modifications to match the specific needs of the news section. * * @author NASA/JPL * @version 1.0 * @date 2023-04-01 */ /* Global Reset */ * { margin: 0; padding: 0; } /* Base Font */ body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; } /* Header Styles */ header { background-color: #ffffff; color: #000000; padding: 1em 0; margin-bottom: 2em; } header h1 { margin-top: 0; color: #005a9c; } /* Content Area */ .content { max-width: 800px; margin: auto; padding: 1em; background-color: #f9f9f9; border-radius: 5px; } /* Footer Styles */ footer { background-color: #e0e0e0; color: #666; padding: 1em; margin-top: 2em; } /* Responsive Design */ @media (max-width: 600px) { header h1 { font-size: 1.5em; } .content { padding: 0.5em; } } /* Custom Styling for News Articles */ article { background-color: #fff; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } article h2 { color: #005a9c; } article p { color: #333; } article a { color: #005a9c; text-decoration: none; } article a:hover { text-decoration: underline; } /* Theme Colors */ .theme-dark { background-color: #222222; color: #ffffff; } .theme-light { background-color: #ffffff; color: #222222; }