优化首页样式

This commit is contained in:
yangjian 2021-06-22 07:56:44 +08:00
parent 50af971f68
commit 5cbc890b38
3 changed files with 5 additions and 3 deletions

View File

@ -169,6 +169,8 @@
a.index-add-link{
color: #999;
float: right;
position: absolute;
right: 10px;
}
a.index-add-link:hover{
color: #333;

View File

@ -1,12 +1,12 @@
{% load i18n %}
<div class="layui-footer" style="border-top: 1px #e6e6e6 solid;text-align:center;margin-top:38px;width:100%;">
<div style="margin-top:10px;">
<div style="margin-top:5px;padding-bottom: 5px;">
© <a href="https://zmister.com/mrdoc/">MrDoc 2019-2021</a>&nbsp;|&nbsp;
<a href="https://zmister.com" target="_blank">州的先生</a>出品 |
<a href="{% url 'sitemap' %}" target="_blank">{% trans "网站地图" %}</a>
</div>
{% if beian_code != None %}
<div style="margin-top:5px;margin-bottom: 5px;">
<div style="margin-bottom: 5px;">
<a href="http://beian.miit.gov.cn/" target="_blank">{{beian_code}}</a>
</div>
{% endif %}

View File

@ -131,7 +131,7 @@
{% for p in projects %}
<!-- 网格布局 -->
<div class="layui-col-md3 layui-col-xs12 project-item">
<a href="{% url 'pro_index' p.id %}" target="_blank">
<a href="{% url 'pro_index' p.id %}" target="_blank" title="{{p.name}}">
<div class="layui-card">
<div class="layui-card-header"
{% if p.role == 1 %}