diff options
Diffstat (limited to 'frontend/src/App.css')
| -rw-r--r-- | frontend/src/App.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/frontend/src/App.css b/frontend/src/App.css new file mode 100644 index 0000000..2c5e2ef --- /dev/null +++ b/frontend/src/App.css | |||
| @@ -0,0 +1,41 @@ | |||
| 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 | } | ||
| 13 | .logo:hover { | ||
| 14 | filter: drop-shadow(0 0 2em #646cffaa); | ||
| 15 | } | ||
| 16 | .logo.react:hover { | ||
| 17 | filter: drop-shadow(0 0 2em #61dafbaa); | ||
| 18 | } | ||
| 19 | |||
| 20 | @keyframes logo-spin { | ||
| 21 | from { | ||
| 22 | transform: rotate(0deg); | ||
| 23 | } | ||
| 24 | to { | ||
| 25 | transform: rotate(360deg); | ||
| 26 | } | ||
| 27 | } | ||
| 28 | |||
| 29 | @media (prefers-reduced-motion: no-preference) { | ||
| 30 | a:nth-of-type(2) .logo { | ||
| 31 | animation: logo-spin infinite 20s linear; | ||
| 32 | } | ||
| 33 | } | ||
| 34 | |||
| 35 | .card { | ||
| 36 | padding: 2em; | ||
| 37 | } | ||
| 38 | |||
| 39 | .read-the-docs { | ||
| 40 | color: #888; | ||
| 41 | } | ||