Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add partial

  • Loading branch information...
commit 757f16099b40125c82e60b157146be40ea82e7b6 1 parent ba756a8
nawakkap authored
102 app/assets/stylesheets/custom.css.scss
... ... @@ -0,0 +1,102 @@
  1 +@import "bootstrap";
  2 +
  3 +/* mixins, variables, etc. */
  4 +
  5 +$grayMediumLight: #eaeaea;
  6 +
  7 +/* universal */
  8 +
  9 +html {
  10 + overflow-y: scroll;
  11 +}
  12 +
  13 +body {
  14 + padding-top: 60px;
  15 +}
  16 +
  17 +section {
  18 + overflow: auto;
  19 +}
  20 +
  21 +textarea {
  22 + resize: vertical;
  23 +}
  24 +
  25 +.center {
  26 + text-align: center;
  27 + h1 {
  28 + margin-bottom: 10px;
  29 + }
  30 +}
  31 +
  32 +/* typography */
  33 +
  34 +h1, h2, h3, h4, h5, h6 {
  35 + line-height: 1;
  36 +}
  37 +
  38 +h1 {
  39 + font-size: 3em;
  40 + letter-spacing: -2px;
  41 + margin-bottom: 30px;
  42 + text-align: center;
  43 +}
  44 +
  45 +h2 {
  46 + font-size: 1.7em;
  47 + letter-spacing: -1px;
  48 + margin-bottom: 30px;
  49 + text-align: center;
  50 + font-weight: normal;
  51 + color: $grayLight;
  52 +}
  53 +
  54 +p {
  55 + font-size: 1.1em;
  56 + line-height: 1.7em;
  57 +}
  58 +
  59 +
  60 +/* header */
  61 +
  62 +#logo {
  63 + float: left;
  64 + margin-right: 10px;
  65 + font-size: 1.7em;
  66 + color: white;
  67 + text-transform: uppercase;
  68 + letter-spacing: -1px;
  69 + padding-top: 9px;
  70 + font-weight: bold;
  71 + line-height: 1;
  72 + &:hover {
  73 + color: white;
  74 + text-decoration: none;
  75 + }
  76 +}
  77 +
  78 +/* footer */
  79 +
  80 +footer {
  81 + margin-top: 45px;
  82 + padding-top: 5px;
  83 + border-top: 1px solid $grayMediumLight;
  84 + color: $grayLight;
  85 + a {
  86 + color: $gray;
  87 + &:hover {
  88 + color: $grayDarker;
  89 + }
  90 + }
  91 + small {
  92 + float: left;
  93 + }
  94 + ul {
  95 + float: right;
  96 + list-style: none;
  97 + li {
  98 + float: left;
  99 + margin-left: 10px;
  100 + }
  101 + }
  102 +}
13 app/views/layouts/_footer.html.erb
... ... @@ -0,0 +1,13 @@
14 app/views/layouts/_header.html.erb
... ... @@ -0,0 +1,14 @@
  1 +<header class="navbar navbar-fixed-top">
  2 + <div class="navbar-inner">
  3 + <div class="container">
  4 + <%= link_to "sample app", '#', id: "logo"%>
  5 + <nav>
  6 + <ul class="nav pull-right">
  7 + <li><%=link_to "Home", '#'%></li>
  8 + <li><%=link_to "Help", '#'%></li>
  9 + <li><%=link_to "Sign in", '#'%></li>
  10 + </ul>
  11 + </nav>
  12 + </div>
  13 + </div>
  14 +</header>
3  app/views/layouts/_shim.html.erb
... ... @@ -0,0 +1,3 @@
  1 +<!--[if lt IE 9]>
  2 +<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  3 +<![endif]-->

0 comments on commit 757f160

Please sign in to comment.
Something went wrong with that request. Please try again.