diff options
Diffstat (limited to 'public/less/_home.less')
-rw-r--r-- | public/less/_home.less | 74 |
1 files changed, 42 insertions, 32 deletions
diff --git a/public/less/_home.less b/public/less/_home.less index 28487fedad..c90e8ec414 100644 --- a/public/less/_home.less +++ b/public/less/_home.less @@ -1,36 +1,46 @@ .home { - padding-bottom: @footer-margin * 2; - .logo { - max-width: 220px; - } - .hero { - h1, h2 { - font-family: 'PT Sans Narrow', sans-serif, 'Microsoft YaHei'; - } - h1 { - font-size: 5.5em; - } - h2 { - font-size: 3em; - } - .octicon { - color: #5aa509; - font-size: 40px; - width: 50px; - } - &.header { - font-size: 20px; - } - } - p.large { - font-size: 16px - } - .stackable { - padding-top: 30px; - } - a { - color: #5aa509; - } + padding-bottom: @footer-margin * 2; + .logo { + max-width: 220px; + } + .hero { + h1, h2 { + font-family: 'PT Sans Narrow', sans-serif, 'Microsoft YaHei'; + } + @media only screen and (max-width: 767px) { + h1 { + font-size: 3.5em; + } + h2 { + font-size: 2em; + } + } + @media only screen and (min-width: 768px) { + h1 { + font-size: 5.5em; + } + h2 { + font-size: 3em; + } + } + .octicon { + color: #5aa509; + font-size: 40px; + width: 50px; + } + &.header { + font-size: 20px; + } + } + p.large { + font-size: 16px + } + .stackable { + padding-top: 30px; + } + a { + color: #5aa509; + } } .signup { |