|
11 | 11 | box-sizing: border-box; |
12 | 12 | font-family: 'Arial', sans-serif; |
13 | 13 | } |
14 | | - |
15 | 14 | body { |
16 | 15 | background-color: #1C2526; |
17 | 16 | color: #FFFFFF; |
18 | 17 | line-height: 1.6; |
19 | 18 | } |
20 | | - |
21 | 19 | header { |
22 | 20 | background-color: #121212; |
23 | 21 | padding: 20px 0; |
24 | 22 | position: fixed; |
25 | 23 | width: 100%; |
26 | 24 | top: 0; |
27 | 25 | z-index: 1000; |
28 | | - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); |
| 26 | + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); |
| 27 | + transition: background-color 0.3s ease; |
| 28 | + } |
| 29 | + header:hover { |
| 30 | + background-color: #1A1A1A; |
29 | 31 | } |
30 | | - |
31 | 32 | nav { |
32 | 33 | max-width: 1200px; |
33 | 34 | margin: 0 auto; |
34 | 35 | display: flex; |
35 | 36 | justify-content: space-between; |
36 | 37 | align-items: center; |
37 | 38 | } |
38 | | - |
39 | | - nav .logo { |
40 | | - font-size: 24px; |
41 | | - font-weight: bold; |
42 | | - color: #FFFFFF; |
| 39 | + nav .logo img { |
| 40 | + height: 40px; |
| 41 | + width: auto; |
43 | 42 | } |
44 | | - |
45 | 43 | nav ul { |
46 | 44 | list-style: none; |
47 | 45 | display: flex; |
48 | | - gap: 20px; |
| 46 | + gap: 25px; |
49 | 47 | } |
50 | | - |
51 | 48 | nav ul li a { |
52 | 49 | color: #FFFFFF; |
53 | 50 | text-decoration: none; |
54 | 51 | font-size: 18px; |
55 | | - transition: color 0.3s; |
| 52 | + transition: color 0.3s, transform 0.3s; |
| 53 | + position: relative; |
| 54 | + } |
| 55 | + nav ul li a::after { |
| 56 | + content: ''; |
| 57 | + position: absolute; |
| 58 | + width: 0; |
| 59 | + height: 2px; |
| 60 | + bottom: -5px; |
| 61 | + left: 0; |
| 62 | + background-color: #B0B0B0; |
| 63 | + transition: width 0.3s; |
| 64 | + } |
| 65 | + nav ul li a:hover::after { |
| 66 | + width: 100%; |
56 | 67 | } |
57 | | - |
58 | 68 | nav ul li a:hover { |
59 | 69 | color: #B0B0B0; |
| 70 | + transform: translateY(-2px); |
60 | 71 | } |
61 | | - |
62 | 72 | .hero { |
63 | 73 | height: 100vh; |
64 | 74 | display: flex; |
65 | 75 | justify-content: center; |
66 | 76 | align-items: center; |
67 | 77 | text-align: center; |
68 | 78 | background: linear-gradient(45deg, #1C2526, #2F3A44); |
| 79 | + position: relative; |
| 80 | + overflow: hidden; |
| 81 | + } |
| 82 | + .hero::before { |
| 83 | + content: ''; |
| 84 | + position: absolute; |
| 85 | + top: 0; |
| 86 | + left: 0; |
| 87 | + width: 100%; |
| 88 | + height: 100%; |
| 89 | + background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.5) 100%); |
| 90 | + z-index: -1; |
69 | 91 | } |
70 | | - |
71 | 92 | .hero-content h1 { |
72 | 93 | font-size: 48px; |
73 | 94 | margin-bottom: 20px; |
74 | 95 | color: #FFFFFF; |
| 96 | + text-shadow: 2px 2px 4px rgba(0,0,0,0.5); |
75 | 97 | } |
76 | | - |
77 | 98 | .hero-content p { |
78 | 99 | font-size: 20px; |
79 | 100 | margin-bottom: 30px; |
80 | 101 | color: #B0B0B0; |
81 | 102 | } |
82 | | - |
83 | 103 | .btn { |
84 | 104 | display: inline-block; |
85 | 105 | padding: 12px 24px; |
|
88 | 108 | text-decoration: none; |
89 | 109 | border-radius: 5px; |
90 | 110 | font-weight: bold; |
91 | | - transition: background-color 0.3s, transform 0.3s; |
| 111 | + transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; |
92 | 112 | } |
93 | | - |
94 | 113 | .btn:hover { |
95 | 114 | background-color: #FFFFFF; |
96 | 115 | transform: scale(1.05); |
| 116 | + box-shadow: 0 4px 10px rgba(255,255,255,0.2); |
97 | 117 | } |
98 | | - |
99 | 118 | footer { |
100 | 119 | background-color: #121212; |
101 | 120 | padding: 20px; |
|
104 | 123 | position: relative; |
105 | 124 | bottom: 0; |
106 | 125 | width: 100%; |
| 126 | + box-shadow: 0 -2px 5px rgba(0,0,0,0.5); |
107 | 127 | } |
108 | 128 | </style> |
| 129 | + <script> |
| 130 | + // Language detection |
| 131 | + document.addEventListener('DOMContentLoaded', () => { |
| 132 | + const userLang = navigator.language || navigator.userLanguage; |
| 133 | + if (userLang.startsWith('pl')) { |
| 134 | + document.documentElement.lang = 'pl'; |
| 135 | + // Polish content (already set) |
| 136 | + } else { |
| 137 | + document.documentElement.lang = 'en'; |
| 138 | + // Switch to English |
| 139 | + document.querySelector('.hero-content h1').textContent = 'Welcome to HackerOS'; |
| 140 | + document.querySelector('.hero-content p').textContent = 'A powerful, Debian-based operating system designed for enthusiasts and professionals.'; |
| 141 | + document.querySelector('footer p').textContent = '© 2025 HackerOS. All rights reserved.'; |
| 142 | + } |
| 143 | + }); |
| 144 | + </script> |
109 | 145 | </head> |
110 | 146 | <body> |
111 | 147 | <header> |
112 | 148 | <nav> |
113 | | - <div class="logo">HackerOS</div> |
| 149 | + <div class="logo"><img src="HackerOS.png" alt="HackerOS Logo"></div> |
114 | 150 | <ul> |
115 | 151 | <li><a href="Home-page.html">Home</a></li> |
116 | 152 | <li><a href="download.html">Download</a></li> |
117 | 153 | <li><a href="releases.html">Releases</a></li> |
118 | 154 | <li><a href="about-hackeros.html">About HackerOS</a></li> |
119 | 155 | <li><a href="hackeros-team.html">HackerOS Team</a></li> |
| 156 | + <li><a href="write-to-us.html">Write to Us</a></li> |
120 | 157 | </ul> |
121 | 158 | </nav> |
122 | 159 | </header> |
123 | | - |
124 | 160 | <section class="hero"> |
125 | 161 | <div class="hero-content"> |
126 | | - <h1>Welcome to HackerOS</h1> |
127 | | - <p>A powerful, Debian-based operating system designed for enthusiasts and professionals.</p> |
128 | | - <a href="download.html" class="btn">Download Now</a> |
| 162 | + <h1>Witaj w HackerOS</h1> |
| 163 | + <p>Potężny system operacyjny oparty na Debianie, zaprojektowany dla entuzjastów i profesjonalistów.</p> |
| 164 | + <a href="download.html" class="btn">Pobierz Teraz</a> |
129 | 165 | </div> |
130 | 166 | </section> |
131 | | - |
132 | 167 | <footer> |
133 | | - <p>© 2025 HackerOS. All rights reserved.</p> |
| 168 | + <p>© 2025 HackerOS. Wszelkie prawa zastrzeżone.</p> |
134 | 169 | </footer> |
135 | 170 | </body> |
136 | 171 | </html> |
0 commit comments