summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/wyrm/sass/wyrm_docs/_kss.sass
blob: a8e639147b7f989a5b1b61bd4d18b643dbbd8655 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
body
  background: $section-background-color
  max-width: 100%
  padding: 0
  margin: 0
#wrap
  +outer-container
  padding: 0 $gutter
nav.wy-docs-nav
  padding: $gutter * 2 0
  background: none
  box-shadow: none
  +span-columns(3)
  .logo-area
    +clearfix
    padding-bottom: $base-line-height
    border-bottom: solid 1px rgba(0,0,0,.1)
    margin-bottom: $base-line-height / 2
  img
    width: 125px
    float: right
  h3
    font-family: $base-font-family
    margin-top: $base-line-height
    margin-bottom: $base-font-size / 2
  p
    font-size: 80%
    margin-bottom: 0
    line-height: 1.5
section.content, article.content
  padding: $gutter * 2 0
  +span-columns(9)

.wy-menu
  a:hover
    text-decoration: none

.wy-menu-horiz
  +clearfix
  ul, li
    display: inline-block
  li:hover
    background: rgba(255,255,255,.1)
  li
    &.divide-left
      border-left: solid 1px hsl(0, 0%, 25%)
    &.divide-right
      border-right: solid 1px hsl(0, 0%, 25%)
  a
    height: $base-font-size * 2
    display: inline-block
    line-height: $base-font-size * 2
    padding: 0 $base-font-size

.wy-menu-vertical
  header
    height: $base-font-size * 2
    display: inline-block
    line-height: $base-font-size * 2
    padding: 0 $gutter
    display: block


    font-weight: bold
    text-transform: uppercase
    font-size: 80%
    color: $text-light
    white-space: nowrap

  dl
    margin-bottom: $base-line-height
  dt
    border-bottom: solid 1px rgba(0,0,0,.05)
    font-weight: bold
    padding: $gutter / 4 0
    margin-top: $base-line-height / 2
  dt:first-child
    margin-top: 0
  dd
    &.divide-top
      border-top: solid 1px hsl(0, 0%, 25%)
    &.divide-bottom
      border-bottom: solid 1px hsl(0, 0%, 25%)
    &.current
      background: darken($section-background-color, 10%)
      a
        color: $text-medium
        border-right: solid 1px darken($section-background-color, 20%)
        padding: $gutter / 4 $gutter * 1.5
        &:hover
          background: darken($section-background-color, 15%)
  // On state for the first level
  a.active, dd.active a
    color: $section-background-color
    padding: $gutter / 8 $gutter / 2
    font-weight: bold
    position: relative
    background: $gray-dark
    border-right: solid 10px $gray-darker
    +font-smooth
    &:hover
      background: $gray-dark
  dd.active
    a.sub-one, a.sub-two
      padding: 0 $gutter / 2
      list-style: disc
      color: $link-color
      background: none
      font-size: 80%
      border: none
      font-weight: normal
      line-height: 1.5
      background: darken($section-background-color, 5%)
      text-transform: none
      &:hover
        text-decoration: underline
      &.active
        color: $text-color
      &:nth-child(2)
        padding-top: $gutter / 4
      &:last-child
        padding-bottom: $gutter / 4
    a.sub-two
      color: $text-color
      padding-left: $gutter * 1

  a
    display: inline-block
    line-height: $base-line-height
    padding: $gutter / 8 $gutter / 2
    display: block
    position: relative
    font-size: 90%
    text-transform: capitalize
    color: $text-color
    &:hover
      background-color: rgba(0,0,0,.05)
      cursor: pointer
    &:active
      background-color: $gray-darker
      color: $white
      cursor: pointer

.examples
  > li
    border-top: solid 1px rgba(0,0,0,.1)
    padding: $base-line-height / 2 0
    position: relative
    list-style: none
    margin-left: 0
    +clearfix
  .desc
    display: inline-block
    margin-bottom: $base-line-height / 2
    font-weight: bold
  .name
    color: $text-lighter
    font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace
    background: #2d2d2d
    display: inline-block
    padding: 0 $base-line-height / 4
    float: right
    font-size: 10px
  .markup
    display: block

.prettyprint
  font-size: 12px
  line-height: 1.5

pre
  margin: 0 0 $base-line-height 0

.markdown ul
  @extend %wy-plain-list-disc
.markdown ol
  @extend %wy-plain-list-decimal

.grid-example
  background: $gray-lighter
  padding: $gutter
  +outer-container
  section,aside
    background: $gray-light
    padding: $gutter
  section
    +span-columns(8)
    +omega-type
  aside
    +span-columns(4)

+media($tablet)
  article.content
    +span-columns(8)
  nav.wy-docs-nav
    +span-columns(8)