-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
93 lines (82 loc) · 1.57 KB
/
index.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
body {
background-color: #f0f4f8;
font-family: Arial, sans-serif;
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.marq {
font-size: 2em;
color: #ffffff;
background-color: #4CAF50;
padding: 10px;
width: 100%;
text-align: center;
}
.main {
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 90%;
width: 300px;
text-align: center;
}
label {
font-weight: bold;
}
input[type="text"] {
width: 100%;
padding: 10px;
margin: 10px 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
h2 {
margin-top: 20px;
color: #4CAF50;
}
#asciiOutput {
background-color: #f1f1f1;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
margin-top: 10px;
word-wrap: break-word;
white-space: pre-wrap;
}
/* Responsive Design */
@media (min-width: 600px) {
.main {
width: 400px;
}
}
@media (min-width: 768px) {
.main {
width: 500px;
}
}
@media (min-width: 1024px) {
.main {
width: 600px;
}
}