-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (104 loc) · 1.84 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
*, *:before, *:after{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
background-color: #f2dfc4;
}
header{
text-align: center;
padding:20px;
margin-bottom: 20px;
}
main{
display:flex;
}
.addBook{
padding:10px;
padding-top: 0px;
flex:1;
}
.myBooks *{
margin:10px;
}
.input-div{
background-color: white;
border: 1px solid red;
margin: 5px 10px 5px 10px;
padding: 10px 10px 10px 5px;
border: 1px solid #CCC;
border-radius: 5px;
}
input[type=text],
input[type=number]{
margin:0px;
padding:10px;
width:100%;
border:none;
outline:none;
}
input[type=submit]{
background-color:#8ad45f;
outline: none;
padding:10px 50px;
border:1px solid #478a20;
border-radius: 5px;
cursor: pointer;
font-size: 1.2em;
}
input[type=submit]:hover{
background-color: rgba(138, 212, 95,0.4);
}
.showBooks{
align-self: flex-start;
flex:2;
border-left: 2px solid #DBD0C0;
}
#myTable{
width:100%;
text-align: center;
}
#myTable *{
padding:10px;
}
#myTable tr:nth-child(odd){
background-color: #F9CF93;
}
#myTable tr:nth-child(even){
background-color:#FAEEE0;
}
#myTable #tableHeader{
background-color: #DBD0C0;
}
.deleteButton{
background:#FF5C58;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.changeButton{
background:#79b2e8;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.invalid{
border:1px solid red;
}
.error{
color:red;
display:none;
}