Skip to content

Commit

Permalink
Merge pull request facebook#3872 from mccambridge/master
Browse files Browse the repository at this point in the history
Added media queries for Showcase page in docs
  • Loading branch information
James Ide committed Nov 4, 2015
2 parents 0599696 + c7b46a1 commit 471449b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions website/src/react-native/css/react-native.css
Original file line number Diff line number Diff line change
Expand Up @@ -1091,13 +1091,28 @@ div[data-twttr-id] iframe {

.showcase {
margin: 30px auto;
width: 25%;
width: 100%;
display: inline-block;
text-align: center;
vertical-align: top;
transition: 0.2s opacity ease-in;
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px) {
.showcase {
width: 50%;
}
}

@media only screen
and (min-device-width: 1024px) {
.showcase {
width: 25%;
}
}

.showcase:hover {
text-decoration: none;
opacity: 0.8;
Expand All @@ -1124,7 +1139,8 @@ div[data-twttr-id] iframe {
border-radius: 20px;
}

@media only screen and (max-device-width : 1024px) {
@media only screen
and (max-device-width: 1024px) {
#content {
display: inline;
}
Expand Down

0 comments on commit 471449b

Please sign in to comment.