Skip to content

Remove Lista de Discussões #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions content/pages/lista-de-discussoes.md

This file was deleted.

4 changes: 0 additions & 4 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@
"Encontre e participe da comunidade e compartilhe " "suas dúvidas e idéias."
),
"children": [
{
"title": "Lista de Discussões",
"href": "lista-de-discussoes",
},
{
"title": "Comunidades Locais",
"href": "comunidades-locais",
Expand Down
24 changes: 24 additions & 0 deletions themes/pybr/static/css/custom-colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* Sobrescrevendo as cores do header para usar cinza no estilo do evento */
.master-wrapper header {
background-color: #6c757d !important;
background-image: linear-gradient(#495057 10%, #6c757d 90%) !important;
}

/* Garantindo que o texto continue branco para boa legibilidade */
.master-wrapper header {
color: #fff !important;
}

.master-wrapper header .header-subtitle {
color: #e9ecef !important; /* Cor mais suave que combina com o fundo cinza */
}

/* Ajustando links para melhor contraste com o fundo cinza */
.master-wrapper header a {
color: #fff !important;
}

.master-wrapper header a:hover {
color: #ffc107 !important;
text-decoration: none !important;
}
6 changes: 2 additions & 4 deletions themes/pybr/static/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ a{
color: $white;
padding: 50px 0 60px 0;
text-align: center;

/* gradient */
background-color: #2b5b84;
background-image: linear-gradient(#1e415e 10%,#2b5b84 90%);
background-color: #6c757d;
background-image: linear-gradient(#495057 10%,#6c757d 90%);
box-shadow: inset 0 0 50px rgba(0,0,0,0.03),inset 0 0 20px rgba(0,0,0,0.03);

.header-logo {
Expand Down
12 changes: 7 additions & 5 deletions themes/pybr/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<!-- Bootstrap -->
<link href="{{ SITEURL }}/theme/css/pybr.min.css" rel="stylesheet">
<link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet">
<!-- Custom colors override -->
<link href="{{ SITEURL }}/theme/css/custom-colors.css" rel="stylesheet">

{% block aditional_styles %}
{% endblock %}
Expand Down Expand Up @@ -75,13 +77,13 @@
<div class="row">
<div class="col-12">
<div class="header-container">
<a href="https://2024.pythonbrasil.org.br" target="_blank">
<img class="header-logo" title="Python Brasil 2024" alt="Python Brasil 2024" src="https://2024.pythonbrasil.org.br/theme/images/logo.png">
<a href="https://2025.pythonbrasil.org.br" target="_blank">
<img class="header-logo" title="Python Brasil 2025" alt="Python Brasil 2025 (21-27 de Outubro de 2025)" src="https://2025.pythonbrasil.org.br/images/main.png/@@images/image-2200-805c8bbb1ea72839b86149847d75dce4.png" style="max-width:100%; width:800px; height:auto;">
</a>

<h2 class="header-subtitle">DE 16 A 21 DE OUTUBRO DE 2024</h2>
<a class="header-subtitle" href="https://2024.pythonbrasil.org.br/" target="_blank">
Acesse aqui o site da conferência para maiores informações e inscrição
<!-- Comentando isso, pois as datas ja estao inclusas no logo de 2025. Adicionei as datas como parte do alttext tambem. <h2 class="header-subtitle">DE 21 A 27 DE OUTUBRO DE 2025</h2> -->
<a class="header-subtitle" href="https://2025.pythonbrasil.org.br/" target="_blank">
<h2 class="header-subtitle">Acesse aqui o site da conferência para maiores informações e inscrição!</h2>
</a>
</div>
</div>
Expand Down