Skip to content

Commit

Permalink
feat(tp): responsive design for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
yong-jie committed Sep 10, 2020
1 parent d0ca036 commit f072733
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions public/assets/transition-page/styles/transition-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ body {
.top-half {
background: #384a51;
height: 50vh;
min-height: 380px;
position: relative;
}

Expand Down Expand Up @@ -119,13 +118,23 @@ body {
}

@media only screen and (max-width: 512px) {
.top-half {
height: 30vh;
}

.top-half-content {
bottom: -58px;
width: 80%;
}

.top-half-content h3 {
margin-bottom: 16px;
margin-bottom: 12px;
font-size: 22px;
}

.top-half-content a {
font-size: 14px;
margin-bottom: 0;
}

.browser-image {
Expand Down Expand Up @@ -154,7 +163,7 @@ body {
}

.top-half-content h3 {
margin-bottom: 16px;
margin-bottom: 0;
margin-left: 8px;
margin-right: 8px;
}
Expand Down

0 comments on commit f072733

Please sign in to comment.