Skip to content

Commit

Permalink
atualização tema e adição selo Top (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
m00sp authored Dec 28, 2024
1 parent d9c3cc1 commit 54e4ae9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
Binary file added static/imagens/selo-website-test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
{% endblock %}
{% block footer %}
{{ super() }}
{{ m00macros::m00css() }}
{{ m00macros::m00top() }}
{% endblock %}
22 changes: 19 additions & 3 deletions templates/m00macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,28 @@
</script>
{% endmacro %}

{% macro m00css() %}
<p>
{% macro m00top() %}
<style>
#selo {
text-align: left;
font-size: 60px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
}
</style>
<br>
<div id="selo">
<a href="https://top.nic.br/site/luis-ti.dev.br/89404/">
<img style="border:0; width:75px;height:100px;"
src="/imagens/selo-website-test.png"
alt="Selo TOP!" />
</a>
<a href="https://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:88px;height:31px"
src="https://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!" />
</a>
</p>
</div>
{% endmacro %}
2 changes: 1 addition & 1 deletion themes/abridge

0 comments on commit 54e4ae9

Please sign in to comment.