update theme and fix
This commit is contained in:
parent
6edca43774
commit
017af6efbb
@ -418,3 +418,12 @@ input:checked + .slider:before {
|
|||||||
.slider.round:before {
|
.slider.round:before {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-device-width: 700px) {
|
||||||
|
.gallery-square {
|
||||||
|
width: 100% !important;
|
||||||
|
margin-bottom: -7px !important;
|
||||||
|
padding-bottom: 70% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -606,3 +606,11 @@ nav .nav-header {
|
|||||||
background: transparent linear-gradient(rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
|
background: transparent linear-gradient(rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
|
||||||
padding: 20% 0 10px 0;
|
padding: 20% 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-device-width: 700px) {
|
||||||
|
.gallery-square {
|
||||||
|
width: 100% !important;
|
||||||
|
margin-bottom: -7px !important;
|
||||||
|
padding-bottom: 70% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -46,10 +46,9 @@
|
|||||||
<script type="text/javascript" src="static/js/jquery-2.1.4.min.js" charset="utf-8"></script>
|
<script type="text/javascript" src="static/js/jquery-2.1.4.min.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="static/js/materialize.min.js" charset="utf-8"></script>
|
<script type="text/javascript" src="static/js/materialize.min.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
$('.button-collapse').sideNav();
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('.scrollspy').scrollSpy();
|
$(".dropdown-trigger").dropdown();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
<ul id="dropdown1" class="dropdown-content">
|
||||||
|
{% for line in settings.menu %}
|
||||||
|
{% set rowloop = loop %}
|
||||||
|
{% for file_name, menu_name in line.items() %}
|
||||||
|
{% if file_name.startswith('http') %}
|
||||||
|
{% set file_name = file_name %}
|
||||||
|
{% else %}
|
||||||
|
{% set file_name = "../"+file_name %}
|
||||||
|
{% endif %}
|
||||||
|
<li><a href={{ file_name }}>{{ menu_name }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
<ul class="bt hide-on-med-and-down" style="float: right !important;">
|
<ul class="bt hide-on-med-and-down" style="float: right !important;">
|
||||||
{% for line in settings.menu %}
|
{% for line in settings.menu %}
|
||||||
{% set rowloop = loop %}
|
{% set rowloop = loop %}
|
||||||
@ -11,3 +25,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
<ul class="bt show-on-med-and-down" style="float: right !important;">
|
||||||
|
<li><a class="dropdown-trigger" href="#!" data-target="dropdown1"><i class="material-icons right">arrow_drop_down</i></a></li>
|
||||||
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user