-
Notifications
You must be signed in to change notification settings - Fork 6
/
books.html
211 lines (204 loc) · 6.31 KB
/
books.html
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!DOCTYPE HTML>
<html>
<head>
<title>Study Material</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="assets/css/main.css" />
<style>
.date__box {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #ccc;
border: 4px solid;
font-weight: bold;
padding: 5px 10px;
}
.date__box .date__day {
font-size: 22px;
}
.blog-card {
padding: 30px;
position: relative;
}
.blog-card .date__box {
opacity: 0;
transform: scale(0.5);
transition: 300ms ease-in-out;
}
.blog-card .blog-card__background, .blog-card .card__background--layer {
z-index: -1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.blog-card .blog-card__background {
padding: 15px;
background: white;
}
.blog-card .card__background--wrapper {
height: 100%;
clip-path: polygon(0 0, 100% 0, 100% 80%, 0 60%);
position: relative;
overflow: hidden;
}
.blog-card .card__background--main {
height: 100%;
position: relative;
transition: 300ms ease-in-out;
background-repeat: no-repeat;
background-size: cover;
}
.blog-card .card__background--layer {
z-index: 0;
opacity: 0;
background: rgba(51, 51, 51, 0.9);
transition: 300ms ease-in-out;
}
.blog-card .blog-card__head {
height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.blog-card .blog-card__info {
z-index: 10;
background: white;
padding: 20px 15px;
}
.blog-card .blog-card__info h5 {
transition: 300ms ease-in-out;
}
.blog-card:hover .date__box {
opacity: 1;
transform: scale(1);
}
.blog-card:hover .card__background--main {
transform: scale(1.2) rotate(5deg);
}
.blog-card:hover .card__background--layer {
opacity: 1;
}
.blog-card:hover .blog-card__info h5 {
color: #ffb535;
}
a.icon-link {
color: #363738;
transition: 200ms ease-in-out;
}
a.icon-link i {
color: #ffb535;
}
a.icon-link:hover {
color: #ffb535;
text-decoration: none;
}
.btn {
background: white;
color: #363738;
font-weight: bold;
outline: none;
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.2);
overflow: hidden;
border-radius: 0;
height: 50px;
line-height: 50px;
display: inline-block;
padding: 0;
border: none;
}
.btn:focus {
box-shadow: none;
}
.btn:hover {
background: #ffb535;
color: #fff;
}
.btn.btn--with-icon {
padding-right: 20px;
}
.btn.btn--with-icon i {
padding: 0px 30px 0px 15px;
margin-right: 10px;
height: 50px;
line-height: 50px;
vertical-align: bottom;
color: white;
background: #ffb535;
clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
}
.btn.btn--only-icon {
width: 50px;
}
body{
background: #eee;
}
</style>
</head>
<body class="subpage">
<!-- Header -->
<header id="header">
<div class="logo"><a href="website.html">Knowledge<span>HUB</span></a></div>
<a href="#menu">Menu</a>
</header>
<!-- Nav -->
<nav id="menu">
<ul class="links">
<li><a href="website.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="faculty.html">Faculty</a></li>
<li><a href="books.html">Study Material</a></li>
<li><a href="dummy.html">Register</a></li>
<li><a href="login.html">Login</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</nav>
<br/>
<div class="container mt-5">
<div class="row">
<div class="col-12">
<article class="blog-card">
<div class="blog-card__background">
<div class="card__background--wrapper">
<div class="card__background--main" style="background-image: url('photos/try4.jpg');">
<div class="card__background--layer"></div>
</div>
</div>
</div>
<div class="blog-card__head">
<span class="date__box">
<span class="date__day">Latest</span>
<span class="date__month">Edition</span>
</span>
</div>
<div class="blog-card__info">
<h3>BOOK</h3>
<p>
<a href="#" class="icon-link mr-3"><i class="fa fa-pencil-square-o"></i> Author Name,P.Hd. from University</a>
</p>
<p>This book is concidered one of the best in the market. The reason is because of the profound knowledge of writter and clear illustrations that give it a user friendly look.</p>
<a onclick="alert('Register or Login to buy!')" class="btn btn--with-icon"><i class="btn-icon fa fa-long-arrow-right"></i>BUY NOW</a>
</div>
</article>
</div>
</div>
</div>
<section class="detail-page">
<div class="container mt-5">
</div>
</section>
<!-- Section -->
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>