Skip to content

Instantly share code, notes, and snippets.

@paolojoaquinp
Created October 19, 2021 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paolojoaquinp/5dfba2f402269e1202e6336b07317da5 to your computer and use it in GitHub Desktop.
Save paolojoaquinp/5dfba2f402269e1202e6336b07317da5 to your computer and use it in GitHub Desktop.
lego-superheroes/styles/tablet.css
* {
margin: 0;
padding:0;
}
body {
width: 100%;
height: 100vh;
}
.page {
overflow-y: auto;
}
.side-content {
grid-template-columns: 1fr 1fr;
}
.side-content img {
grid-column: 2 / 3;
width: 90%;
}
.side-content p {
align-self: center;
}
.main-content {
margin-top: -70px;
padding: 0px;
margin-left: 50px;
}
.main-content h1 {
font-size: 38px;
}
.main-content p:first-child {
font-size: 26px;
line-height: 45px;
}
.main-content p:last-child {
width: 80%;
padding: 0 0 0 0;
}
.footer {
flex-direction: column;
height: 100%;
border-radius: 50px 0 0 50px;
}
.footer div {
border-radius: 25px 0 0 25px;
width: 70%;
height: 30%;
}
.footer div img {
width: 140px;
position: relative;
}
.modal__content {
width: 300px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment