-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
194 lines (172 loc) · 3.78 KB
/
style.css
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
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Courier New', monospace;
background-color: #000;
color: #00ff00;
margin: 0;
padding: 0;
}
#main {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: #111;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow-y: auto;
/* Allow scrolling if content overflows */
}
#heading {
text-align: center;
padding: 10px;
margin: 0;
color: #00ff00;
background-color: #111;
width: 100%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
position: sticky;
/* Keep the heading at the top of the view */
top: 0;
z-index: 100;
/* Ensure the heading is above other content */
}
.rotor-container {
display: flex;
justify-content: space-around;
align-items: center;
background-color: #222;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
margin-top: 20px;
width: 80%;
}
.rotor {
border: 1px solid #333;
padding: 20px;
text-align: center;
width: 30%;
border-radius: 10px;
background-color: #333;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.rotor select {
padding: 5px;
font-size: 16px;
margin: 10px 0;
width: 100%;
background-color: #111;
color: #00ff00;
border: 1px solid #333;
border-radius: 5px;
}
.rotor-sign {
font-size: 24px;
background-color: #333;
border: none;
border-radius: 50%;
padding: 8px 12px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
color: #00ff00;
}
.rotor-sign:hover {
background-color: #444;
}
.rotor-content {
font-size: 20px;
margin: 10px 0;
color: #00ff00;
}
.reflectorType {
text-align: center;
width: 100%;
color: #00ff00;
}
.pluboard {
display: flex;
flex-direction: column;
align-items: center;
color: #00ff00;
}
.pluboard input {
width: 80%;
padding: 10px;
font-family: 'Courier New', monospace;
font-size: 16px;
line-height: 1.4;
border: none;
border-radius: 10px;
resize: none;
background-color: #111;
color: #00ff00;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-top: 10px;
}
.text {
display: flex;
justify-content: space-around;
align-items: center;
padding: 20px;
background-color: #222;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
width: 80%;
margin-top: 20px;
}
.text textarea {
width: 100%;
padding: 15px;
font-family: 'Courier New', monospace;
font-size: 16px;
line-height: 1.4;
border: none;
border-radius: 10px;
resize: none;
background-color: #000;
color: #00ff00;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.text textarea:focus {
outline: none;
}
#main {
position: relative;
/* Change absolute to relative positioning */
padding-bottom: 50px;
/* Add padding to create space for the footer */
/* Rest of the styles */
}
/* Footer styles */
footer {
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
background-color: #111;
padding: 10px;
color: #00ff00;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
z-index: 100;
/* Ensure the footer is above other content */
}
.input-output {
display: flex;
align-items: stretch;
justify-content: space-between;
}
.input,
.output {
width: 48%;
/* Adjust as needed to leave space for padding and border */
}