Skip to content

Commit ae1b36f

Browse files
authored
Merge pull request #6 from Dot-ser/main
Basic Changes
2 parents b5b45ad + e0614ab commit ae1b36f

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm install
1919
[![Heroku](https://img.shields.io/badge/Heroku-000000?style=for-the-badge&logo=heroku&logoColor=white)](https://heroku.com/deploy?template=https://github.com/IRON-M4N/MegaCDN)
2020

2121
#### Deploy on Vercel
22-
1. *[Create Verce Account](https://vercel.com/signup) If You Don't Have.*
22+
1. *[Create Vercel Account](https://vercel.com/signup) If You Don't Have.*
2323
2. *Deploy on Vercel.* <br>
2424
[![Vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FIRON-M4N%2FMegaCDN&env=MEGA_ACCOUNT,PORT&envDescription=provide%20multiple%20accounts%20in%20this%20format%20email%3Apass%3Bemail%3Apass%0Afor%20port%20use%203000%20or%20any)
2525

public/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>MegaCDN.mg</title>
7+
<meta name="description" content="A lightweight and serverless CDN utilizing MEGA for file storage and delivery.">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9+
<meta name="keywords" content="math, quiz, game, difficulty, levels, learning">
10+
<meta name="author" content="IRON-M4N">
11+
<link rel="icon" type="image/jpeg" href="https://cdn.ironman.my.id/i/6506j4.jpeg">
712
<link rel="stylesheet" href="styles.css">
813
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
914
</head>
@@ -12,7 +17,7 @@
1217
<div id="particles-js"></div>
1318
<header>
1419
<div class="logo">
15-
<i class="fa fa-cloud"></i> megaCDN.<span class="red-dot">mg</span>
20+
<i class="fa fa-cloud"></i> mega<span class="red-dot">CDN</span>
1621
</div>
1722
<div class="header-buttons">
1823
<a href="https://github.com/IRON-M4N/MegaCDN/" target="_blank" class="github-btn">

public/styles.css

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ header {
2525
justify-content: space-between;
2626
align-items: center;
2727
padding: 15px 20px;
28-
background: #1e1e1e;
29-
box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
3028
}
3129

3230
.logo {
@@ -44,10 +42,15 @@ header {
4442
flex: 1;
4543
}
4644
.awesome-container {
45+
width: 80%;
46+
max-width: 1200px;
47+
margin: 0 auto;
48+
padding: 20px;
4749
display: flex;
48-
justify-content: center;
49-
align-items: center;
50-
margin-top: 20px;
50+
flex-direction: column;
51+
align-items: center;
52+
justify-content: center;
53+
min-height: 50vh;
5154
}
5255
.upload-box {
5356
background: rgba(255, 255, 255, 0.1);
@@ -154,3 +157,25 @@ footer {
154157
box-shadow: 0 3px 8px rgba(255,255,255,0.1);
155158
}
156159

160+
/* Mobile Optimization */
161+
@media (max-width: 768px) {
162+
.middle-container {
163+
width: 95%;
164+
padding: 15px;
165+
min-height: auto;
166+
}
167+
168+
.upload-box{
169+
width:70%;
170+
margin-left: auto;
171+
margin-right: auto;
172+
}
173+
}
174+
175+
@media (max-width: 480px) {
176+
.middle-container {
177+
width: 100%;
178+
padding: 10px;
179+
text-align: center; /* Center text for better readability */
180+
}
181+
}

0 commit comments

Comments
 (0)