|- /src
| |- ...arquivos do projeto
|- /content
| |- /samples
| | |- ...arquivos replicando a estrutura da pasta content
| |- ...arquivos e pastas de conteúdo
| ... resto da estrutura
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 { | |
| /* https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing */ | |
| box-size: border-box; | |
| } | |
| html { | |
| /* | |
| This allows us to use readable rems. | |
| - 24px becomes 2.4rem | |
| - 10px becomes 1rem |
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
| # frozen_string_literal: true | |
| # Calculates things in sequence. Just a DSL example | |
| class WeirdCalculator | |
| class << self | |
| def starting_from(initial, &block) | |
| new(initial).calculate(&block) | |
| end | |
| end |