-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Sem tempo para commits semanticos
Adicionando tudo que eu fiz pois data limite está muito em cima, sem tempo para commits semânticos
- Loading branch information
1 parent
bd4c932
commit ae9f541
Showing
8 changed files
with
141 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
|
||
/*---=| Fonte Padrão |=---*/ | ||
font-family: "Josefin Sans", sans-serif; | ||
font-weight: 700; | ||
} | ||
|
||
/*-----===| MAIN |===-----*/ | ||
/*---=| DISPLAY FLEX |=---*/ | ||
main { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
} | ||
|
||
main { | ||
width: 100%; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
z-index: 100; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
|
||
/*---=| Fonte Padrão |=---*/ | ||
font-family: "Josefin Sans", sans-serif; | ||
font-weight: 700; | ||
} | ||
|
||
/*-----===| MAIN |===-----*/ | ||
/*---=| DISPLAY FLEX |=---*/ | ||
main { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
} | ||
|
||
main { | ||
width: 100%; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
z-index: 100; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*-----===| VARIÁVEIS |===-----*/ | ||
var headerHeight; | ||
var main = document.getElementsByTagName('main')[0]; | ||
var footer = document.getElementsByTagName('footer')[0]; | ||
|
||
/*-----===| EVENTOS |===-----*/ | ||
window.onload = calcTranslationHeight; | ||
window.addEventListener('resize', calcTranslationHeight); | ||
|
||
/*-----===| FUNÇÕES |===-----*/ | ||
function calcTranslationHeight() { | ||
headerHeight = document.getElementsByTagName('header')[0].offsetHeight; | ||
main.style.top = headerHeight + "px"; | ||
footer.style.transform = "translateY(" + headerHeight + "px)"; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*-----===| VARIÁVEIS |===-----*/ | ||
var headerHeight; | ||
var main = document.getElementsByTagName('main')[0]; | ||
var footer = document.getElementsByTagName('footer')[0]; | ||
|
||
/*-----===| EVENTOS |===-----*/ | ||
window.onload = calcTranslationHeight; | ||
window.addEventListener('resize', calcTranslationHeight); | ||
|
||
/*-----===| FUNÇÕES |===-----*/ | ||
function calcTranslationHeight() { | ||
headerHeight = document.getElementsByTagName('header')[0].offsetHeight; | ||
main.style.top = headerHeight + "px"; | ||
footer.style.transform = "translateY(" + headerHeight + "px)"; | ||
} |