|
| 1 | +#root { |
| 2 | + max-width: 1280px; |
| 3 | + margin: 0 auto; |
| 4 | + padding: 2rem; |
| 5 | + text-align: center; |
| 6 | +} |
| 7 | + |
| 8 | +.logo { |
| 9 | + height: 6em; |
| 10 | + padding: 1.5em; |
| 11 | + will-change: filter; |
| 12 | + transition: filter 300ms; |
| 13 | +} |
| 14 | +.logo:hover { |
| 15 | + filter: drop-shadow(0 0 2em #646cffaa); |
| 16 | +} |
| 17 | +.logo.react:hover { |
| 18 | + filter: drop-shadow(0 0 2em #61dafbaa); |
| 19 | +} |
| 20 | + |
| 21 | +@keyframes logo-spin { |
| 22 | + from { |
| 23 | + transform: rotate(0deg); |
| 24 | + } |
| 25 | + to { |
| 26 | + transform: rotate(360deg); |
| 27 | + } |
| 28 | +} |
| 29 | + |
| 30 | +@media (prefers-reduced-motion: no-preference) { |
| 31 | + a:nth-of-type(2) .logo { |
| 32 | + animation: logo-spin infinite 20s linear; |
| 33 | + } |
| 34 | +} |
| 35 | + |
| 36 | +.card { |
| 37 | + padding: 2em; |
| 38 | +} |
| 39 | + |
| 40 | +.read-the-docs { |
| 41 | + color: #888; |
| 42 | +} |
| 43 | + |
| 44 | +form { |
| 45 | + max-width: 400px; |
| 46 | + margin: 2rem auto; |
| 47 | + padding: 2rem 1.5rem; |
| 48 | + background: #fff; |
| 49 | + border-radius: 12px; |
| 50 | + box-shadow: 0 2px 16px rgba(0,0,0,0.08); |
| 51 | + font-family: 'Segoe UI', Arial, sans-serif; |
| 52 | +} |
| 53 | + |
| 54 | +form div { |
| 55 | + margin-bottom: 1.2rem; |
| 56 | +} |
| 57 | + |
| 58 | +label { |
| 59 | + display: block; |
| 60 | + margin-bottom: 0.4rem; |
| 61 | + font-weight: 500; |
| 62 | + color: #333; |
| 63 | +} |
| 64 | + |
| 65 | +input[type="text"], |
| 66 | +input[type="email"], |
| 67 | +textarea { |
| 68 | + width: 100%; |
| 69 | + padding: 0.6rem 0.8rem; |
| 70 | + border: 1px solid #ccc; |
| 71 | + border-radius: 6px; |
| 72 | + font-size: 1rem; |
| 73 | + transition: border 0.2s; |
| 74 | + background: #fafbfc; |
| 75 | + box-sizing: border-box; |
| 76 | +} |
| 77 | + |
| 78 | +input[type="text"]:focus, |
| 79 | +input[type="email"]:focus, |
| 80 | +textarea:focus { |
| 81 | + border-color: #4f8cff; |
| 82 | + outline: none; |
| 83 | + background: #fff; |
| 84 | +} |
| 85 | + |
| 86 | +textarea { |
| 87 | + resize: vertical; |
| 88 | + min-height: 80px; |
| 89 | + font-family: inherit; |
| 90 | +} |
| 91 | + |
| 92 | +input[type="submit"] { |
| 93 | + background: linear-gradient(90deg, #4f8cff 0%, #6ed0ff 100%); |
| 94 | + color: #fff; |
| 95 | + border: none; |
| 96 | + padding: 0.7rem 1.5rem; |
| 97 | + border-radius: 6px; |
| 98 | + font-size: 1rem; |
| 99 | + font-weight: 600; |
| 100 | + cursor: pointer; |
| 101 | + transition: background 0.2s, box-shadow 0.2s; |
| 102 | + box-shadow: 0 1px 4px rgba(79,140,255,0.10); |
| 103 | +} |
| 104 | + |
| 105 | +input[type="submit"]:hover, |
| 106 | +input[type="submit"]:focus { |
| 107 | + background: linear-gradient(90deg, #357ae8 0%, #4f8cff 100%); |
| 108 | + box-shadow: 0 2px 8px rgba(79,140,255,0.15); |
| 109 | +} |
0 commit comments