|
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 | .about-section { |
63 | 73 | max-width: 1200px; |
64 | 74 | margin: 120px auto 50px; |
65 | 75 | padding: 20px; |
66 | 76 | text-align: center; |
| 77 | + background-color: #2F3A44; |
| 78 | + border-radius: 10px; |
| 79 | + box-shadow: 0 4px 10px rgba(0,0,0,0.3); |
67 | 80 | } |
68 | | - |
69 | 81 | .about-section h1 { |
70 | 82 | font-size: 36px; |
71 | 83 | margin-bottom: 20px; |
| 84 | + text-shadow: 2px 2px 4px rgba(0,0,0,0.5); |
72 | 85 | } |
73 | | - |
74 | 86 | .about-section p { |
75 | 87 | font-size: 18px; |
76 | 88 | color: #B0B0B0; |
77 | 89 | margin-bottom: 20px; |
78 | 90 | } |
79 | | - |
80 | 91 | footer { |
81 | 92 | background-color: #121212; |
82 | 93 | padding: 20px; |
|
85 | 96 | position: relative; |
86 | 97 | bottom: 0; |
87 | 98 | width: 100%; |
| 99 | + box-shadow: 0 -2px 5px rgba(0,0,0,0.5); |
88 | 100 | } |
89 | 101 | </style> |
| 102 | + <script> |
| 103 | + document.addEventListener('DOMContentLoaded', () => { |
| 104 | + const userLang = navigator.language || navigator.userLanguage; |
| 105 | + if (userLang.startsWith('pl')) { |
| 106 | + document.documentElement.lang = 'pl'; |
| 107 | + } else { |
| 108 | + document.documentElement.lang = 'en'; |
| 109 | + document.querySelector('.about-section h1').textContent = 'About HackerOS'; |
| 110 | + const ps = document.querySelectorAll('.about-section p'); |
| 111 | + ps[0].textContent = 'HackerOS is based on Debian Testing distribution, uses xanmod lts kernel and is intended for regular users, gamers and cybersecurity enthusiasts.'; |
| 112 | + ps[1].textContent = 'Our mission is to create an efficient and user-friendly environment for exploring the world of technology, security and games.'; |
| 113 | + document.querySelector('footer p').textContent = '© 2025 HackerOS. All rights reserved.'; |
| 114 | + } |
| 115 | + }); |
| 116 | + </script> |
90 | 117 | </head> |
91 | 118 | <body> |
92 | 119 | <header> |
93 | 120 | <nav> |
94 | | - <div class="logo">HackerOS</div> |
| 121 | + <div class="logo"><img src="HackerOS.png" alt="HackerOS Logo"></div> |
95 | 122 | <ul> |
96 | 123 | <li><a href="Home-page.html">Home</a></li> |
97 | 124 | <li><a href="download.html">Download</a></li> |
98 | 125 | <li><a href="releases.html">Releases</a></li> |
99 | 126 | <li><a href="about-hackeros.html">About HackerOS</a></li> |
100 | 127 | <li><a href="hackeros-team.html">HackerOS Team</a></li> |
| 128 | + <li><a href="write-to-us.html">Write to Us</a></li> |
101 | 129 | </ul> |
102 | 130 | </nav> |
103 | 131 | </header> |
104 | | - |
105 | 132 | <section class="about-section"> |
106 | | - <h1>About HackerOS</h1> |
| 133 | + <h1>O HackerOS</h1> |
107 | 134 | <p>HackerOS bazuje na dystrybucji Debian Testing, wykorzystuje jądro xanmod lts i jest przeznaczony dla zwykłych użytkowników, graczy i entuzjastów cyberbezpieczeństwa.</p> |
108 | 135 | <p>Naszą misją jest stworzenie wydajnego i przyjaznego użytkownikowi środowiska do eksploracji świata technologii, bezpieczeństwa i gier.</p> |
109 | 136 | </section> |
110 | | - |
111 | 137 | <footer> |
112 | | - <p>© 2025 HackerOS. All rights reserved.</p> |
| 138 | + <p>© 2025 HackerOS. Wszelkie prawa zastrzeżone.</p> |
113 | 139 | </footer> |
114 | 140 | </body> |
115 | 141 | </html> |
0 commit comments