diff options
Diffstat (limited to 'frontend/src/App.css')
| -rw-r--r-- | frontend/src/App.css | 50 |
1 files changed, 9 insertions, 41 deletions
diff --git a/frontend/src/App.css b/frontend/src/App.css index 2c5e2ef..78dea16 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css | |||
| @@ -1,41 +1,9 @@ | |||
| 1 | #root { | 1 | body { |
| 2 | max-width: 1280px; | 2 | background-color: #141520; |
| 3 | margin: 0 auto; | 3 | margin: 0; |
| 4 | padding: 2rem; | 4 | } |
| 5 | text-align: center; | 5 | |
| 6 | } | 6 | @font-face { |
| 7 | 7 | font-family: 'D-DIN'; | |
| 8 | .logo { | 8 | src: local('D-DIN'), url(./fonts/D-DIN.otf) format('oft'); |
| 9 | height: 6em; | 9 | } \ No newline at end of file |
| 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 | } | ||