-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
64 lines (54 loc) · 3.12 KB
/
base.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- <style media="screen">
@import url("https://www.india.gov.in/sites/all/themes/adaptivetheme/at_core/css/at.layout.css?r0n3vj");
@import url("https://www.india.gov.in/sites/all/themes/adaptivetheme/npi_adaptive/css/font-awesome.min.css?r0n3vj");
@import url("https://www.india.gov.in/sites/all/themes/adaptivetheme/npi_adaptive/css/global.custom.responsive.css?r0n3vj");
@import url("https://www.india.gov.in/sites/all/themes/adaptivetheme/npi_adaptive/css/global.base.css?r0n3vj");
@import url("https://www.india.gov.in/sites/all/themes/adaptivetheme/npi_adaptive/css/global.styles.css?r0n3vj");
</style> -->
<title>{% block title %}{% endblock title %} | Hello, world!</title>
</head>
<style>.box1{
background-color: white;
height: 30px;
width: 210px;
border: 2px solid black;
font-size: 40px;
display: grid;
place-content: center;
margin: 10px 0 0 10px;
border-radius: 8px;
box-shadow: -15px 10px rgb(47, 61, 65, 0.4);
} </style>
<body>
<div class="container-fuid">
<nav class="navbar navbar-expand-lg navbar-light bg-info">
<div class="container-fluid">
<div class="box1">
<a class="navbar-brand shadow-lg" href="#">National News Portal</a></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div><img src="/static/logo_1.jpg" align="middle" class="img-thumbnail shadow-lg p-1 mb-1 bg-body rounded" alt="..." width="50" height="50"></div>
</div>
</div>
</nav>
</div>
{% block body %}{% endblock body %}
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
-->
</body>
</html>