Skip to content

Commit 58abad8

Browse files
committed
Update website
1 parent 75bf433 commit 58abad8

File tree

2 files changed

+51
-44
lines changed

2 files changed

+51
-44
lines changed

docs/css/styles.css

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
* {
2-
all: unset !important;
3-
box-sizing: border-box !important;
4-
}
5-
61
html, body {
72
height: 100%;
8-
margin: 0;
9-
padding: 0;
103
}
114

125
body {
13-
margin: 0;
146
font-family: 'Poppins', sans-serif;
157
background: linear-gradient(135deg, #2f0057 0%, #4b0082 50%, #8a2be2 100%);
16-
background: #4b0082; /* Fallback for older browsers */
8+
background: #4b0082; /* Fallback */
179
color: #ffffff;
1810
min-height: 100vh;
1911
overflow-x: hidden;
@@ -25,7 +17,7 @@ body {
2517
max-width: 900px;
2618
width: 90%;
2719
margin: 0 auto;
28-
padding: 40px 20px;
20+
/* padding: 40px 20px; */
2921
flex: 1;
3022
}
3123

@@ -60,7 +52,7 @@ p {
6052
border-radius: 50px;
6153
transition: transform 0.3s ease, box-shadow 0.3s ease;
6254
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
63-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* iPhone touch fix */
55+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
6456
}
6557

6658
.btn:hover {
@@ -69,7 +61,7 @@ p {
6961
}
7062

7163
.btn:active {
72-
transform: scale(0.95); /* Better touch feedback */
64+
transform: scale(0.95);
7365
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
7466
}
7567

@@ -78,6 +70,7 @@ p {
7870
padding: 20px;
7971
border-radius: 15px;
8072
margin-bottom: 40px;
73+
-webkit-backdrop-filter: blur(12px); /* Safari support */
8174
backdrop-filter: blur(12px);
8275
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
8376
}
@@ -99,6 +92,7 @@ p {
9992
border-radius: 15px;
10093
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
10194
transition: transform 0.3s ease;
95+
-webkit-backdrop-filter: blur(12px); /* Safari support */
10296
backdrop-filter: blur(12px);
10397
}
10498

@@ -120,7 +114,6 @@ footer {
120114
box-sizing: border-box;
121115
color: #fff;
122116
margin-top: auto;
123-
position: relative;
124117
}
125118

126119
footer a {
@@ -132,10 +125,10 @@ footer a:hover {
132125
text-decoration: underline;
133126
}
134127

135-
/* Fallback for browsers that don’t support backdrop-filter (e.g., some Safari versions) */
128+
/* Fallback for browsers without backdrop-filter support */
136129
@supports not (backdrop-filter: blur(12px)) {
137130
.about, .feature-card {
138-
background: rgba(25, 0, 46, 0.8); /* Solid fallback */
131+
background: rgba(25, 0, 46, 0.8);
139132
}
140133
}
141134

@@ -158,11 +151,11 @@ footer a:hover {
158151
padding: 20px 10px;
159152
}
160153
.features {
161-
grid-template-columns: 1fr; /* Single column */
154+
grid-template-columns: 1fr;
162155
}
163156
}
164157

165-
/* Extra tweak for narrow iPhone screens (e.g., 375px or less) */
158+
/* Narrow screens (e.g., iPhone SE) */
166159
@media (max-width: 400px) {
167160
h1 {
168161
font-size: 2.2em;

docs/index.html

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<meta charset="UTF-8">
45
<!-- Google tag (gtag.js) -->
56
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QY5L70VTTG"></script>
67
<script>
@@ -10,7 +11,6 @@
1011
gtag('config', 'G-QY5L70VTTG');
1112
</script>
1213

13-
<meta charset="UTF-8">
1414
<meta name="language" content="en">
1515
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1616
<meta name="description" content="ErScripts - Safe, powerful scripts for Counter-Strike 2. Enhance your gameplay without memory interaction or injections. Valve-server friendly.">
@@ -20,35 +20,41 @@
2020

2121
<!-- Security -->
2222
<meta name="referrer" content="strict-origin-when-cross-origin">
23-
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://www.googletagmanager.com; style-src 'self' https://fonts.googleapis.com;">
23+
<meta http-equiv="Content-Security-Policy" content="
24+
default-src 'self';
25+
script-src 'self' https://www.googletagmanager.com;
26+
style-src 'self' https://fonts.googleapis.com;
27+
font-src https://fonts.gstatic.com;
28+
img-src 'self';
29+
connect-src 'self' https://www.google-analytics.com;
30+
frame-ancestors 'self';
31+
">
2432

2533
<!-- Performance -->
2634
<meta name="theme-color" content="#4b0082">
2735

2836
<!-- Apple -->
29-
<meta name="apple-mobile-web-app-capable" content="yes">
37+
<meta name="mobile-web-app-capable" content="yes">
3038
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
3139

3240
<!-- Open Graph / Facebook -->
3341
<meta property="og:type" content="website">
3442
<meta property="og:url" content="https://emp0ry.github.io/ErScripts/">
3543
<meta property="og:title" content="ErScripts - Safe and Powerful Scripts for Counter-Strike 2">
3644
<meta property="og:description" content="Safe, powerful scripts for Counter-Strike 2. Enhance your gameplay without memory interaction or injections.">
37-
<!-- <meta property="og:image" content="https://raw.githubusercontent.com/emp0ry/ErScripts/refs/heads/master/ErScripts/erscripts.ico"> -->
3845
<meta property="og:site_name" content="ErScripts">
3946

4047
<!-- Twitter -->
4148
<meta name="twitter:card" content="summary_large_image">
4249
<meta name="twitter:url" content="https://emp0ry.github.io/ErScripts/">
4350
<meta name="twitter:title" content="ErScripts - Safe and Powerful Scripts for Counter-Strike 2">
4451
<meta name="twitter:description" content="Safe, powerful scripts for Counter-Strike 2. Enhance your gameplay without memory interaction or injections.">
45-
<!-- <meta name="twitter:image" content="https://raw.githubusercontent.com/emp0ry/ErScripts/refs/heads/master/ErScripts/erscripts.ico"> -->
4652

4753
<!-- Canonical URL -->
4854
<link rel="canonical" href="https://emp0ry.github.io/ErScripts/">
4955

50-
<!-- Favicon -->
51-
<link rel="icon" type="image/x-icon" href="https://raw.githubusercontent.com/emp0ry/ErScripts/refs/heads/master/ErScripts/erscripts.ico">
56+
<!-- Favicon (assumes erscripts.ico is in repo root) -->
57+
<link rel="icon" type="image/x-icon" href="/erscripts.ico">
5258

5359
<!-- Google Fonts: Poppins -->
5460
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
@@ -74,30 +80,38 @@
7480
</script>
7581
</head>
7682
<body>
77-
<div class="container">
78-
<h1>ErScripts</h1>
79-
<div class="about">
83+
<header>
84+
<div class="container">
85+
<h1>ErScripts</h1>
86+
</div>
87+
</header>
88+
89+
<main class="container">
90+
<section class="about">
8091
<p><strong>ErScripts</strong> is a collection of scripts for <strong>Counter-Strike 2</strong>. No memory interaction or injections—fully safe for Valve servers.</p>
8192
<a href="https://github.com/emp0ry/ErScripts" class="btn" aria-label="Visit the ErScripts repository on GitHub">Visit the Repository</a>
82-
<a href="/" class="btn back-to-hub" aria-label="Back to emp0ry's Hub">Back to Hub</a>
83-
</div>
93+
<a href="https://emp0ry.github.io/" class="btn back-to-hub" aria-label="Back to emp0ry's Hub">Back to Hub</a>
94+
</section>
8495

85-
<h2>Featured Scripts</h2>
86-
<div class="features">
87-
<div class="feature-card">
88-
<h3>Automation Tools</h3>
89-
<p>Streamline repetitive tasks to save time and effort.</p>
96+
<section>
97+
<h2>Featured Scripts</h2>
98+
<div class="features">
99+
<div class="feature-card">
100+
<h3>Automation Tools</h3>
101+
<p>Streamline repetitive tasks to save time and effort.</p>
102+
</div>
103+
<div class="feature-card">
104+
<h3>Utility Helpers</h3>
105+
<p>Small, powerful tools to boost your gaming experience.</p>
106+
</div>
107+
<div class="feature-card">
108+
<h3>Custom Solutions</h3>
109+
<p>Tailored scripts for unique CS2 challenges.</p>
110+
</div>
90111
</div>
91-
<div class="feature-card">
92-
<h3>Utility Helpers</h3>
93-
<p>Small, powerful tools to boost your gaming experience.</p>
94-
</div>
95-
<div class="feature-card">
96-
<h3>Custom Solutions</h3>
97-
<p>Tailored scripts for unique CS2 challenges.</p>
98-
</div>
99-
</div>
100-
</div>
112+
</section>
113+
</main>
114+
101115
<footer>
102116
<p>© 2025 <a href="https://github.com/emp0ry/" aria-label="Visit emp0ry's GitHub profile">emp0ry</a></p>
103117
</footer>

0 commit comments

Comments
 (0)