aboutsummaryrefslogtreecommitdiffstats
path: root/src/App.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.css')
-rw-r--r--src/App.css52
1 files changed, 28 insertions, 24 deletions
diff --git a/src/App.css b/src/App.css
index 74b5e05..b9d355d 100644
--- a/src/App.css
+++ b/src/App.css
@@ -1,34 +1,24 @@
-.App {
+#root {
+ max-width: 1280px;
+ margin: 0 auto;
+ padding: 2rem;
text-align: center;
}
-.App-logo {
- height: 40vmin;
- pointer-events: none;
+.logo {
+ height: 6em;
+ padding: 1.5em;
+ will-change: filter;
+ transition: filter 300ms;
}
-
-@media (prefers-reduced-motion: no-preference) {
- .App-logo {
- animation: App-logo-spin infinite 20s linear;
- }
+.logo:hover {
+ filter: drop-shadow(0 0 2em #646cffaa);
}
-
-.App-header {
- background-color: #282c34;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: calc(10px + 2vmin);
- color: white;
+.logo.react:hover {
+ filter: drop-shadow(0 0 2em #61dafbaa);
}
-.App-link {
- color: #61dafb;
-}
-
-@keyframes App-logo-spin {
+@keyframes logo-spin {
from {
transform: rotate(0deg);
}
@@ -36,3 +26,17 @@
transform: rotate(360deg);
}
}
+
+@media (prefers-reduced-motion: no-preference) {
+ a:nth-of-type(2) .logo {
+ animation: logo-spin infinite 20s linear;
+ }
+}
+
+.card {
+ padding: 2em;
+}
+
+.read-the-docs {
+ color: #888;
+}