-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (84 loc) · 1.46 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #fff;
font-family: 'Open Sans', sans-serif;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
padding: 20px;
}
thead {
background-color: #556B2F;
}
i {
cursor: pointer;
font-size: 1.4rem;
}
#modal {
display: none;
position: fixed;
right: 40%;
top: 0;
width: 300px;
}
.modal-header {
background-color: #556B2F;
color: #fff;
}
.modal-dm {
background-color: #495057;
}
.btn-primary {
background-color: #556B2F;
border: none;
}
.btn-primary:hover {
background-color: #6B8E23;
border: none;
}
@media (min-width: 0) {
#modal {
right: 0;
width: 100%;
}
#add-book {
visibility: hidden;
}
#add-book-responsive {
visibility: visible;
}
table {
width: 100%;
display: block;
overflow-x: auto;
white-space: nowrap;
}
}
@media (min-width: 440px) {
table {
display: inline-table;
}
}
@media (min-width: 992px) {
#modal {
right: 40%;
width: 300px;
}
#add-book {
visibility: visible;
position: fixed;
right: 2rem;
bottom: 2rem;
}
#add-book-responsive {
visibility: hidden;
}
}