Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

final commit #279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Trilha JS Developer - Pokedex
# pokedex

30 changes: 10 additions & 20 deletions assets/css/global.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
* {
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500;700&display=swap');

body {
background-color: #f6f8fc;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;

.content {
width: 100vw;
height: 100vh;
font-family: 'Roboto', sans-serif;
}main{
padding: 1rem;
background-color: #fff;
}

@media screen and (min-width: 992px) {
.content {
max-width: 992px;
height: auto;
margin: 1rem auto;
border-radius: 1rem;
}
}a{
color: currentColor;
text-decoration: none;
}
105 changes: 105 additions & 0 deletions assets/css/paige.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
#content{
height: 100vh;
display: grid;
grid-template-rows: 1fr 9fr;
}
header{
display: flex;
justify-content: space-between;
padding: 1rem 1rem 0 1rem;

}header a, header div{
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}header a:hover, header div:hover{
background-color: rgba(255, 255, 255, 0.418);
}header i{
color: white;
font-size: 30px;


}main{
padding: 0;
display: grid;
grid-template-rows: 1fr 1fr;
}main>div{
padding: 1rem;
}.perfil{
display: flex;
flex-direction: column;
position: relative;
color: white;
}.type{
display: flex;
}.type>li{
display: flex;
margin: .2rem;
font-size: 1.2rem;
}.perfil>span{
align-self: flex-end;
font-size: 1.5rem;
position: relative;
}h1{
margin: 0;
font-size: 3.5rem;
}.pokeImg{
position: absolute;
height: 250px;
align-self: center;
bottom: -25px;
z-index: 1;
}.info{
background-color: white;
position: absolute;
bottom: 0;
left: 0;
width: 100vw;
border-radius: 2.5rem 2.5rem 0 0;
}
th{
text-align: left;
width: 100px;
color: gray;
}th, td{
padding: 20px 7px;
font-size: 1.1rem;
}

h1, h2, h3{
text-transform: capitalize;
}
.statistic{
text-align: center;
border-bottom: 2px solid rgba(0, 0, 0, 0.233);
padding: 5px;
width: 80%;
margin: auto;
}.fa-mars{
color: blue;
margin: 0 3px;
}.fa-venus{
color: rgb(255, 42, 149);
margin: 0 3px 0 5px;
}

@media(min-width:600px){
.pokeImg{
height: 270px;
bottom: -45px;
}h1{
font-size: 5rem;
}
}@media(min-width:1100px){
.pokeImg{
height: 350px;
}h1{
font-size: 6rem;
}.type>li{
font-size: 1.5rem;
}
}
165 changes: 0 additions & 165 deletions assets/css/pokedex.css

This file was deleted.

Loading