-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (87 loc) · 1.84 KB
/
style.css
File metadata and controls
99 lines (87 loc) · 1.84 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
margin: 0;
}
.container {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
text-align: center;
width: 300px;
overflow: hidden; /* Ensure container doesn't overflow */
}
h1 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
input {
margin: 5px 0;
padding: 10px;
width: calc(100% - 22px);
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
button {
padding: 10px 20px;
margin-top: 10px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
}
button:hover {
background-color: #0056b3;
}
button i {
margin-right: 5px;
}
.result, .history {
margin-top: 20px;
font-size: 18px;
color: #555;
}
.history {
max-height: 150px; /* Set max height for the history section */
overflow-y: auto; /* Enable vertical scroll */
border-top: 1px solid #ccc;
padding-top: 10px;
}
.history ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.history li {
display: flex;
justify-content: space-between;
align-items: center;
margin: 5px 0;
background-color: #f9f9f9;
padding: 10px;
border-radius: 4px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.history li button {
background-color: #dc3545;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
padding: 5px 10px;
}
.history li button:hover {
background-color: #c82333;
}