Aggiustamenti alle pagine, pronta per il go-live.

This commit is contained in:
Emiliano Vavassori 2020-12-19 01:10:24 +01:00
parent 464c0bac4f
commit 6018e07841
9 changed files with 116 additions and 27 deletions

View file

@ -282,3 +282,53 @@ img {
border: 0px;
flex: 1;
}
#footlinks {
width: 100%;
margin: auto;
}
#footlinks ul
{
display: flex;
align-items: stretch;
justify-content: space-between;
list-style: none;
padding: 0 50px;
margin: 0 0;
}
#footlinks li
{
display: block;
flex: 0 1 auto;
margin: 0px 5px;
vertical-align: middle;
}
#footlinks a
{
-webkit-transition: 200ms;
-moz-transition: 200ms;
-ms-transition: 200ms;
-o-transition: 200ms;
transition: 200ms;
display: block;
width: 10rem;
height: 1.5rem;
padding: 0.77273rem 0rem;
background-color: #3a7c78;
color: white;
vertical-align: middle;
text-align: center;
text-decoration: none;
border: 0px solid #3a7c78;
margin: 0px 5px;
border-radius: 10px 10px;
}
#footlinks a:hover {
background-color: #73d08a;
border-color: #73d08a;
color: #3a7c78;
}

View file

@ -254,3 +254,11 @@ aside > h2 {
img {
max-width: 100%;
}
.liveactive {
font-weight: bold;
animation: blinker 1.7s cubic-bezier(.5, 0, 1,1) infinite;
-moz-animation: blinker 1s linear infinite;
}
@keyframes blinker { 50% { opacity: 0; } }

View file

@ -40,6 +40,7 @@
<meta name="twitter:image" content="">
{% endblock %}
<script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script>
<script src="/js/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
</head>
<body>
@ -79,8 +80,12 @@
<nav class="nav">
<ul class="list-bare">
{% for title, link in MENUITEMS %}
<li><a class="nav__link" href="{{ link }}">{{ title }}</a></li>
{% for name, link, blank in MENUITEMS %}
{% if blank %}
<li><a class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
{% else %}
<li><a class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
{% endif %}
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU and pages %}{% for p in pages %}
@ -89,6 +94,7 @@
</ul>
</nav>
<script src="/js/livepointers.js" type="text/javascript"></script>
{% if DISPLAY_CATEGORIES_ON_MENU and categories %}
<h2>Categories</h2>

View file

@ -79,8 +79,12 @@
<nav class="nav">
<ul class="list-bare">
{% for title, link in MENUITEMS %}
<li><a class="nav__link" href="{{ link }}">{{ title }}</a></li>
{% for name, link, blank in MENUITEMS %}
{% if blank %}
<li><a class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
{% else %}
<li><a class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
{% endif %}
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU and pages %}{% for p in pages %}