|
275 | 275 | background-color: #3F4F5A; |
276 | 276 | transform: translateY(-2px); |
277 | 277 | } |
| 278 | + .hacker-lang-section { |
| 279 | + max-width: 1200px; |
| 280 | + margin: 50px auto; |
| 281 | + padding: 30px; |
| 282 | + text-align: center; |
| 283 | + background-color: #2F3A44; |
| 284 | + border-radius: 10px; |
| 285 | + box-shadow: 0 4px 15px rgba(0,0,0,0.4); |
| 286 | + transition: transform 0.3s ease; |
| 287 | + } |
| 288 | + .hacker-lang-section:hover { |
| 289 | + transform: translateY(-5px); |
| 290 | + } |
| 291 | + .hacker-lang-section h2 { |
| 292 | + font-size: 32px; |
| 293 | + margin-bottom: 25px; |
| 294 | + color: #FFFFFF; |
| 295 | + text-shadow: 1px 1px 3px rgba(0,0,0,0.5); |
| 296 | + } |
| 297 | + .hacker-lang-section img { |
| 298 | + max-width: 100%; |
| 299 | + border-radius: 10px; |
| 300 | + margin-bottom: 20px; |
| 301 | + transition: transform 0.3s ease; |
| 302 | + } |
| 303 | + .hacker-lang-section img:hover { |
| 304 | + transform: scale(1.05); |
| 305 | + } |
| 306 | + .hacker-lang-section p { |
| 307 | + font-size: 18px; |
| 308 | + color: #B0B0B0; |
| 309 | + margin-bottom: 20px; |
| 310 | + max-width: 800px; |
| 311 | + margin-left: auto; |
| 312 | + margin-right: auto; |
| 313 | + } |
278 | 314 | @media (max-width: 768px) { |
279 | 315 | .gaming-section { |
280 | 316 | padding: 20px; |
|
289 | 325 | flex-direction: column; |
290 | 326 | align-items: center; |
291 | 327 | } |
| 328 | + .hacker-lang-section { |
| 329 | + padding: 20px; |
| 330 | + } |
| 331 | + .hacker-lang-section h2 { |
| 332 | + font-size: 26px; |
| 333 | + } |
| 334 | + .hacker-lang-section p { |
| 335 | + font-size: 16px; |
| 336 | + } |
292 | 337 | } |
293 | 338 | footer { |
294 | 339 | background-color: #121212; |
|
351 | 396 | gamingPs[0].innerHTML = 'Gaming on Windows games on HackerOS is possible thanks to a tool called Proton (90% of games work). Unfortunately, some online games, e.g., Fortnite, are blocked on Linux HackerOS. You can find more information on: <a href="https://www.protondb.com" target="_blank" class="protondb">ProtonDB</a>, <a href="https://areweanticheatyet.com" target="_blank" class="anticheat">Are We Anti-Cheat Yet?</a>.'; |
352 | 397 | gamingPs[1].textContent = 'By default, it uses the XanMod kernel.'; |
353 | 398 | gamingPs[2].innerHTML = 'You can see how HackerOS handles games: <a href="https://www.youtube.com/channel/UCwYT5jqUhZHoRhNKOrjKTrQ" target="_blank" class="youtube">YouTube</a>.'; |
| 399 | + document.querySelector('.hacker-lang-section h2').textContent = 'Hacker Programming Language'; |
| 400 | + document.querySelector('.hacker-lang-section p').textContent = 'HackerOS features its own scripting programming language called Hacker. To use this tool, simply run the command "hackerc".'; |
354 | 401 | } |
355 | 402 | const copyButtons = document.querySelectorAll('.copy-button'); |
356 | 403 | copyButtons.forEach(button => { |
@@ -470,6 +517,11 @@ <h2>Granie na HackerOS</h2> |
470 | 517 | <span>ProtonTricks</span> |
471 | 518 | </div> |
472 | 519 | </section> |
| 520 | + <section class="hacker-lang-section"> |
| 521 | + <h2>Język Programowania Hacker</h2> |
| 522 | + <p>HackerOS posiada własny skryptowy język programowania o nazwie Hacker. Aby korzystać z tego narzędzia, użyj komendy <span style="font-family: 'Courier New', Courier, monospace;">hackerc</span>.</p> |
| 523 | + <img src="hacker-lang-screenshot.png" alt="Hacker Language Screenshot"> |
| 524 | + </section> |
473 | 525 | <footer> |
474 | 526 | <p>© 2025 HackerOS. Wszelkie prawa zastrzeżone.</p> |
475 | 527 | </footer> |
|
0 commit comments