generated from Technigo/odevo-hackday-19-feb
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (93 loc) · 1.8 KB
/
style.css
File metadata and controls
106 lines (93 loc) · 1.8 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
min-height: 100vh;
padding: 40px 20px;
color: #333;
}
h1 {
margin-bottom: 40px;
font-size: 2.5em;
font-weight: 700;
color: #2c3e50;
text-align: center;
letter-spacing: -0.5px;
}
.buttons {
display: flex;
gap: 15px;
margin-bottom: 40px;
justify-content: center;
flex-wrap: wrap;
}
button {
padding: 12px 28px;
border: none;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 25px;
color: white;
cursor: pointer;
font-weight: 600;
font-size: 0.95em;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
button:active {
transform: translateY(0);
}
.library {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
max-width: 1400px;
margin: 0 auto;
}
.library .item {
border: none;
border-radius: 15px;
width: 280px;
display: flex;
flex-direction: column;
padding: 20px;
background: white;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
overflow: hidden;
}
.library .item:hover {
transform: translateY(-8px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.library .item p {
margin: 8px 0;
font-size: 0.95em;
line-height: 1.5;
color: #555;
}
.library .item p:first-of-type {
font-weight: 600;
color: #2c3e50;
margin-bottom: 12px;
font-size: 1.1em;
}
.item img {
width: 240px;
height: 240px;
object-fit: cover;
margin: 10px -20px -20px -20px;
border-radius: 0 0 15px 15px;
transition: transform 0.3s ease;
}
.library .item:hover img {
transform: scale(1.05);
}