Skip to content

Commit 57d7cdd

Browse files
adiciona navbar vazia com logo da pythonrio.
1 parent 7df9565 commit 57d7cdd

5 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
$navbar-height: 80px;
3+
$navbar-default-bg: transparent;
4+
$navbar-default-border: transparent;

core/static/css/_overrides.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
.navbar-brand {
3+
padding: 0;
4+
5+
> img {
6+
height: 40px;
7+
margin-top: 20px;
8+
}
9+
}

core/static/css/main.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11

2+
@import "./_bootstrap-config";
23
@import "../bootstrap/stylesheets/_bootstrap";
4+
5+
@import "./_overrides";

core/static/img/logo-pythonrio.png

9.49 KB
Loading

core/templates/base.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% load pipeline %}
2+
{% load static %}
23

34
<!doctype html>
45

@@ -19,6 +20,16 @@
1920

2021
<body>
2122

23+
<nav class="navbar navbar-default navbar-fixed-top">
24+
<div class="container">
25+
<div class="navbar-header">
26+
<a class="navbar-brand" href="{% url 'index' %}">
27+
<img src="{% static 'img/logo-pythonrio.png' %}" alt="Logo PythOnRio">
28+
</a>
29+
</div>
30+
</div>
31+
</nav>
32+
2233
{% block content %}
2334
{% endblock %}
2435

0 commit comments

Comments
 (0)