To develop a website to display the cover page design of a book
First, fork the repository from github. Link is https://github.com/gowriganeshns/cover-page-design
Create a django project amd a static folder containing a html folder, which in turn contains the html file that you want to work with. In this case is is bookcover.html.
<style> .bookpage{
width: 400px;
height: 600px;
color:red;
margin-left: auto;
margin-right: auto;
padding: 20px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url(wallpaper.jpeg);
background-size: cover;
}
.insight{
color: brown;
}
.hrstyle{
width:100px;
}
.author{
display: inline;
position: relative;
color: red;
top:190px;
font-family:Georgia;
font-size: medium;
}
.booktitle{
font-family: 'Courier New', 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: blue;
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>Fundamentals of Web Application Development</h1></div>
<div class="subtitle">
HTML and CSS Combined with Django Architecture
</div>
<div class="mypic">
<img src="image.jpeg" width="130" height="145" alt="">
</div>
<div class="id">
<hr style="color: orange;">
</div>
<div class="author">
<p><b>Tom Francies Xaviour</b></p>
</div>
<div class="pub">
SEC
</div>
<div class="ed">
<b>Seventh Edition</b>
</div>
</div>
</body>
we have now succesfully created a cover page design using django projects, html and css