aboutsummaryrefslogtreecommitdiff
path: root/source/stylesheets/partials/main/_layout.sass
blob: 5ad0250f4fdb4445b379f59257e791342b499d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
!page_width = 560px
!pad = 15px
!default_border_radius = 4px

html body
  background-color= !body_bg
  color= !body_color
  a
    color= !link_color

#header
  background-color= !header_bg
  border-bottom= "1px solid" !header_border
  padding: 20px 0
  a.title
    font-size= !h3
    display: inline-block
    color= !header_nav
    text-decoration: none
  #header_nav
    float: right
    +horizontal-list
    a
      color: #ccc
    li.alpha a
      color: #f2f2f2

.page_width
  width= !page_width
  margin: 0 auto
  padding:
    left: 30px
    right: 30px

#page
  background-color= !page_bg
  border-top= "1px solid" !page_border
  padding: 25px 0
  .page_width
    background-color= !page_bg

#subnav
  +clearfix
  margin: -25px 0 25px
  padding: 10px 0
  background-color= !subnav_bg
  border-bottom= "1px solid" !subnav_border
  font-size: 85%
  #account
    float: right
    a
      color= !subnav_logout_color
      display: inline-block
      padding-left: 10px
      margin-left: 8px
      border-left= "1px solid" #aaa

#footer
  font-size= !base_font_size_small
  clear: both
  padding: 15px 0
  color= !footer_color
  +h-linear-gradient(darken(!body_bg, 25), !body_bg)
  border-top= "4px solid" !footer_bg