-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
161 lines (141 loc) · 3.31 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
justify-content: center;
flex-direction: column; /*This was added by AI to center the Library title */
align-items: center;
flex-wrap: wrap;
min-height: 100vh;
background: #232427;
}
body .title {
/* align-self: flex-start; */
color: turquoise;
font-size: xx-large;
}
body #addButton {
position: fixed;
bottom: 20px; /* adjust this value to set the distance from the bottom of the window */
right: 20px; /* adjust this value to set the distance from the left of the window */
background-color: #4e8cff; /* Blue background color */
color: #fff; /* White text color */
border: none;
padding: 10px 20px;
font-size: 16px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shiny effect */
cursor: pointer;
transition: background-color 2s ease; /* Smooth transition */
}
body .addWindow {
position: fixed;
padding: 20px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
body .addWindow p {
margin: 15px;
}
body .container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
max-width: 1200px;
margin: 40px 0;
}
body .container .card {
position: relative;
min-width: 320px;
height: 500px;
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
inset -5px -5px 15px rgba(255, 255, 255, 0.1),
5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
border-radius: 15px;
margin: 30px;
transition: 0.5s;
}
body .container .card .box {
position: absolute;
top: 20px;
left: 20px;
right: 20px;
bottom: 20px;
background: #2a2b2f;
border-radius: 15px;
display: flex;
justify-content: center;
align-items: center;
overflow: visible;
transition: 0.5s;
}
body .container .card .box:hover {
transform: translateY(-10px);
}
body .container .card .box:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
background: rgba(255, 255, 255, 0.03);
}
body .container .card .box .content {
padding: 20px;
text-align: center;
}
body .container .card .box .content h2 {
position: absolute;
top: -10px;
right: 30px;
font-size: 8rem;
color: rgba(255, 255, 255, 0.1);
}
body .container .card .box .content h3 {
font-size: 1.8rem;
color: #fff;
z-index: 1;
transition: 0.5s;
margin-bottom: 15px;
}
body .container .card .box .content p {
white-space: pre-line;
font-size: 1rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.9);
z-index: 1;
transition: 0.5s;
}
body .container .card .box .content a {
width: 158px;
position: relative;
display: inline-block;
padding: 8px 20px;
border-radius: 5px;
text-decoration: none;
color: white;
margin-top: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
transition: 0.5s;
}
body .deleteBtn {
background: #e91e63;
}
body .changeBtn {
background: rgb(0, 182, 0);
}
body .editBtn {
background: rgb(179, 0, 255)
}
body .container .card .box .content a:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
background: #fff;
color: #000;
}