-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (93 loc) · 1.93 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
h1 {
text-align: center;
font-family: "Helvetica Neue", sans-serif;
font-size: 36px;
font-weight: bold;
margin-top: 30px;
}
table {
border-collapse: collapse;
margin: 0 auto 20px;
width: 90%;
}
th, td {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
th {
background-color: #4CAF50;
color: white;
}
tr:hover {
background-color: #ddd;
}
tr, th, td {
border-bottom: 1px solid #ddd;
}
#inputNumber {
display: block;
margin: 0 auto 10px;
border: none;
text-align: center;
border-bottom: 2px solid #ddd;
font-size: 16px;
padding: 4px 8px;
outline: none;
transition: border-color 0.2s ease-in-out;
}
#inputNumber:focus {
border-color: #4CAF50;
}
#submit {
display: block;
margin: 0 auto 20px;
padding: 10px 20px;
background-color: #1c441d;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
#submit:hover {
background-color: #3e8e41;
}
/* Styles for screens with a width of 400 or more */
@media screen and (max-width: 400px) {
table {
width: 95%;
}
}
/* Styles for screens with a width of 600px or more */
@media screen and (min-width: 600px) {
table {
width: 90%;
}
}
/* Styles for screens with a width of 900px or more */
@media screen and (min-width: 900px) {
table {
width: 70%;
}
}
/* Styles for screens with a width of 1200px or more */
@media screen and (min-width: 1200px) {
table {
width: 65%;
}
}
/* Styles for screens with a width of 1600px or more */
@media screen and (min-width: 1600px) {
table {
width: 60%;
}
}
/* Styles for screens with a width of 2000px or more */
@media screen and (min-width: 2000px) {
table {
width: 50%;
}
}