This repository has been archived by the owner on Jan 31, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
126 additions
and
18 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,102 @@ | ||
x-card { | ||
section { | ||
display: block; | ||
margin: 5% auto; | ||
max-width: 1000px; | ||
overflow: visible; | ||
} | ||
} | ||
|
||
.product-picker { | ||
.content, | ||
a, | ||
li { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
h1 { | ||
font-size: 3em; | ||
font-weight: normal; | ||
line-height: 110%; | ||
margin: 1rem auto; | ||
text-align: center; | ||
width: 70%; | ||
} | ||
h3 { | ||
font-size: 1.3rem; | ||
font-weight: normal; | ||
padding: 5.5rem 1rem 0px; | ||
} | ||
.content { | ||
text-align: center; | ||
overflow: visible; | ||
} | ||
li { | ||
color: #333; | ||
display: inline-block; | ||
list-style: none; | ||
} | ||
.product-card { | ||
display: inline-block; | ||
border-bottom: 1px solid #ddd; | ||
border-radius: 6px; | ||
box-shadow: 1px 1px 2px rgba(51, 51, 51, .7); | ||
height: 9rem; | ||
margin: 1rem 1rem 0 0; | ||
vertical-align: top; | ||
width: 20rem; | ||
} | ||
.firefox { | ||
background: white url(../img/logo-sprite-2x.png) 50% 4% no-repeat; | ||
} | ||
.android { | ||
background: white url(../img/logo-sprite-2x.png) 50% 17.5% no-repeat; | ||
} | ||
.fxos { | ||
background: white url(../img/logo-sprite-2x.png) 50% 44% no-repeat; | ||
} | ||
.metrofirefox { | ||
background: white url(../img/fx-metro.png) 50% 36% no-repeat; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 1024px) { | ||
.product-picker { | ||
.product-card { | ||
width: 15rem; | ||
} | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 640px) { | ||
.product-picker { | ||
h3 { | ||
font-size: 1rem; | ||
padding: 4rem 1rem 0px; | ||
} | ||
.product-card { | ||
height: 8rem; | ||
width: 8rem; | ||
} | ||
.firefox { | ||
background-position: 50% 3%; | ||
background-size: 190px; | ||
} | ||
.android { | ||
background-size: 190px; | ||
} | ||
.fxos { | ||
background-size: 190px; | ||
} | ||
.metrofirefox { | ||
background-size: 80px; | ||
} | ||
.firefox, | ||
.fxos, | ||
.metrofirefox { | ||
h3 { | ||
padding: 4.5rem 1rem 0px; | ||
} | ||
} | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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