Skip to content

Commit d706013

Browse files
committed
Fix layout to use bootstrap 4 properly
1 parent 5cc200a commit d706013

7 files changed

Lines changed: 12 additions & 30 deletions

File tree

content/pages/web.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
Title: Python para desenvolvimento Web
42
Slug: web
53
Template: page
@@ -31,10 +29,12 @@ Descubra as ferramentas e conteúdo para desenvolvimento Web:
3129

3230

3331
#### referencias do web2py (pt-BR)
32+
3433
- [web2py.com.br](https://web2py.com.br/) Site Brasileiro do framework (em desenvolvimento).
3534
- [wiki na Python brasil](https://wiki.python.org.br/web2py/)
3635
- [Grupo Telegram](https://t.me/web2pybrasil) Partricipe
3736

3837
#### Cursos de web2py
38+
3939
- [# PASSO-A-PASSO WEB2PY - Julia Rizza](https://juliarizza.wordpress.com/2015/08/03/passo-a-passo-web2py-1o-passo) ótimo curso da Julia Rizza, com o básico do framework.
40-
- [# Curso em Video do Bruno Rocha](https://www.youtube.com/playlist?list=PL5CWed0-MqAPLiMS5gJvWKZDBez-vcRuN) Curso Completo em Video do [Bruno Rocha](http://brunorocha.org/)
40+
- [# Curso em Video do Bruno Rocha](https://www.youtube.com/playlist?list=PL5CWed0-MqAPLiMS5gJvWKZDBez-vcRuN) Curso Completo em Video do [Bruno Rocha](http://brunorocha.org/)

themes/pybr/static/css/pybr.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/pybr/static/scss/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
footer {
5656
padding: 60px 0 20px 0;
57-
background-color: $gray-dark;
57+
background-color: $gray-900;
5858
color: $white;
5959
text-align: justify;
6060

themes/pybr/static/scss/_components.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ pre, code {
1010
margin: 50px 0;
1111

1212
.thumbnail {
13-
border: solid 1px $gray-lighter;
13+
border: solid 1px $gray-500;
1414
min-height: 415px;
1515
margin-bottom: 30px;
1616

1717
&:hover {
18-
border: solid 1px $gray;
18+
border: solid 1px $gray-700;
1919
}
2020

2121
img {

themes/pybr/static/scss/_home.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.home-background {
2-
background-color: $gray-lightest;
2+
background-color: $gray-300;
33

44
.page-description-link {
55
&:hover {
@@ -14,7 +14,7 @@
1414
vertical-align: top;
1515

1616
&:hover {
17-
background-color: $gray-lighter;
17+
background-color: $gray-500;
1818
}
1919

2020
.page-description-title {

themes/pybr/static/scss/_variables.scss

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,4 @@ $headings-margin-bottom: 1rem;
1111

1212
/* colors */
1313

14-
$white: #fff;
15-
$black: #000;
16-
$red: #d9534f;
17-
$orange: #f0ad4e;
18-
$yellow: #ffd343;
19-
$green: #5cb85c;
20-
$blue: #1d6bbd;
21-
$teal: #5bc0de;
22-
$pink: #ff5b77;
23-
$purple: #613d7c;
24-
25-
// Create grayscale
26-
$gray-dark: #222222;
27-
$gray: #444444;
28-
$gray-light: #666666;
29-
$gray-lighter: #bbbbbb;
30-
$gray-lightest: #dddddd;
31-
32-
$brand-primary: $gray;
14+
$primary: #212529;

themes/pybr/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% endif %}
3030

3131
<div class="master-wrapper {% if href == 'index' %}yellow-top-border{% else %}blue-top-border{% endif %}">
32-
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
32+
<nav class="navbar navbar-expand-md navbar-dark bg-primary fixed-top">
3333

3434
<a class="navbar-brand" href="{{ SITEURL }}/">{{ SITENAME }}</a>
3535

0 commit comments

Comments
 (0)