Spaces:
Running
Running
File size: 1,251 Bytes
2fff0e4 a70a1e7 2fff0e4 a70a1e7 2fff0e4 a70a1e7 2fff0e4 a70a1e7 2fff0e4 a70a1e7 2fff0e4 a70a1e7 2fff0e4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #334155;
}
.editor-block {
transition: all 0.2s ease;
}
.editor-block:focus-within {
box-shadow: 0 0 0 2px var(--primary-color);
}
.block-placeholder {
position: absolute;
pointer-events: none;
color: #94a3b8;
}
.drag-handle {
opacity: 0;
transition: opacity 0.2s ease;
}
.editor-block:hover .drag-handle {
opacity: 1;
}
.delete-button {
opacity: 0;
transition: opacity 0.2s ease;
}
.editor-block:hover .delete-button {
opacity: 1;
}
.entry-card {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.entry-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.date-badge {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
@media (max-width: 640px) {
.drag-handle {
opacity: 1 !important;
}
.delete-button {
opacity: 1 !important;
}
} |