Permalink
Browse files

Improved landing page design for mobile devices.

  • Loading branch information...
1 parent 8e807a7 commit c2789fa5af82033170a414fa119497d4ecc4b0a9 @reid reid committed Aug 26, 2012
Showing with 8 additions and 3 deletions.
  1. +7 −3 doc/yeti/assets/landing.css
  2. +1 −0 doc/yeti/layouts/main.mustache
@@ -13,29 +13,33 @@ body {
font-size: 120%;
text-align: center;
}
+.content {
+ padding: 0 16px;
+}
h1 {
font-size: 1000%;
font-weight: 900;
letter-spacing: -4px;
margin: 0;
+ padding: 0;
}
h2 {
font-weight: 100;
font-size: 250%;
margin-top: -1%;
- margin-bottom: 3%;
+ margin-bottom: 25px;
}
h3 {
margin-top: 3%;
}
p {
- margin: 1%;
+ margin: 15px;
}
.yui3-button {
color: #444;
font-size: 120%;
line-height: 101%;
- padding: 1em 2em .95em;
+ padding: 1em 1em .95em;
}
a.yui3-button:visited {
color: #444;
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{htmlTitle}}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic">
<link rel="stylesheet" href="{{yuiGridsUrl}}&amp;3.6.0/build/cssbutton/cssbutton-min.css">
<link rel="stylesheet" href="{{projectAssets}}/css/main.css">

0 comments on commit c2789fa

Please sign in to comment.