|
| 1 | +.page { |
| 2 | + display: flex; |
| 3 | + align-items: center; |
| 4 | + justify-content: center; |
| 5 | + min-height: 100svh; |
| 6 | + padding: 80px; |
| 7 | + font-family: var(--font-geist-sans); |
| 8 | +} |
| 9 | + |
| 10 | +.main { |
| 11 | + display: flex; |
| 12 | + flex-direction: column; |
| 13 | + gap: 32px; |
| 14 | + max-width: 480px; |
| 15 | + width: 100%; |
| 16 | +} |
| 17 | + |
| 18 | +.back { |
| 19 | + display: inline-flex; |
| 20 | + align-items: center; |
| 21 | + gap: 6px; |
| 22 | + font-size: 13px; |
| 23 | + color: rgba(0, 0, 0, 0.4); |
| 24 | + text-decoration: none; |
| 25 | + transition: color 0.15s; |
| 26 | +} |
| 27 | + |
| 28 | +.back::before { |
| 29 | + content: "←"; |
| 30 | +} |
| 31 | + |
| 32 | +.badge { |
| 33 | + display: inline-flex; |
| 34 | + align-items: center; |
| 35 | + gap: 6px; |
| 36 | + font-size: 12px; |
| 37 | + font-weight: 500; |
| 38 | + letter-spacing: 0.04em; |
| 39 | + text-transform: uppercase; |
| 40 | + color: rgba(0, 0, 0, 0.4); |
| 41 | +} |
| 42 | + |
| 43 | +.badge::before { |
| 44 | + content: ""; |
| 45 | + display: block; |
| 46 | + width: 6px; |
| 47 | + height: 6px; |
| 48 | + border-radius: 50%; |
| 49 | + background: #3b82f6; |
| 50 | +} |
| 51 | + |
| 52 | +.main h1 { |
| 53 | + font-size: 36px; |
| 54 | + font-weight: 600; |
| 55 | + letter-spacing: -0.03em; |
| 56 | + line-height: 1.15; |
| 57 | + margin: 0; |
| 58 | +} |
| 59 | + |
| 60 | +.posts { |
| 61 | + display: flex; |
| 62 | + flex-direction: column; |
| 63 | + gap: 12px; |
| 64 | +} |
| 65 | + |
| 66 | +.post { |
| 67 | + display: flex; |
| 68 | + align-items: center; |
| 69 | + justify-content: space-between; |
| 70 | + padding: 16px 20px; |
| 71 | + border-radius: 12px; |
| 72 | + border: 1px solid rgba(0, 0, 0, 0.08); |
| 73 | + font-size: 15px; |
| 74 | + font-weight: 500; |
| 75 | + transition: |
| 76 | + background 0.15s, |
| 77 | + border-color 0.15s; |
| 78 | +} |
| 79 | + |
| 80 | +.post::after { |
| 81 | + content: "→"; |
| 82 | + opacity: 0.4; |
| 83 | +} |
| 84 | + |
| 85 | +.description { |
| 86 | + font-size: 15px; |
| 87 | + line-height: 1.6; |
| 88 | + color: rgba(0, 0, 0, 0.5); |
| 89 | + margin: 0; |
| 90 | +} |
| 91 | + |
| 92 | +@media (hover: hover) and (pointer: fine) { |
| 93 | + .back:hover { |
| 94 | + color: var(--foreground); |
| 95 | + } |
| 96 | + |
| 97 | + .post:hover { |
| 98 | + background: rgba(0, 0, 0, 0.04); |
| 99 | + border-color: rgba(0, 0, 0, 0.15); |
| 100 | + } |
| 101 | + |
| 102 | + .post:hover::after { |
| 103 | + opacity: 1; |
| 104 | + } |
| 105 | +} |
| 106 | + |
| 107 | +@media (prefers-color-scheme: dark) { |
| 108 | + .back { |
| 109 | + color: rgba(255, 255, 255, 0.4); |
| 110 | + } |
| 111 | + |
| 112 | + .badge { |
| 113 | + color: rgba(255, 255, 255, 0.4); |
| 114 | + } |
| 115 | + |
| 116 | + .post { |
| 117 | + border-color: rgba(255, 255, 255, 0.1); |
| 118 | + } |
| 119 | + |
| 120 | + .post:hover { |
| 121 | + background: rgba(255, 255, 255, 0.05); |
| 122 | + border-color: rgba(255, 255, 255, 0.2); |
| 123 | + } |
| 124 | + |
| 125 | + .description { |
| 126 | + color: rgba(255, 255, 255, 0.5); |
| 127 | + } |
| 128 | +} |
| 129 | + |
| 130 | +@media (max-width: 600px) { |
| 131 | + .page { |
| 132 | + padding: 32px; |
| 133 | + align-items: flex-start; |
| 134 | + padding-top: 64px; |
| 135 | + } |
| 136 | +} |
0 commit comments