Giter Club home page Giter Club logo

cover-page-design's Introduction

cover-page-design

AIM:

To develop a website to display the cover page design of a book

Design Steps:

Step 1:

Fork your the repository to your repository

Step 2:

Now using the command "django-admin startproject myproj" start a django project named myproj

Step 3:

Now mek sure to adjust the settings.py folder properly by adding "import os" in line 14 and STATCFILES_DIRS line at last

Step 4:

Now create a folder called static within this create another folder called html and within this create a html file named index.html

Step 5:

Now create your book cover design using html and css

Step 6:

Using the command runserver, run your server and then access the static and html folder to access the index.html file

Code:

HTML code :

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Book Cover</title>
      
    <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200&family=Open+Sans:ital,wght@0,400;0,700;0,800;1,500&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Press+Start+2P&family=Quicksand:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100;0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap" rel="stylesheet">
    <style>
        *{
            font-family: 'poppins';
        }
        body {
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            background-color: #f0f0f0;
        }
        .container{
            border: solid 1px;
            height: 650px;
            width: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            background-image: url("images/7714.jpg");
            
        }
        .title{
            font-size: 70px;
            margin-top: -180px;
            margin-left: 10px;
            line-height: 90px;
            display:inline-block;
            position: absolute;
            color: black;
            
        }
        .author{
            font-size: 20px;
            margin-top: 400px;
            display: inline-block;
            color: black;
            height: 80px;
            position: absolute;
            bottom:-10px;
            left: 340px;
            transform: translateX(-50%);
        
        }
        .author-photo{
            height: 200px;
            width: 150px;
            position: absolute;
            bottom: 0px;
            right: 175.4px;
            transform: translateX(-50%);
        }
        .subtitle {
            color: black;
            height: 80px;
            width: 300px;
            position: absolute;
            top: 10px; 
            left: 50%; 
            transform: translateX(-50%);
            font-size: 12px;
            display: inline-block;
        }

      
    </style>
</head>
<body>
    <div class="container">
        <p class="subtitle">Uncover the power of Django through a journey into web development's core.</p>
        <p class="title">A Dive into Django</p>
        <div>
            <p class="author">Visalan H</p>
        </div>
   
    </div>
    
</body>
</html>

Output:

WhatsApp Image 2023-12-31 at 12 39 55_c5e2f62a

Result:

Book cover has been made using HTML and CSS

cover-page-design's People

Contributors

arbasil05 avatar visalan-h avatar gowriganeshns avatar obedotto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.