113 lines
3.5 KiB
CSS
113 lines
3.5 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
color: #1a1a1a;
|
|
background: #fff;
|
|
}
|
|
|
|
.site-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 1.25rem;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
}
|
|
|
|
.site-title {
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.site-nav a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
font-size: 0.95rem;
|
|
padding: 0.5rem;
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.site-main {
|
|
max-width: 680px;
|
|
margin: 0 auto;
|
|
padding: 1.5rem 1.25rem;
|
|
}
|
|
|
|
/* Feed */
|
|
.feed { display: flex; flex-direction: column; gap: 2rem; }
|
|
|
|
.entry-card {
|
|
border-bottom: 1px solid #e5e5e5;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
.entry-date {
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.entry-card .entry-title { font-size: 1.3rem; margin-bottom: 0.75rem; }
|
|
.entry-card .entry-title a { color: inherit; text-decoration: none; }
|
|
.entry-card .entry-title a:hover { text-decoration: underline; }
|
|
|
|
.entry-thumb { margin-bottom: 0.75rem; }
|
|
.entry-thumb img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
|
|
|
|
.entry-excerpt { color: #444; margin-bottom: 0.75rem; }
|
|
|
|
.entry-read-more {
|
|
font-size: 0.9rem;
|
|
color: #0066cc;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.feed-empty { color: #666; font-style: italic; }
|
|
|
|
/* Single entry */
|
|
.entry-header { margin-bottom: 1.5rem; }
|
|
.entry-header .entry-date { margin-bottom: 0.5rem; }
|
|
.entry .entry-title { font-size: 1.8rem; }
|
|
.entry-body { margin-bottom: 2rem; }
|
|
.entry-body p { margin-bottom: 1em; }
|
|
.entry-body img { max-width: 100%; height: auto; border-radius: 4px; }
|
|
.entry-footer { border-top: 1px solid #e5e5e5; padding-top: 1rem; }
|
|
.entry-footer a { color: #0066cc; text-decoration: none; font-size: 0.9rem; }
|
|
|
|
/* Login form */
|
|
.login-form { max-width: 400px; margin: 2rem auto; padding: 0 1rem; }
|
|
.login-form .form-field { margin-bottom: 1.25rem; }
|
|
.login-form .form-label label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
|
|
.login-form input[type="text"],
|
|
.login-form input[type="password"],
|
|
.login-form input[type="email"] {
|
|
width: 100%; box-sizing: border-box;
|
|
font-size: 1rem; padding: 0.75rem 1rem;
|
|
border: 1px solid #ccc; border-radius: 6px;
|
|
min-height: 44px;
|
|
}
|
|
.login-form .form-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
|
|
.login-form .button { display: block; width: 100%; text-align: center; padding: 0.85rem 1rem; min-height: 44px; border-radius: 6px; font-size: 1rem; cursor: pointer; border: none; }
|
|
.login-form .button.primary { background: #0066cc; color: #fff; }
|
|
.login-form .button.secondary { background: #f0f0f0; color: #333; text-decoration: none; line-height: 44px; padding: 0 1rem; }
|
|
.login-form .rememberme { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
|
|
|
|
/* Post form */
|
|
.post-form-wrap h1 { font-size: 1.4rem; margin-bottom: 1.5rem; }
|
|
.post-form-wrap .btn-location {
|
|
display: block; width: 100%; margin-top: 1rem;
|
|
padding: 0.85rem 1rem; min-height: 44px;
|
|
background: #f0f0f0; border: 1px solid #ccc;
|
|
border-radius: 6px; font-size: 1rem; cursor: pointer;
|
|
}
|
|
.post-form-wrap .location-status { font-size: 0.85rem; color: #666; margin-top: 0.5rem; text-align: center; }
|