Aggiustamenti a licenze, partners, social.

This commit is contained in:
Emiliano Vavassori 2024-03-14 00:59:16 +01:00
parent 43a9ee194b
commit 6aecd1c50b
9 changed files with 56 additions and 21 deletions

View File

@ -1,8 +0,0 @@
title: Colophon - Conferenza Italiana LibreItalia
slug: colophon
# Licenza - Conferenza Italiana LibreItalia #
I contenuti del sito sono tutti rilasciati con licenza <a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0">CC BY 3.0</a></p>
[![cc-by-3.0](https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1 "CC-BY 3.0 Logo")](https://creativecommons.org/licenses/by/3.0/it/ "Creative Commons - Attribuzione 3.0")

8
content/pages/license.md Normal file
View File

@ -0,0 +1,8 @@
title: Licenze - Conferenza Italiana LibreItalia
slug: license
# Licenza - Conferenza Italiana LibreItalia #
I contenuti del sito sono tutti rilasciati con licenza [CC BY 4.0 <i class="fas fa-external-link-alt"></i>](https://creativecommons.org/licenses/by/4.0/deed.it "Creative Commons - Attribuzione 4.0"){:target="_blank"}.
[![cc-by-4.0](https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1 "CC-BY 4.0 Logo")](https://creativecommons.org/licenses/by/4.0/ "Creative Commons - BY 4.0 DEED"){:target="_blank"}

View File

@ -2,6 +2,9 @@
title: Partners - Conferenza Italiana LibreItalia title: Partners - Conferenza Italiana LibreItalia
slug: partners slug: partners
--- ---
<script type="text/javascript">
$( "#link_partners" ).addClass('active');
</script>
# Partners # Partners

View File

@ -39,10 +39,11 @@ MENUITEMS = (
#("Chill Room", "https://open.meet.garr.it/libreitaliaconf-chillroom", 1), #("Chill Room", "https://open.meet.garr.it/libreitaliaconf-chillroom", 1),
) )
PARTNERS = ( #PARTNERS = (
('http://www.ils.org/', 'Italian Linux Society', 'https://upload.wikimedia.org/wikipedia/commons/0/0d/Logoilsvettoriale.svg', '50'), # ('http://www.ils.org/', 'Italian Linux Society', 'https://upload.wikimedia.org/wikipedia/commons/0/0d/Logoilsvettoriale.svg', '50'),
('https://www.garr.it/it/', 'Home | GARR', 'https://www.garr.it/images/logo_medio_garr.png', '150'), # ('https://www.garr.it/it/', 'Home | GARR', 'https://www.garr.it/images/logo_medio_garr.png', '150'),
) #)
PARTNERS = ()
DISPLAY_PAGES_ON_MENU = False DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False DISPLAY_CATEGORIES_ON_MENU = False

View File

@ -101,7 +101,6 @@ article > header
border-radius: 5px 5px; border-radius: 5px 5px;
} }
/* Links */; /* Links */;
a { color:#3a7c78; text-decoration:none; } a { color:#3a7c78; text-decoration:none; }
a:visited { color:#3a7c78; text-decoration:none; } a:visited { color:#3a7c78; text-decoration:none; }
@ -144,6 +143,33 @@ aside > h2 {
margin-bottom: 5px; margin-bottom: 5px;
} }
aside #partners a {
font-style: italic;
color: white;
text-decoration: none;
display: block;
padding: 0.77273rem 0rem;
border: 0px solid #73d08a;
margin: 0px 5px;
border-radius: 10px 10px;
margin: 40px -30px;
-webkit-transition: 200ms;
-moz-transition: 200ms;
-ms-transition: 200ms;
-o-transition: 200ms;
transition: 200ms;
}
aside #partners a:hover {
background-color: #73d08a;
color: #3a7c78;
}
aside #partners a.active {
background-color: #4e8986;
font-weight: bold;
}
#avatar #avatar
{ {
margin: 0; margin: 0;
@ -201,6 +227,7 @@ aside > h2 {
background-color: #4e8986; background-color: #4e8986;
font-weight: bold; font-weight: bold;
} }
.nav a:hover { .nav a:hover {
background-color: #73d08a; background-color: #73d08a;
color: #3a7c78; color: #3a7c78;
@ -276,10 +303,10 @@ td.hours {
margin: 10px auto; margin: 10px auto;
} }
#license, /* #license,
aside #partners, aside #partners,
aside .social, aside .social,
aside nav.nav { display: none; } aside nav.nav { display: none; } */
aside .sidetitle { aside .sidetitle {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -132,7 +132,7 @@
</div> </div>
{% endif %} {% endif %}
<!--{% include "partners.html" %}--> {% include "partners.html" %}
{% include "social.html" %} {% include "social.html" %}
{% include "license.html" %} {% include "license.html" %}
</aside> </aside>
@ -146,8 +146,11 @@
<!-- Footer --> <!-- Footer -->
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %} {% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
<footer> <footer>
<p>I contenuti del sito sono tutti rilasciati con licenza <a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0">CC BY 3.0</a><br/>
<a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1" alt="Creative Commons BY Logo" /></a> <p><a href="/partners" title="Partners e Sponsors">Partners e
Sponsors</a></p
<p><a href="/license" title="Licenza del sito"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1" alt="Creative Commons BY Logo" /></a>
</p> </p>
</footer> </footer>
{% endif %} {% endif %}

View File

@ -1,4 +1,3 @@
<div id="license"> <div id="license">
<p>I contenuti del sito sono tutti rilasciati con licenza <a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0">CC BY 3.0</a></p> <p><a href="/license/" title="Licenze del sito"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1" alt="Creative Commons BY Logo" /></a></p>
<p><a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&amp;ssl=1" alt="Creative Commons BY Logo" /></a></p>
</div> </div>

View File

@ -1,10 +1,11 @@
<div id="partners"> <div id="partners">
<p>Partners:</p>
{% if PARTNERS %} {% if PARTNERS %}
<ul> <ul>
{% for link, alt, image, width in PARTNERS %} {% for link, alt, image, width in PARTNERS %}
<li><a href="{{ link }}" title="{{ alt }}" target="_new"><img src="{{ image }}" alt="{{ alt }}" width="{{ width }}" /></a></li> <li><a href="{{ link }}" title="{{ alt }}" target="_new"><img src="{{ image }}" alt="{{ alt }}" width="{{ width }}" /></a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %}
<p><a id="link_partners" class="nav__link" href="/partners" title="Partners e Sponsor">Partner e Sponsor</a></p>
{% endif %} {% endif %}
</div> </div>

View File

@ -1,5 +1,6 @@
<div class="social"> <div class="social">
{% if SOCIAL %} {% if SOCIAL %}
&nbsp;
{% for name, link in SOCIAL %} {% for name, link in SOCIAL %}
<a href="{{ link }}" target="_blank"><i class="{{ name }}"></i></a>&nbsp; <a href="{{ link }}" target="_blank"><i class="{{ name }}"></i></a>&nbsp;
{% endfor %} {% endfor %}