-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (72 loc) · 1.28 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
/* Normalizing the initial margin and padding */
* {
box-sizing: border-box;
}
body {
margin: 0 auto;
padding: 0 auto;
padding: 10px;
background-color: #5a7216;
}
form {
padding-top: 20px;
margin-top: 20px;
width: 80%;
margin: auto;
}
form input {
margin-top: 20px;
margin-right: 10px;
padding: 10px;
border-radius: 10px;
}
p {
color: #000;
background-color: #5a8216;
padding: 10px;
width: 80%;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 10px;
text-transform: uppercase;
font-weight: bold;
}
/* Styling the table */
table {
margin-top: 20px;
width: 80%;
margin: auto;
text-align: center;
box-shadow: 1px 1px 30px 2px #000;
}
table tr:nth-child(odd) {
background-color: #7da453;
}
table tr:nth-child(even) {
background-color: #5a9216;
}
table tr th {
background-color: green;
}
table tr:hover {
transform:scale(1.03,1.03);
}
table tr td, table tr th {
padding: 12px;
margin: 20px;
border-radius: 5px;
}
/* Giving red color to DELETE button X */
span {
color: red;
text-decoration: none !important;
}
input[type="button"] {
background-color: green;
border: none;
box-shadow: 1px 1px 15px 2px #aaaaaa;
}
input[type="button"]:hover {
background-color:#5a9216;
}