Skip to content

Commit

Permalink
adiciona css no tema filho + issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Jan 17, 2018
1 parent 61397b3 commit b059657
Show file tree
Hide file tree
Showing 7 changed files with 162 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.json]
indent_size = 2
tab_width = 2
indent_style = space
insert_final_newline = false
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Global
._*
.AppleDouble
.DS_Store
.localized
.LSOverride
.Spotlight-V100
.Trashes
Icon
Desktop.ini
ehthumbs.db
Thumbs.db
*~
TAGS
tags
.*.sw[a-z]
.netrwhist
*.un~
Session.vim
*.sublime-project
*.sublime-workspace
*.sublime-projectcompletions
*.tmproj
*.tmproject
tmtags
nbproject/*
.ftppass
.sftp-config.json
sftp-config.json

# Project
src/.sass-cache/*
src/node_modules/*
src/.ftppass
src/tmp/*
odin.zip
64 changes: 64 additions & 0 deletions brasa2018.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
Você pode adicionar seu próprio CSS aqui.
Clique no ícone de ajuda acima para saber mais.
*/

.section-portfolio .entry-excerpt {
display: none;
}

.section-portfolio .list-article {
height: 221px !important;
}

.section-services .service-item {
display: none;
}

.contact-form input[type=email], .contact-form input[type=text] {
width: 90% !important;
max-width: 90%;
}

.contact-form textarea {
height: 100px;
width: 90%;
}

.contact-form input[type="submit"] {
width: 90% !important;
max-width: 90%;
}

.section-featuredpage:before {
background-color: rgba(0,0,0,0.1);
display: block;
}
header:not(.header-fixed ) img {
opacity:0;
}
.section-portfolio .container {
width:100% !important;
max-width:100%;
}
.section-portfolio .container .list-article-thumb {
margin-right:0;
}
.section-portfolio .container .list-article-content {
display:none;
}
#portfolio .section-content {
overflow: inherit !important;
}
#portfolio .col-sm-12 {
padding-left: 0 !important;
padding-right:0 !important;
}
#portfolio {
padding-bottom: 0;
overflow: inherit;
}
.header-fixed .coletivo-menu>li>a {
color: #188EA0;
}
Empty file added brasa2018.js
Empty file.
30 changes: 30 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
/*
Theme Name: Brasa 2018
Theme URI: http://brasa.art.br
Description: Brasa 2018 - Tema filho do Tema Coletivo
Author: Matheus Gimenez
Author URI: http://brasa.art.br
Template: tema-coletivo
Version: 0.1alpha
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brasa2018
*/

/**
* Load site scripts.
*
* @since 2.2.0
*/
function brasa2018_enqueue_scripts() {
$template_url = get_stylesheet_directory_uri();

// Loads Brasa2018 CSS file
wp_enqueue_style( 'brasa2018-css', $template_url . '/brasa2018.css', array(), null, 'all' );

// Loads Brasa2018 JS file
//wp_enqueue_script( 'brasa2018-js', $template_url . '/brasa2018.js', array(), null, true );
}

add_action( 'wp_footer', 'brasa2018_enqueue_scripts', 1 );
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
Theme Name: Brasa2018
Theme URI: http://brasa.art.br
Description: Brasa 2018 Theme
Author: Brasa Design
Author URI: http://brasa.art.br
Template: tema-coletivo
Version: 0.1alpha
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brasa2018
*/

0 comments on commit b059657

Please sign in to comment.