Skip to content

Commit cb72e18

Browse files
JiroMusikclaude
andcommitted
Fix mirror/today CSS: white amounts, subtle Portionen badge
- .amount color: green → white (#e5e7eb) for better readability on dark bg - .meta (Portionen): subtle white glass effect instead of green Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1887b74 commit cb72e18

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ async function startServer() {
20422042
.recipe { margin-bottom: 40px; }
20432043
h1 { font-size: 2.8em; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(255,255,255,0.1); }
20442044
.desc { font-size: 1.2em; color: #aaa; margin-bottom: 16px; }
2045-
.meta { font-size: 1em; color: #10b981; font-weight: 600; margin-bottom: 30px; padding: 8px 16px; background: rgba(16,185,129,0.1); border-radius: 12px; display: inline-block; border: 1px solid rgba(16,185,129,0.2); }
2045+
.meta { font-size: 1em; color: #d1d5db; font-weight: 600; margin-bottom: 30px; padding: 8px 20px; background: rgba(255,255,255,0.06); border-radius: 12px; display: inline-block; border: 1px solid rgba(255,255,255,0.1); letter-spacing: 0.5px; }
20462046
.columns { display: flex; gap: 40px; }
20472047
.col-ingredients { flex: 0 0 25%; }
20482048
.col-instructions { flex: 1; }
@@ -2055,7 +2055,7 @@ async function startServer() {
20552055
ol li { padding: 12px 0; border-bottom: 1px solid #1a1a1a; font-size: 1.05em; counter-increment: step; display: flex; gap: 12px; }
20562056
ol li::before { content: counter(step); flex-shrink: 0; width: 28px; height: 28px; background: #1a1a1a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8em; font-weight: 700; color: #666; }
20572057
ol { counter-reset: step; }
2058-
.amount { color: #10b981; font-weight: 700; min-width: 80px; }
2058+
.amount { color: #e5e7eb; font-weight: 700; min-width: 80px; }
20592059
.ok { color: #10b981; }
20602060
.missing { color: #ef4444; }
20612061
</style></head><body>${recipeHtml}</body></html>`);

0 commit comments

Comments
 (0)