This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // LIMITAR RESUMO DO POST | |
| function novo_tamanho_do_resumo($length) { | |
| return 30; | |
| } | |
| add_filter('excerpt_length', 'novo_tamanho_do_resumo'); | |
| function new_excerpt_more($more) { | |
| return '...'; | |
| } | |
| add_filter('excerpt_more', 'new_excerpt_more'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Classe para criar efeito diagonal no before | |
| h2{ | |
| padding-top: 2rem; | |
| width: 70%; | |
| position: relative; | |
| font-size: 1.625em; | |
| &:before{ | |
| position: absolute; | |
| content: ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a:before { | |
| font-family: FontAwesome; | |
| content: "\f095"; | |
| display: inline-block; | |
| padding-right: 3px; | |
| vertical-align: middle; | |
| } | |
| FONT AWESOME VERSÃO 5: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin anima-slow { | |
| -o-transition: all 0.3s linear; | |
| -moz-transition: all 0.3s linear; | |
| -khtml-transition: all 0.3s linear; | |
| -webkit-transition: all 0.3s linear; | |
| -ms-transition: all 0.3s linear; | |
| transition: all 0.3s linear; | |
| } | |
| @mixin anima-normal { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| &:before, &:after { | |
| content: ""; | |
| display: block; | |
| width: 60px; | |
| height: 3px; | |
| background: #fff; | |
| margin: 14px auto 10px auto; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //CUSTOM POST TYPE | |
| function custom_post_type_modalidades() { | |
| register_post_type('modalidades', array( | |
| 'label' => 'Modalidades', | |
| 'description' => 'Modalidades', | |
| 'public' => true, | |
| 'menu_icon' => 'dashicons-shield-alt', | |
| 'show_ui' => true, | |
| 'show_in_menu' => true, | |
| 'capability_type' => 'page', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pointer-events: none; | |
| cursor: default; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="pt_BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>RocketBlog - o Blog da RockeSeat</title> | |
| <meta name="robots" content="index, follow" /> | |
| <!-- Favicon --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- INICIO HEADER --> | |
| <header> | |
| <img src="img/logo.png" alt="RockeSeat"> | |
| </header> | |
| <!-- FIM HEADER --> |