/
greenfielder
/
quicknotes
Обзор
Документация
Войти
/
greenfielder
/
quicknotes
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
web/style.css
163 строки
5 KB
Dmitry Savenko
mvp version 0.0.1
25 июн 2026, 14:42
25 июн 2026, 14:42
96abad3
Код
Авторство
О чём код?
* { box-sizing: border-box; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f5f6f8; color: #1f2937; min-height: 100vh; } .hidden { display: none !important; } header { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 10; } .header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; } .logo { font-weight: 600; color: #111827; text-decoration: none; font-size: 18px; } .user-info { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #4b5563; } .btn { border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px; font-family: inherit; transition: background 0.15s; } .btn-primary { background: #4f46e5; color: #fff; } .btn-primary:hover { background: #4338ca; } .btn-ghost { background: transparent; color: #4b5563; } .btn-ghost:hover { background: #f3f4f6; } .btn-danger { color: #dc2626; } .btn-danger:hover { background: #fef2f2; } .auth-wrap { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 20px; } .auth-card { background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); width: 100%; max-width: 380px; } .auth-card h2 { margin: 0 0 20px; } .auth-card label { display: flex; flex-direction: column; margin-bottom: 14px; font-size: 14px; color: #374151; } .auth-card input[type="text"], .auth-card input[type="password"], .auth-card input[type="email"] { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; margin-top: 6px; font-size: 14px; font-family: inherit; } .auth-card input:focus { outline: none; border-color: #4f46e5; } .auth-card .checkbox { display: flex; align-items: center; gap: 8px; } .auth-card .checkbox input { margin: 0; } .auth-card button { width: 100%; padding: 10px; margin-top: 8px; } .muted { font-size: 13px; color: #6b7280; text-align: center; margin-top: 16px; } .muted a { color: #4f46e5; } .error { color: #dc2626; font-size: 13px; margin-top: 12px; min-height: 18px; text-align: center; } .projects-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px; } .projects-wrap h1 { margin: 0 0 24px; font-size: 28px; } .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } .tile { background: #fff; border-radius: 10px; padding: 20px; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.15s, box-shadow 0.15s; display: flex; flex-direction: column; min-height: 140px; border: 1px solid #e5e7eb; } .tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); } .tile-title { font-weight: 600; font-size: 16px; margin-bottom: 8px; word-break: break-word; } .tile-date { font-size: 12px; color: #9ca3af; margin-top: auto; } .tile-add { align-items: center; justify-content: center; border: 2px dashed #d1d5db; background: transparent; color: #6b7280; cursor: pointer; font-size: 16px; font-family: inherit; } .tile-add:hover { border-color: #4f46e5; color: #4f46e5; background: #f5f3ff; } .tile-add .plus { font-size: 36px; line-height: 1; margin-bottom: 6px; } .editor-wrap { max-width: 900px; margin: 0 auto; padding: 24px 20px; } .editor-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .back { color: #4b5563; text-decoration: none; font-size: 14px; } .back:hover { color: #111827; } .project-title { width: 100%; border: none; background: transparent; font-size: 28px; font-weight: 600; padding: 8px 0; font-family: inherit; color: #111827; border-bottom: 1px solid transparent; } .project-title:focus { outline: none; border-bottom-color: #4f46e5; } .save-status { font-size: 12px; color: #9ca3af; margin: 4px 0 12px; min-height: 16px; } .save-status.saving { color: #f59e0b; } .save-status.error { color: #dc2626; } .project-content { width: 100%; min-height: calc(100vh - 240px); border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; font-size: 15px; line-height: 1.6; font-family: inherit; resize: vertical; background: #fff; } .auth-card .checkbox { flex-direction: row !important; align-items: center; } .project-content:focus { outline: none; border-color: #4f46e5; }