底部导航栏

19 篇文章 0 订阅
10 篇文章 0 订阅
Django中使用的底部导航栏节选
{% load static %}
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Deep Learning Visual Understanding Group</title>
    <meta name="viewport" content="width=device-width">
    <meta name="description" content="Deep Learning Visual Understanding Group">
    <link rel="icon" type="image/png" href="/basefolder/static/media/avatar/logo.jpg"/>
    <link rel="stylesheet" href="/static/css/github2.css">
    <link rel="stylesheet" href="/static/css/rouge.css">
    <link rel="stylesheet" href="/static/css/main.css">
    <script async defer src="https://buttons.github.io/buttons.js"></script>
    <style type="text/css">
        .footer {
            position: absolute;
            left: 0px;
            border: 0px;
            width: 100%;
            height: 220px;
            background-color: #111111;
        }

        .footer .alt1 {
            font-size: 16px;
            color: #888;
            margin-left: 60%{#overflow: hidden;#}{#padding: 20px 0;#}{#width: 1160px;#}{#margin: auto;#}
        }


        .footer .alt {
            overflow: hidden;
            padding: 20px 0;
            width: 1160px;
            margin: auto;
        }

        .footer .alt .lfoot {
            float: left;
            color: #fff !important;
            font-size: 30px;
        }

        .footer .alt .rfoot {
            float: right;
            color: #fff !important;
            margin-right: 150px
        }


        .footer .alt .foot p {
            color: #FFF;
            line-height: 28px;
        }

        .footer .alt .foot a {
            color: #999;
            display: block;
            line-height: 24px;
        }

        .footer .alt .foot a:hover {
            color: #CCC;
        }

    </style>

</head>

<body>
<nav class="navbar">
    <ul>
        {% block part1 %}

        {% endblock %}
    </ul>
</nav>

{% block part2 %}


{% endblock %}

</body>

<br>
<br>
<br>

<div class="footer">
    {#    <p style="font-size: 30px; color: #fff!important; margin-top: 10px; margin-left: 10%">Deep Learning Visual#}
    {#        Understanding Group</p>#}
    {#    <p style="font-size: 20px; color: #fff!important; margin-top: 15px; margin-right: 10%">About</p>#}
    {#    <p style="font-size: 16px; color: #888; margin-top: 100px; margin-left: 70%">© Copyright modified by xxx.</p>#}
    <div class="alt">
        <div class="lfoot">
            <p>Deep Learning Visual Understanding Group</p>
        </div>
        <div class="rfoot">
            <p style="font-size: 30px;">About</p>
            <a href="###" style="font-size: 15px">Location</a>
            <br>
            <a href="###" style="font-size: 15px">Contact</a>
        </div>
    </div>
    <div style="border-top:1px #1F1F1F solid;">
        <p class="alt1">© Copyright modified by xxx
        </p>
    </div>


</div>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

SimpleZihao

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值