/* styles.css */ :root { --primary-color: #3498db; --secondary-color: #2c3e50; --text-color: #333; --background-color: #f5f6fa; } body { margin: 0; font-family: 'Segoe UI', sans-serif; background-color: var(--background-color); color: var(--text-color); } .blog-container { max-width: 960px; margin: auto; padding: 20px; background-color: var(--secondary-color); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } h1 { color: var(--primary-color); } header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .header-left { display: flex; align-items: center; } .header-logo { width: 120px; height: 40px; background-image: url('/120x40?text=Blog+Logo'); background-size: contain; background-repeat: no-repeat; background-position: center; } .header-title { font-weight: bold; font-size: 2rem; margin-left: 20px; } .footer { text-align: center; padding: 15px; margin-top: 20px; background-color: var(--secondary-color); color: var(--text-color); font-size: 0.9em; } .content { margin-bottom: 40px; } .code-block { background-color: #f8f8f8; padding: 15px; border-radius: 5px; overflow: hidden; } .code-block pre { background-color: #ffffff; font-family: monospace; white-space: pre-wrap; border: none; } code { color: #007acc; } @media (max-width: 600px) { .blog-container { padding: 15px; } }