-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (117 loc) · 3.14 KB
/
style.css
File metadata and controls
133 lines (117 loc) · 3.14 KB
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
/* Body styling to allow scrolling */
body {
margin: 0;
padding: 0;
font-family: 'Courier New', Courier, monospace;
background: radial-gradient(circle, #0f0f0f, #000000);
color: #00ff88;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
/* Ensure the body height adapts to content */
overflow-y: auto;
/* Allow vertical scrolling */
overflow-x: hidden;
/* Prevent horizontal scrolling */
}
/* Adjust h1 position */
h1 {
font-size: 3.5rem;
margin: 20px auto;
color: #00ff88;
text-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
animation: hacking-glow 2s infinite alternate;
text-align: center;
position: sticky;
/* Keeps the heading visible when scrolling */
top: 0;
/* Sticks to the top of the viewport */
background: rgba(0, 0, 0, 0.9);
/* Optional: Adds a background to the heading for better contrast */
padding: 10px 0;
z-index: 100;
/* Ensures heading is on top */
}
@keyframes hacking-glow {
from {
text-shadow: 0 0 7px #00ff88, 0 0 20px #00ff88;
}
to {
text-shadow: 0 0 15px #00ff88, 0 0 40px #00ff88;
}
}
.container {
width: 90%;
max-width: 700px;
background: rgba(0, 0, 0, 0.8);
border: 4px solid #00ff88;
/* Increased border thickness */
border-radius: 10px;
box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
/* Enhanced shadow for better emphasis */
padding: 30px;
/* Added more padding to give the text some breathing room */
display: flex;
flex-direction: column;
justify-content: space-between;
}
textarea {
width: 95%;
height: 92%;
background: rgba(0, 0, 0, 0.9);
border: 2px solid #00ff88;
border-radius: 8px;
color: #00ff88;
font-size: 1rem;
font-family: 'Courier New', Courier, monospace;
padding: 15px;
resize: none;
outline: none;
box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
transition: all 0.3s ease-in-out;
}
textarea:focus {
box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
border-color: #00ff88;
}
textarea::placeholder {
color: rgba(0, 255, 136, 0.5);
}
button {
width: 100%;
padding: 12px;
font-size: 1.1rem;
font-weight: bold;
color: #000000;
background: linear-gradient(90deg, #00ff88, #007755);
border: 2px solid #00ff88;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}
button:hover {
background: linear-gradient(90deg, #007755, #00ff88);
box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
transform: translateY(-2px);
}
button:active {
transform: translateY(2px);
box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}
/* Scrollbar Styling */
textarea::-webkit-scrollbar {
width: 8px;
}
textarea::-webkit-scrollbar-track {
background: #0f0f0f;
}
textarea::-webkit-scrollbar-thumb {
background: #00ff88;
border-radius: 8px;
}
textarea::-webkit-scrollbar-thumb:hover {
background: #007755;
}