summaryrefslogtreecommitdiff
path: root/chart/index.html
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-03-04 22:57:03 +0100
committerYuval Adam <_@yuv.al>2025-03-04 22:57:03 +0100
commit7594c37f28cdaf58a718d2e981000cb2a3a3e7e5 (patch)
treeb237cd8a15433c981279bec2150482de11799d73 /chart/index.html
parent812a1f0c307f23922e939107018191c39b770e24 (diff)
Split styles and redesign
Diffstat (limited to 'chart/index.html')
-rw-r--r--chart/index.html146
1 files changed, 8 insertions, 138 deletions
diff --git a/chart/index.html b/chart/index.html
index e85d2b5..3059b2f 100644
--- a/chart/index.html
+++ b/chart/index.html
@@ -18,144 +18,14 @@
<meta name="theme-color" content="#2c3e50">
<script src="https://cdn.usefathom.com/script.js" data-site="NEBPAKSA" defer></script>
<script src="https://cwjs.mastercw.com/cw.min.js"></script>
-
- <style>
- body {
- font-family: 'Fredoka One', 'Baloo', 'Arial Rounded MT Bold', sans-serif;
- margin: 0;
- padding: 0;
- background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
- color: white;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: 20px;
- }
-
- .container {
- max-width: 800px;
- margin: 0 auto;
- padding: 20px;
- text-align: center;
- }
-
- h1 {
- font-size: 48px;
- margin-bottom: 20px;
- color: #f39c12;
- text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3),
- 0 0 15px rgba(243, 156, 18, 0.5);
- }
-
- h2 {
- font-size: 32px;
- margin: 30px 0 15px;
- color: #3498db;
- text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2),
- 0 0 10px rgba(52, 152, 219, 0.4);
- }
-
- .chart-section {
- background-color: rgba(255, 255, 255, 0.1);
- border-radius: 15px;
- padding: 20px;
- margin-bottom: 30px;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
- }
-
- .morse-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
- gap: 15px;
- margin: 0 auto;
- }
-
- .morse-item {
- background-color: rgba(52, 152, 219, 0.2);
- border-radius: 10px;
- padding: 15px 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
- transition: transform 0.2s, box-shadow 0.2s;
- cursor: pointer;
- }
-
- .morse-item:hover {
- transform: translateY(-3px);
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- background-color: rgba(52, 152, 219, 0.3);
- }
-
- .morse-item.playing {
- background-color: rgba(243, 156, 18, 0.3);
- box-shadow: 0 0 15px rgba(243, 156, 18, 0.5);
- }
-
- .character {
- font-size: 28px;
- font-weight: bold;
- margin-bottom: 8px;
- }
-
- .morse {
- font-family: monospace;
- font-size: 18px;
- letter-spacing: 2px;
- }
-
- .back-link {
- margin-top: 30px;
- font-size: 18px;
- }
-
- .back-link a {
- color: #3498db;
- text-decoration: none;
- transition: color 0.3s;
- }
-
- .back-link a:hover {
- color: #f39c12;
- text-decoration: underline;
- }
-
- .title-link {
- color: inherit;
- text-decoration: none;
- transition: color 0.3s;
- }
-
- .title-link:hover {
- color: #3498db;
- text-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
- }
-
- .footer {
- margin-top: 30px;
- padding: 15px;
- text-align: center;
- font-family: Arial, sans-serif;
- font-size: 14px;
- color: rgba(255, 255, 255, 0.7);
- width: 100%;
- }
-
- .footer a {
- color: #3498db;
- text-decoration: none;
- font-weight: bold;
- transition: color 0.3s;
- }
-
- .footer a:hover {
- color: #4aa3df;
- text-decoration: underline;
- }
- </style>
+
+ <!-- Google Fonts -->
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
+
+ <!-- Main Stylesheet -->
+ <link rel="stylesheet" href="styles.css">
</head>
<body>