transformered commited on
Commit
963228a
·
verified ·
1 Parent(s): a9b8b44

make dark theme more black not like rainbow

Browse files
Files changed (3) hide show
  1. components/navbar.js +6 -9
  2. index.html +7 -7
  3. style.css +4 -6
components/navbar.js CHANGED
@@ -11,9 +11,9 @@ class CustomNavbar extends HTMLElement {
11
  right: 0;
12
  z-index: 1000;
13
  backdrop-filter: blur(10px);
14
- background-color: rgba(2, 6, 23, 0.8);
15
- border-bottom: 1px solid rgba(6, 182, 212, 0.2);
16
- }
17
 
18
  nav {
19
  display: flex;
@@ -27,11 +27,8 @@ class CustomNavbar extends HTMLElement {
27
  .logo {
28
  font-size: 1.5rem;
29
  font-weight: 700;
30
- background: linear-gradient(to right, #ffffff, #cccccc);
31
- -webkit-background-clip: text;
32
- background-clip: text;
33
- color: transparent;
34
- }
35
 
36
  .nav-links {
37
  display: flex;
@@ -57,7 +54,7 @@ class CustomNavbar extends HTMLElement {
57
  left: 0;
58
  width: 0;
59
  height: 2px;
60
- background: linear-gradient(to right, #ffffff, #cccccc);
61
  transition: width 0.3s;
62
  }
63
 
 
11
  right: 0;
12
  z-index: 1000;
13
  backdrop-filter: blur(10px);
14
+ background-color: rgba(10, 10, 10, 0.9);
15
+ border-bottom: 1px solid rgba(59, 130, 246, 0.2);
16
+ }
17
 
18
  nav {
19
  display: flex;
 
27
  .logo {
28
  font-size: 1.5rem;
29
  font-weight: 700;
30
+ color: #3b82f6;
31
+ }
 
 
 
32
 
33
  .nav-links {
34
  display: flex;
 
54
  left: 0;
55
  width: 0;
56
  height: 2px;
57
+ background: #3b82f6;
58
  transition: width 0.3s;
59
  }
60
 
index.html CHANGED
@@ -22,7 +22,7 @@
22
  }
23
  </script>
24
  </head>
25
- <body class="bg-black text-gray-200">
26
  <custom-navbar></custom-navbar>
27
 
28
  <main>
@@ -111,8 +111,8 @@
111
  <i data-feather="arrow-down" class="w-12 h-12"></i>
112
  <div class="bg-purple-900/50 border-2 border-purple-400 rounded-2xl px-8 py-4 text-xl">شبکه ملی 4G/5G موجود</div>
113
  <i data-feather="arrow-down" class="w-12 h-12"></i>
114
- <div class="bg-gradient-to-r from-emerald-600 to-teal-600 rounded-2xl px-10 py-6 text-2xl font-bold text-white shadow-2xl shadow-teal-500/50">
115
- SCO Secure Gateway Layer
116
  </div>
117
  <i data-feather="arrow-down" class="w-12 h-12"></i>
118
  <div class="bg-gray-800/80 border border-gray-500 rounded-2xl px-8 py-4">Backend ملی + مدیریت کلید</div>
@@ -134,16 +134,16 @@
134
  <div>۱۰۰–۵۰۰ میلیون دلار/سال نگهداری</div>
135
  </div>
136
  </div>
137
- <div class="bg-gray-800 border border-gray-600 rounded-xl shadow-2xl p-8">
138
  <div class="flex items-center justify-center gap-3 mb-6">
139
  <i data-feather="zap" class="w-8 h-8 text-emerald-300"></i>
140
  <h3 class="text-2xl md:text-3xl text-white font-bold">راه‌حل پیشنهادی ما</h3>
141
  </div>
142
  <div class="space-y-6 text-2xl md:text-3xl font-bold text-center text-white">
143
- <div class="text-4xl md:text-5xl text-white">۱۳–۲۱ میلیون دلار</div>
144
- <div class="text-gray-300">۶–۱۲ ماه اجرا</div>
145
  <div>۷–۱۶ میلیون دلار/سال نگهداری</div>
146
- <span class="inline-block text-xl py-2 px-6 bg-gray-700 rounded-full">۹۹.۸٪ صرفه‌جویی</span>
147
  </div>
148
  </div>
149
  </div>
 
22
  }
23
  </script>
24
  </head>
25
+ <body class="bg-[#0a0a0a] text-gray-200">
26
  <custom-navbar></custom-navbar>
27
 
28
  <main>
 
111
  <i data-feather="arrow-down" class="w-12 h-12"></i>
112
  <div class="bg-purple-900/50 border-2 border-purple-400 rounded-2xl px-8 py-4 text-xl">شبکه ملی 4G/5G موجود</div>
113
  <i data-feather="arrow-down" class="w-12 h-12"></i>
114
+ <div class="bg-[#1e1e1e] border-2 border-[#3b82f6] rounded-2xl px-10 py-6 text-2xl font-bold text-white shadow-2xl shadow-blue-500/20">
115
+ SCO Secure Gateway Layer
116
  </div>
117
  <i data-feather="arrow-down" class="w-12 h-12"></i>
118
  <div class="bg-gray-800/80 border border-gray-500 rounded-2xl px-8 py-4">Backend ملی + مدیریت کلید</div>
 
134
  <div>۱۰۰–۵۰۰ میلیون دلار/سال نگهداری</div>
135
  </div>
136
  </div>
137
+ <div class="bg-[#1a1a1a] border border-[#3b82f6] rounded-xl shadow-2xl p-8">
138
  <div class="flex items-center justify-center gap-3 mb-6">
139
  <i data-feather="zap" class="w-8 h-8 text-emerald-300"></i>
140
  <h3 class="text-2xl md:text-3xl text-white font-bold">راه‌حل پیشنهادی ما</h3>
141
  </div>
142
  <div class="space-y-6 text-2xl md:text-3xl font-bold text-center text-white">
143
+ <div class="text-4xl md:text-5xl text-[#3b82f6]">۱۳–۲۱ میلیون دلار</div>
144
+ <div class="text-gray-300">۶–۱۲ ماه اجرا</div>
145
  <div>۷–۱۶ میلیون دلار/سال نگهداری</div>
146
+ <span class="inline-block text-xl py-2 px-6 bg-[#1e1e1e] border border-[#3b82f6] rounded-full">۹۹.۸٪ صرفه‌جویی</span>
147
  </div>
148
  </div>
149
  </div>
style.css CHANGED
@@ -1,13 +1,11 @@
1
 
2
  @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&display=swap');
3
-
4
  :root {
5
- --bg-color: #000000;
6
- --text-color: #f8f8f8;
7
- --border-color: #333333;
8
- --highlight-color: #06b6d4;
9
  }
10
-
11
  * {
12
  font-family: 'Vazirmatn', sans-serif;
13
  margin: 0;
 
1
 
2
  @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&display=swap');
 
3
  :root {
4
+ --bg-color: #0a0a0a;
5
+ --text-color: #e5e5e5;
6
+ --border-color: #262626;
7
+ --highlight-color: #3b82f6;
8
  }
 
9
  * {
10
  font-family: 'Vazirmatn', sans-serif;
11
  margin: 0;