-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
182 lines (160 loc) · 3.97 KB
/
style.css
File metadata and controls
182 lines (160 loc) · 3.97 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
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
/* General Styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #121212;
color: #e0e0e0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
/* Container for central alignment */
.container {
width: 90%;
max-width: 800px;
margin: 20px auto;
padding: 20px;
background: #1e1e1e;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
box-sizing: border-box;
}
/* Heading */
h1 {
color: #ffffff;
text-align: center;
margin-bottom: 20px;
font-size: 2rem; /* Increased font size for better visibility */
}
/* Form Styles */
form {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Three columns layout for larger screens */
gap: 15px; /* Space between elements */
padding: 10px;
border-radius: 8px;
background: #2c2c2c;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
box-sizing: border-box; /* Ensure padding is included in width */
}
/* Form Groups */
.form-group {
display: flex;
flex-direction: column;
}
/* Form Elements */
label {
margin-bottom: 5px;
color: #b0b0b0;
font-weight: 500;
}
input[type="text"],
input[type="number"] {
padding: 12px; /* Increased padding for better touch target */
border: 1px solid #333;
border-radius: 4px;
background: #333;
color: #e0e0e0;
font-size: 1rem; /* Adjusted font size */
width: 100%;
box-sizing: border-box;
}
/* Button Group */
.button-group {
grid-column: span 3; /* Span across full width */
display: flex;
justify-content: center;
margin-top: 10px;
}
button {
background: #28a745;
color: #fff;
border: none;
padding: 14px 20px; /* Increased padding */
border-radius: 4px;
cursor: pointer;
font-size: 1rem; /* Adjusted font size */
transition: background 0.3s ease;
}
button:hover {
background: #218838;
}
/* Response Message */
#responseMessage {
color: #28a745;
text-align: center;
font-size: 1.1rem; /* Slightly larger font size */
margin: 15px 0;
}
/* Contract Logs */
#contractLogs {
margin-top: 20px;
padding: 15px; /* Increased padding */
background: #2c2c2c;
border-radius: 8px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
width: 100%;
box-sizing: border-box;
}
#contractLogs a {
color: #4a90e2;
text-decoration: none;
display: block;
margin: 5px 0;
font-size: 1rem; /* Adjusted font size */
transition: color 0.3s ease;
}
#contractLogs a:hover {
color: #357abd;
}
/* Contract Details */
#contractDetails {
background: #2c2c2c;
padding: 15px;
border-radius: 8px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
margin: 20px 0;
}
#contractDetails p {
margin: 5px 0;
font-size: 1rem; /* Adjusted font size */
}
/* Download Button */
#downloadButton {
background: #007bff;
color: #fff;
border: none;
padding: 14px 20px; /* Increased padding */
border-radius: 4px;
cursor: pointer;
font-size: 1rem; /* Adjusted font size */
transition: background 0.3s ease;
}
#downloadButton:hover {
background: #0056b3;
}
/* Responsive Styles */
@media (max-width: 768px) {
form {
grid-template-columns: 1fr; /* Single column layout for small screens */
gap: 10px; /* Reduced gap for smaller screens */
}
h1 {
font-size: 1.5rem; /* Adjusted font size */
}
button {
font-size: 0.9rem;
padding: 12px 16px; /* Adjusted padding */
}
.form-group {
margin-bottom: 10px; /* Added margin to ensure space between form groups */
}
input[type="text"],
input[type="number"] {
font-size: 0.9rem; /* Adjusted font size for input fields */
}
}