summaryrefslogtreecommitdiff
path: root/web_page/webpage-shorlink/src/App.css
diff options
context:
space:
mode:
authorleo <azuminha1@gmail.co>2025-10-20 03:56:20 -0300
committerleo <azuminha1@gmail.co>2025-10-20 03:56:20 -0300
commit05ac71d4b76dc10d56301ce58858fd90eeb1fe82 (patch)
tree2e733a00eb4535ca6d6451fdbc96ad16e2e856bb /web_page/webpage-shorlink/src/App.css
parent3a78df7d613c61bf74a43ec023af23b47c9b5635 (diff)
moved from go to react, and added a better cssHEADmaster
Diffstat (limited to 'web_page/webpage-shorlink/src/App.css')
-rw-r--r--web_page/webpage-shorlink/src/App.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/web_page/webpage-shorlink/src/App.css b/web_page/webpage-shorlink/src/App.css
new file mode 100644
index 0000000..b9d355d
--- /dev/null
+++ b/web_page/webpage-shorlink/src/App.css
@@ -0,0 +1,42 @@
+#root {
+ max-width: 1280px;
+ margin: 0 auto;
+ padding: 2rem;
+ text-align: center;
+}
+
+.logo {
+ height: 6em;
+ padding: 1.5em;
+ will-change: filter;
+ transition: filter 300ms;
+}
+.logo:hover {
+ filter: drop-shadow(0 0 2em #646cffaa);
+}
+.logo.react:hover {
+ filter: drop-shadow(0 0 2em #61dafbaa);
+}
+
+@keyframes logo-spin {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ 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;
+}