-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
109 lines (99 loc) · 1.89 KB
/
main.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
/* welcome page */
#hello-cont a:hover{
border-radius: 26px;
background: linear-gradient(145deg, #252525, #131313);
box-shadow: 13px 13px 26px #414141,
-13px -13px 26px #808080;
}
/* disabled-button */
.disabled-button {
cursor: not-allowed;
}
/* alert text */
#alert p {
margin-bottom: 0;
}
/* the add books button */
#addBook {
position: absolute;
top: 560px;
right: 210px;
font-size: 1.6rem;
color: rgb(125, 255, 125);
transition: all 0.3s;
}
#addBook:hover {
color: rgb(0, 255, 0);
}
/* the books cont */
.book {
border-radius: 5px;
position: relative;
height: 180px;
width: 450px;
padding: 3%;
margin: 3rem;
}
.book .btns .exit-x {
position: absolute;
top: 12px;
right: 10px;
cursor: pointer;
padding: 0.5rem;
border-radius: 4px;
}
.book .btns .edit-pen {
position: absolute;
top: 130px;
right: 5px;
cursor: pointer;
padding: 0.5rem;
border-radius: 4px;
}
.book h2 {
font-weight: 300;
font-size: 1.6rem;
}
.book h3 {
margin-bottom: 4%;
font-weight: 200;
font-size: 1.2rem;
}
.book p {
font-weight: 200;
margin-bottom: 0;
}
#isbn {
font-size: 0.6rem;
}
/* implement this styling when the book is not read */
.book-not-read {
background-image: linear-gradient(56deg, #282b2d 0%, #4f5559 100%);
color: white;
}
.book-not-read #btns p {
color: white;
}
/* implement this styling when the book is read */
.book-read {
background-image: linear-gradient(56deg, rgb(125, 255, 125) 0%, rgb(0, 255, 0) 100%);
color: black;
}
.book-read #btns p {
color: black;
}
/* footer */
#footer {
margin-top: 22%;
font-size: 1.3rem;
}
#footer a {
color: rgb(125, 255, 125);
padding: 0.5rem;
transition: all 0.4s;
}
#footer a:hover {
color: rgb(0, 255, 0);
border-radius: 6px;
background-color: rgba(0, 0, 0, 0.2);
}