add all changes
This commit is contained in:
parent
3b2b6ccefd
commit
a1a759a88f
3 changed files with 24 additions and 31 deletions
|
@ -6,11 +6,8 @@
|
|||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
@media screen and (max-width: 799px) {
|
||||
overflow: hidden;
|
||||
z-index: 100;
|
||||
height: initial;
|
||||
padding-left: initial;
|
||||
padding-top: initial;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
|
@ -18,9 +15,10 @@
|
|||
text-align: right;
|
||||
margin-right: 16px;
|
||||
@media screen and (max-width: 799px) {
|
||||
display: none;
|
||||
text-align: initial;
|
||||
margin-right: initial;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,25 +26,21 @@
|
|||
color: white;
|
||||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
@media screen and (max-width: 799px) {
|
||||
padding: 14px 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.icon {
|
||||
display: none;
|
||||
@media screen and (max-width: 799px) {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
@media screen and (max-width: 799px) {
|
||||
&.title {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@import "partials/reset";
|
||||
@import "partials/layout";
|
||||
@import "partials/burger";
|
||||
@import "partials/menu";
|
||||
@import "partials/film";
|
||||
@import "partials/text";
|
||||
@import "partials/ascroll";
|
||||
|
|
|
@ -13,24 +13,23 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="topnav">
|
||||
<a href="/polis" class="active">
|
||||
<a href="/polis" class="title">
|
||||
<div>
|
||||
Phantas.ma/polis<span class="hide-mobile">: Looking Back to the Future</span>
|
||||
<br>
|
||||
未竟之城:回顧未來
|
||||
</div>
|
||||
<div>
|
||||
未竟之城<span class="hide-mobile">:回顧未來</span>
|
||||
</div>
|
||||
</a>
|
||||
<nav>
|
||||
<a href="{% url 'films'%}">films - 影片</a>
|
||||
<a href="{% url 'texts' %}">assemblies - </a>
|
||||
<a href="{% url 'texts' %}">assemblies - 组件</a>
|
||||
<a href="{% url 'about' %}">about - 關於</a>
|
||||
</nav>
|
||||
<a class="icon">
|
||||
<svg height="32px" style="enable-background:new 0 0 32 32;" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
<main>
|
||||
{% block main %}{% endblock main %}
|
||||
</main>
|
||||
{% block end %}{% endblock end %}
|
||||
<script src="{% static 'js/menu.js' %}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue