To develop a website to display the cover page design of a book
Clone the Github repository and create a Django admin interface.
Write HTML and CSS code for designing book cover page and execute them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<style>
.bookpage{
width: 400px;
height: 600px;
color:black;
margin-left: auto;
margin-right: auto;
padding: 30px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url(/static/images/back.png);
background-size: cover;
}
.insight{
color: yellow;
}
.hrstyle{
width:100px;
}
.author{
display: inline;
position: relative;
color: blue;
top:190px;
font-family:Georgia;
font-size: medium;
}
.booktitle{
font-family: 'Garamond', Courier, monospace;
font-size: larger;
text-align: center;
position: relative;
top: 30px;
}
.id {
width:400px;
position: relative;
top:180px;
}
.pub{
font-size: medium;
position: relative;
top:155px;
left:330px;
}
.ed{
color: rgb(255, 80, 80);
font-size: medium;
font-family: Verdana;
position:relative;
top:85px;
}
.subtitle{
font-family:Tahoma;
font-size: large;
position: relative;
top:40px;
}
.mypic{
position: relative;
top: 135px;
left: 260px;
width: 100px;
height: 100px;
background-size: cover;
}
</style>
<title>Book Cover Page</title>
</head>
<body>
<div class="bookpage">
<div class="insight">
SEC INSIGHT
</div>
<div class="hrstyle">
<hr style="color: red;">
</div>
<div class="booktitle">
<h1><b>Fundamentals of Block Chain</b></h1></div>
<div class="subtitle">
C++, Java, and Python Combined with Block Chain basics
</div>
<div class="mypic">
<img src="/static/images/my.png" width="130" height="145" alt="">
</div>
<div class="id">
<hr style="color: rgb(44, 15, 97);">
</div>
<div class="author">
<p><b>Pavan Kumar A B</b></p>
</div>
<div class="pub">
SEC
</div>
<div class="ed">
<b>Seventh Edition</b>
</div>
</div>
</body>
</html>
The program for designing book cover page using HTML and CSS is executed successfully.