-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
198 lines (173 loc) · 5.61 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About the Code Editor</title>
<link rel="icon" href="https://raw.githubusercontent.com/Optimize-Coding/LearnSoftware/main/img/favicon.png" type="image/x-icon">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<style>
/* General Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
color: #ffffff;
background: linear-gradient(to bottom, #001A33, #000000);
position: relative;
overflow-x: hidden;
}
/* Header */
header {
background-color: #00FF00; /* Set header background to green */
text-align: center;
padding: 50px 20px;
border-bottom: 2px solid #ffffff;
box-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
}
header h1 {
font-size: 3.5rem;
margin-bottom: 10px;
}
header p {
font-size: 1.2rem;
margin-bottom: 20px;
}
header select {
padding: 10px;
font-size: 1rem;
border: none;
border-radius: 5px;
background-color: #4B0082; /* Keep this color as is */
color: #ffffff;
cursor: pointer;
}
header select:hover {
background-color: #800080; /* Keep this color as is */
}
/* Starry Background */
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Starry_night_sky_background.jpg/800px-Starry_night_sky_background.jpg') repeat;
background-size: cover;
z-index: -1;
animation: starField 30s linear infinite;
}
@keyframes starField {
0% {
background-position: 0 0;
}
100% {
background-position: -500px 500px;
}
}
/* Container Styling */
.container {
max-width: 1200px;
margin: 50px auto;
padding: 30px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 15px;
box-shadow: 0 4px 25px rgba(255, 255, 255, 0.3);
}
.container h2 {
text-align: center;
margin-bottom: 20px;
font-size: 2rem;
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
/* Project Embed Styling */
.embed {
margin: 30px 0;
border-radius: 10px;
}
.embed h3 {
background-color: rgba(255,255,255,0.1);
padding: 15px;
margin: 0;
font-size: 1.5rem;
}
/* Footer */
footer {
text-align: center;
padding: 30px;
background-color: #00FF00; /* Set footer background to green */
color: #000000; /* Change text color for contrast */
border-top: 2px solid #ffffff;
box-shadow: 0 -2px 15px rgba(255,255,255,0.3);
}
footer a {
color: #000000; /* Change link color for contrast */
margin: 0 15px;
text-decoration: none;
font-size: 1.1rem;
}
footer a:hover {
color: #D8BFD8;
}
/* Code Section Styling */
.code-section {
margin-bottom: 20px;
}
.code {
width: 100%;
height: 150px;
padding: 10px;
border: 1px solid rgba(255,255,255,0.3); /* Softer border */
border-radius: 5px;
font-family: "Courier New", monospace;
background-color: rgba(50,50,50,0.8); /* Darker background for code area */
color: #ffffff;
line-height: 1.5; /* Increased line height */
}
/* Button Styling with Transition */
button {
padding: 10px 15px;
background-color: #00FF00; /* Default button color green */
color: #000000; /* Change text color for contrast */
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.5s ease-in-out; /* Transition effect */
}
button:hover {
background-color: #FF0000; /* Change to red on hover (optional) */
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
.container { padding: 10px; }
header h1 { font-size: 2.5rem; }
header p { font-size: 1rem; }
}
</style>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<img src="https://raw.githubusercontent.com/Optimize-Coding/LearnSoftware/main/img/logo.png" alt="Logo" style="width: 100px; height: auto; display: block; margin: 0 auto;">
<h1>About the Code Editor</h1>
<p>This live code editor allows users to write and test HTML, CSS, and JavaScript code in real-time. It provides a user-friendly interface where you can input your code and see the results instantly in the preview area.</p>
<h2>Features</h2>
<p>Our code editor includes the following functionalities:</p>
<ul>
<li><strong>Real-time Preview:</strong> See your code changes reflected immediately in the output area.</li>
<li><strong>Save and Load:</strong> Save your code snippets to local storage and load them back whenever needed.</li>
<li><strong>Download Options:</strong> Download your HTML, CSS, and JavaScript code as separate files.</li>
<li><strong>Responsive Design:</strong> The editor is designed to work on various devices, ensuring a seamless experience.</li>
</ul>
<h2>How to Use</h2>
<p>To use the code editor, simply enter your HTML, CSS, and JavaScript code in the respective text areas. Click the "Run Code" button to see the output in the preview section. You can save your work or download it for later use.</p>
<a href="index.html">Back to Home</a>
</div>
</body>
</html>