-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlot.css
108 lines (102 loc) · 2.38 KB
/
lot.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
form {
margin-top: 30px;
margin-right: auto;
margin-bottom: 10px;
margin-left: auto; /* center the form horizontally */
width: 50%; /* set a width for the form */
text-align: center; /* center the text within the form */
}
input[type="number"] {
width: 100%; /* make the input fields take up the full width of their container */
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 3px solid #ccc;
border-radius: 6px;
font-size: 16px;
}
button[type="button"] {
width: 100%; /* make the button take up the full width of its container */
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
@media (max-width: 600px) { /* apply these styles when the screen width is 600px or less */
form {
width: 90%; /* adjust the width of the form */
}
}
#calculate {
background-color: #4CAF50; /* Green */
border: none;
border-radius: 6px;
color: white;
padding: 15px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#lotSize {
font-size: 20px;
font-weight: bold;
width: 25%;
margin: 0 auto;
text-align: center;
padding: 16px;
background-color: #F8F8F8;
border: 3px solid #CCC;
border-radius: 4px;
margin-top: 5px;
}
#clear {
background-color: #f44336; /* Red */
border: none;
border-radius: 6px;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#pair {
width: 150px;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 3px solid #ccc;
border-radius: 6px;
}
label[for='pair'] {
margin-right: 20px;
font-weight: bold;
}
#risk {
font-size: 15px;
font-weight: bold;
width: 25%;
margin: 0 auto;
text-align: center;
padding: 16px;
background-color: #F8F8F8;
border: 3px solid #CCC;
border-radius: 4px;
margin-top: 15px;
}
#copyright {
position: absolute;
bottom: 0;
left: 0;
padding: 10px;
font-size: 12px;
}