alula-themes 0.4.6 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/VERSION +1 -1
  2. data/lib/alula/themes.rb +4 -1
  3. data/lib/alula/themes/focused.rb +20 -0
  4. data/lib/alula/themes/minimal.rb +13 -0
  5. data/themes/focused/assets/images/Lato-Bla-webfont.eot +0 -0
  6. data/themes/focused/assets/images/Lato-Bla-webfont.svg +311 -0
  7. data/themes/focused/assets/images/Lato-Bla-webfont.ttf +0 -0
  8. data/themes/focused/assets/images/Lato-Bla-webfont.woff +0 -0
  9. data/themes/focused/assets/images/Lato-BlaIta-webfont.eot +0 -0
  10. data/themes/focused/assets/images/Lato-BlaIta-webfont.svg +295 -0
  11. data/themes/focused/assets/images/Lato-BlaIta-webfont.ttf +0 -0
  12. data/themes/focused/assets/images/Lato-BlaIta-webfont.woff +0 -0
  13. data/themes/focused/assets/images/Lato-Bol-webfont.eot +0 -0
  14. data/themes/focused/assets/images/Lato-Bol-webfont.svg +311 -0
  15. data/themes/focused/assets/images/Lato-Bol-webfont.ttf +0 -0
  16. data/themes/focused/assets/images/Lato-Bol-webfont.woff +0 -0
  17. data/themes/focused/assets/images/Lato-BolIta-webfont.eot +0 -0
  18. data/themes/focused/assets/images/Lato-BolIta-webfont.svg +295 -0
  19. data/themes/focused/assets/images/Lato-BolIta-webfont.ttf +0 -0
  20. data/themes/focused/assets/images/Lato-BolIta-webfont.woff +0 -0
  21. data/themes/focused/assets/images/Lato-Hai-webfont.eot +0 -0
  22. data/themes/focused/assets/images/Lato-Hai-webfont.svg +311 -0
  23. data/themes/focused/assets/images/Lato-Hai-webfont.ttf +0 -0
  24. data/themes/focused/assets/images/Lato-Hai-webfont.woff +0 -0
  25. data/themes/focused/assets/images/Lato-HaiIta-webfont.eot +0 -0
  26. data/themes/focused/assets/images/Lato-HaiIta-webfont.svg +295 -0
  27. data/themes/focused/assets/images/Lato-HaiIta-webfont.ttf +0 -0
  28. data/themes/focused/assets/images/Lato-HaiIta-webfont.woff +0 -0
  29. data/themes/focused/assets/images/Lato-Lig-webfont.eot +0 -0
  30. data/themes/focused/assets/images/Lato-Lig-webfont.svg +311 -0
  31. data/themes/focused/assets/images/Lato-Lig-webfont.ttf +0 -0
  32. data/themes/focused/assets/images/Lato-Lig-webfont.woff +0 -0
  33. data/themes/focused/assets/images/Lato-LigIta-webfont.eot +0 -0
  34. data/themes/focused/assets/images/Lato-LigIta-webfont.svg +295 -0
  35. data/themes/focused/assets/images/Lato-LigIta-webfont.ttf +0 -0
  36. data/themes/focused/assets/images/Lato-LigIta-webfont.woff +0 -0
  37. data/themes/focused/assets/images/Lato-Reg-webfont.eot +0 -0
  38. data/themes/focused/assets/images/Lato-Reg-webfont.svg +311 -0
  39. data/themes/focused/assets/images/Lato-Reg-webfont.ttf +0 -0
  40. data/themes/focused/assets/images/Lato-Reg-webfont.woff +0 -0
  41. data/themes/focused/assets/images/Lato-RegIta-webfont.eot +0 -0
  42. data/themes/focused/assets/images/Lato-RegIta-webfont.svg +295 -0
  43. data/themes/focused/assets/images/Lato-RegIta-webfont.ttf +0 -0
  44. data/themes/focused/assets/images/Lato-RegIta-webfont.woff +0 -0
  45. data/themes/focused/assets/images/smilies.png +0 -0
  46. data/themes/focused/assets/images/smilies/angel.png +0 -0
  47. data/themes/focused/assets/images/smilies/angry.png +0 -0
  48. data/themes/focused/assets/images/smilies/cool.png +0 -0
  49. data/themes/focused/assets/images/smilies/crying.png +0 -0
  50. data/themes/focused/assets/images/smilies/devilish.png +0 -0
  51. data/themes/focused/assets/images/smilies/embarrassed.png +0 -0
  52. data/themes/focused/assets/images/smilies/exclaim.png +0 -0
  53. data/themes/focused/assets/images/smilies/idea.png +0 -0
  54. data/themes/focused/assets/images/smilies/kiss.png +0 -0
  55. data/themes/focused/assets/images/smilies/laugh.png +0 -0
  56. data/themes/focused/assets/images/smilies/monkey.png +0 -0
  57. data/themes/focused/assets/images/smilies/plain.png +0 -0
  58. data/themes/focused/assets/images/smilies/question.png +0 -0
  59. data/themes/focused/assets/images/smilies/raspberry.png +0 -0
  60. data/themes/focused/assets/images/smilies/sad.png +0 -0
  61. data/themes/focused/assets/images/smilies/smile-big.png +0 -0
  62. data/themes/focused/assets/images/smilies/smile.png +0 -0
  63. data/themes/focused/assets/images/smilies/smirk.png +0 -0
  64. data/themes/focused/assets/images/smilies/stock_right.png +0 -0
  65. data/themes/focused/assets/images/smilies/surprise.png +0 -0
  66. data/themes/focused/assets/images/smilies/uncertain.png +0 -0
  67. data/themes/focused/assets/images/smilies/wink.png +0 -0
  68. data/themes/focused/assets/images/smilies/worried.png +0 -0
  69. data/themes/focused/assets/javascripts/focused.js.coffee +7 -0
  70. data/themes/focused/assets/javascripts/jquery.masonry.js +500 -0
  71. data/themes/focused/assets/javascripts/jquery.wookmark.js +170 -0
  72. data/themes/focused/assets/stylesheets/1140.css +126 -0
  73. data/themes/focused/assets/stylesheets/focused.css.scss +66 -0
  74. data/themes/focused/assets/stylesheets/ie.css +43 -0
  75. data/themes/focused/assets/stylesheets/lato.css.erb +134 -0
  76. data/themes/focused/assets/stylesheets/reset.css +31 -0
  77. data/themes/focused/assets/stylesheets/smilies.css.erb +46 -0
  78. data/themes/focused/assets/stylesheets/styles.css +34 -0
  79. data/themes/focused/layouts/default.html.haml +44 -0
  80. data/themes/focused/views/archive.html.haml +2 -0
  81. data/themes/focused/views/page.html.haml +3 -0
  82. data/themes/focused/views/paginate.html.haml +13 -0
  83. data/themes/focused/views/post.html.haml +20 -0
  84. data/themes/minimal/assets/stylesheets/minimal.css.scss +1 -18
  85. metadata +83 -2
@@ -0,0 +1,31 @@
1
+ /* CSS Resets */
2
+
3
+ html,body,div,span,object,iframe,
4
+ h1,h2,h3,h4,h5,h6,p,blockquote,pre,
5
+ a,abbr,address,cite,code,del,dfn,em,
6
+ img,ins,q,small,strong,sub,sup,dl,dt,
7
+ dd,ol,ul,li,fieldset,form,label,
8
+ legend,table,caption,tbody,tfoot,
9
+ thead,tr,th,td {
10
+ border:0;
11
+ margin:0;
12
+ padding:0
13
+ }
14
+
15
+ article,aside,figure,figure img,figcaption,
16
+ hgroup,footer,header,nav,section,video,object {
17
+ display:block
18
+ }
19
+
20
+ a img {
21
+ border:0
22
+ }
23
+
24
+ figure {
25
+ position:relative
26
+ }
27
+
28
+ figure img {
29
+ width:100%
30
+ }
31
+
@@ -0,0 +1,46 @@
1
+ .smilies-worried,
2
+ .smilies-wink,
3
+ .smilies-uncertain,
4
+ .smilies-surprise,
5
+ .smilies-stock_right,
6
+ .smilies-smirk,
7
+ .smilies-smile,
8
+ .smilies-smile-big,
9
+ .smilies-sad,
10
+ .smilies-raspberry,
11
+ .smilies-question,
12
+ .smilies-plain,
13
+ .smilies-monkey,
14
+ .smilies-laugh,
15
+ .smilies-kiss,
16
+ .smilies-idea,
17
+ .smilies-exclaim,
18
+ .smilies-embarrassed,
19
+ .smilies-devilish,
20
+ .smilies-crying,
21
+ .smilies-cool,
22
+ .smilies-angry,
23
+ .smilies-angel{background-image:url(<%= asset_url("smilies.png")%>);background-repeat:no-repeat;display:inline-block;text-indent:-9999px}
24
+ .smilies-worried{background-position:0px 0px;width:16px;height:16px;}
25
+ .smilies-wink{background-position:-16px 0px;width:16px;height:16px;}
26
+ .smilies-uncertain{background-position:0px -16px;width:16px;height:16px;}
27
+ .smilies-surprise{background-position:-16px -16px;width:16px;height:16px;}
28
+ .smilies-stock_right{background-position:-32px 0px;width:16px;height:16px;}
29
+ .smilies-smirk{background-position:-32px -16px;width:16px;height:16px;}
30
+ .smilies-smile{background-position:0px -32px;width:16px;height:16px;}
31
+ .smilies-smile-big{background-position:-16px -32px;width:16px;height:16px;}
32
+ .smilies-sad{background-position:-32px -32px;width:16px;height:16px;}
33
+ .smilies-raspberry{background-position:-48px 0px;width:16px;height:16px;}
34
+ .smilies-question{background-position:-48px -16px;width:16px;height:16px;}
35
+ .smilies-plain{background-position:-48px -32px;width:16px;height:16px;}
36
+ .smilies-monkey{background-position:0px -48px;width:16px;height:16px;}
37
+ .smilies-laugh{background-position:-16px -48px;width:16px;height:16px;}
38
+ .smilies-kiss{background-position:-32px -48px;width:16px;height:16px;}
39
+ .smilies-idea{background-position:-48px -48px;width:16px;height:16px;}
40
+ .smilies-exclaim{background-position:-64px 0px;width:16px;height:16px;}
41
+ .smilies-embarrassed{background-position:-64px -16px;width:16px;height:16px;}
42
+ .smilies-devilish{background-position:-64px -32px;width:16px;height:16px;}
43
+ .smilies-crying{background-position:-64px -48px;width:16px;height:16px;}
44
+ .smilies-cool{background-position:0px -64px;width:16px;height:16px;}
45
+ .smilies-angry{background-position:-16px -64px;width:16px;height:16px;}
46
+ .smilies-angel{background-position:-32px -64px;width:16px;height:16px;}
@@ -0,0 +1,34 @@
1
+ /* ============================== */
2
+ /* ! Layout for desktop version */
3
+ /* ============================== */
4
+
5
+ body {
6
+
7
+ }
8
+
9
+
10
+ /* ============================= */
11
+ /* ! Layout for mobile version */
12
+ /* ============================= */
13
+
14
+ @media handheld, only screen and (max-width: 767px) {
15
+
16
+ body {
17
+
18
+ }
19
+
20
+ }
21
+
22
+
23
+ /* ========================================== */
24
+ /* ! Provide higher res assets for iPhone 4 */
25
+ /* ========================================== */
26
+
27
+ @media only screen and (-webkit-min-device-pixel-ratio: 2) {
28
+
29
+ /* .logo {
30
+ background: url(logo2x.jpg) no-repeat;
31
+ background-size: 212px 303px;
32
+ }*/
33
+
34
+ }
@@ -0,0 +1,44 @@
1
+ !!!
2
+ %html{lang: locale}
3
+ %head
4
+ %meta{charset: "UTF-8"}
5
+ - if site.description != ""
6
+ %meta{name: "description", content: site.description}
7
+ - if site.author != ""
8
+ %meta{name: "author", content: site.author}
9
+ %title= (item.title ? "#{item.title} - " : "") + site.title
10
+
11
+ %meta{name: "viewport", content: "width=device-width, initial-scale=1"}
12
+ /[if lt IE 9]
13
+ = javascript_link "html5shiv"
14
+ = addons :head
15
+
16
+ %body{class: [item.id, "lang-#{locale}"]}
17
+ .container
18
+ .row
19
+ .sixcol
20
+ .title
21
+ = link_to site.title, site.url
22
+ %small= site.tagline
23
+ .sixcol
24
+ .sidebar
25
+ %ul
26
+ - item.sidebar.each do |item|
27
+ %li= link_to item.title, url_for(item.url)
28
+
29
+ .row
30
+ .onecol &nbsp;
31
+ .tencol
32
+ = yield
33
+
34
+ .row
35
+ .eigthcol
36
+ %p
37
+ Blog by
38
+ = site.author
39
+ %p
40
+ %small
41
+ = addons :footer
42
+ Powered by #{link_to "Alula", "http://www.alula.in"} &mdash;
43
+ Theme #{link_to "focused", "https://github.com/owlforestry/alula-themes"}
44
+ = addons :body
@@ -0,0 +1,2 @@
1
+ - item.posts(locale).each do |post|
2
+ %h2{itemprop:"headline"}= link_to post.title, post.url
@@ -0,0 +1,3 @@
1
+ %article{itemscope:true, itemtype:"http://schema.org/BlogPosting"}
2
+ .articleBody{itemprop:"articleBody"}= content
3
+
@@ -0,0 +1,13 @@
1
+ .paginate
2
+ - item.posts.each do |post|
3
+ .item
4
+ .content= post.body
5
+ .meta
6
+ %time{datetime: post.date.strftime("%FT%T%:z"), itemprop: "pubdate", data: {updated: true}}
7
+ = link_to I18n.l(post.date, format: "%a %d %b %Y", locale: locale), post.url
8
+
9
+ %p.navigation
10
+ - if item.previous
11
+ %a{class: "left", title: I18n.t('paginate.older_posts', locale: locale), href: item.previous.url} &laquo; #{I18n.t('paginate.older_posts', locale: locale)}
12
+ - if item.next
13
+ %a{class: "right", title: I18n.t('paginate.newer_posts', locale: locale), href: item.next.url} #{I18n.t('paginate.newer_posts', locale: locale)} &raquo;
@@ -0,0 +1,20 @@
1
+ %article{itemscope:true, itemtype:"http://schema.org/BlogPosting"}
2
+ .post
3
+ .meta
4
+ %time{datetime: item.date.strftime("%FT%T%:z"), itemprop: "pubdate", data: {updated: true}}
5
+ = I18n.l(item.date, format: "%a %d %b %Y", locale: locale)
6
+
7
+ %h1{itemprop:"headline"}= item.title
8
+ .articleBody{itemprop:"articleBody"}= content
9
+
10
+ = addons :post_bottom
11
+
12
+ - if item.navigation
13
+ %p.navigation
14
+ - if item.previous
15
+ %a{class: "left", title: I18n.t('post.previous', locale: locale), href: item.previous.url} &laquo; #{I18n.t('post.previous', locale: locale)}
16
+ - if item.next
17
+ %a{class: "right", title: I18n.t('post.next', locale: locale), href: item.next.url} #{I18n.t('post.next', locale: locale)} &raquo;
18
+
19
+ .spacer
20
+
@@ -51,13 +51,6 @@ a {
51
51
  text-decoration:none;
52
52
  }
53
53
 
54
- a small {
55
- font-size:11px;
56
- color:#777;
57
- margin-top:-0.6em;
58
- display:block;
59
- }
60
-
61
54
  .wrapper {
62
55
  width:860px;
63
56
  margin:0 auto;
@@ -187,17 +180,7 @@ footer {
187
180
  border-width:1px 0;
188
181
  padding:20px 0;
189
182
  margin:0 0 20px;
190
- }
191
-
192
- header a small {
193
- display:inline;
194
- }
195
-
196
- header ul {
197
- position:absolute;
198
- right:50px;
199
- top:52px;
200
- }
183
+ }
201
184
  }
202
185
 
203
186
  @media print, screen and (max-width: 720px) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alula-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-29 00:00:00.000000000 Z
12
+ date: 2012-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: alula
@@ -74,7 +74,88 @@ files:
74
74
  - VERSION
75
75
  - alula-themes.gemspec
76
76
  - lib/alula/themes.rb
77
+ - lib/alula/themes/focused.rb
78
+ - lib/alula/themes/minimal.rb
77
79
  - lib/alula/themes/version.rb
80
+ - themes/focused/assets/images/Lato-Bla-webfont.eot
81
+ - themes/focused/assets/images/Lato-Bla-webfont.svg
82
+ - themes/focused/assets/images/Lato-Bla-webfont.ttf
83
+ - themes/focused/assets/images/Lato-Bla-webfont.woff
84
+ - themes/focused/assets/images/Lato-BlaIta-webfont.eot
85
+ - themes/focused/assets/images/Lato-BlaIta-webfont.svg
86
+ - themes/focused/assets/images/Lato-BlaIta-webfont.ttf
87
+ - themes/focused/assets/images/Lato-BlaIta-webfont.woff
88
+ - themes/focused/assets/images/Lato-Bol-webfont.eot
89
+ - themes/focused/assets/images/Lato-Bol-webfont.svg
90
+ - themes/focused/assets/images/Lato-Bol-webfont.ttf
91
+ - themes/focused/assets/images/Lato-Bol-webfont.woff
92
+ - themes/focused/assets/images/Lato-BolIta-webfont.eot
93
+ - themes/focused/assets/images/Lato-BolIta-webfont.svg
94
+ - themes/focused/assets/images/Lato-BolIta-webfont.ttf
95
+ - themes/focused/assets/images/Lato-BolIta-webfont.woff
96
+ - themes/focused/assets/images/Lato-Hai-webfont.eot
97
+ - themes/focused/assets/images/Lato-Hai-webfont.svg
98
+ - themes/focused/assets/images/Lato-Hai-webfont.ttf
99
+ - themes/focused/assets/images/Lato-Hai-webfont.woff
100
+ - themes/focused/assets/images/Lato-HaiIta-webfont.eot
101
+ - themes/focused/assets/images/Lato-HaiIta-webfont.svg
102
+ - themes/focused/assets/images/Lato-HaiIta-webfont.ttf
103
+ - themes/focused/assets/images/Lato-HaiIta-webfont.woff
104
+ - themes/focused/assets/images/Lato-Lig-webfont.eot
105
+ - themes/focused/assets/images/Lato-Lig-webfont.svg
106
+ - themes/focused/assets/images/Lato-Lig-webfont.ttf
107
+ - themes/focused/assets/images/Lato-Lig-webfont.woff
108
+ - themes/focused/assets/images/Lato-LigIta-webfont.eot
109
+ - themes/focused/assets/images/Lato-LigIta-webfont.svg
110
+ - themes/focused/assets/images/Lato-LigIta-webfont.ttf
111
+ - themes/focused/assets/images/Lato-LigIta-webfont.woff
112
+ - themes/focused/assets/images/Lato-Reg-webfont.eot
113
+ - themes/focused/assets/images/Lato-Reg-webfont.svg
114
+ - themes/focused/assets/images/Lato-Reg-webfont.ttf
115
+ - themes/focused/assets/images/Lato-Reg-webfont.woff
116
+ - themes/focused/assets/images/Lato-RegIta-webfont.eot
117
+ - themes/focused/assets/images/Lato-RegIta-webfont.svg
118
+ - themes/focused/assets/images/Lato-RegIta-webfont.ttf
119
+ - themes/focused/assets/images/Lato-RegIta-webfont.woff
120
+ - themes/focused/assets/images/smilies.png
121
+ - themes/focused/assets/images/smilies/angel.png
122
+ - themes/focused/assets/images/smilies/angry.png
123
+ - themes/focused/assets/images/smilies/cool.png
124
+ - themes/focused/assets/images/smilies/crying.png
125
+ - themes/focused/assets/images/smilies/devilish.png
126
+ - themes/focused/assets/images/smilies/embarrassed.png
127
+ - themes/focused/assets/images/smilies/exclaim.png
128
+ - themes/focused/assets/images/smilies/idea.png
129
+ - themes/focused/assets/images/smilies/kiss.png
130
+ - themes/focused/assets/images/smilies/laugh.png
131
+ - themes/focused/assets/images/smilies/monkey.png
132
+ - themes/focused/assets/images/smilies/plain.png
133
+ - themes/focused/assets/images/smilies/question.png
134
+ - themes/focused/assets/images/smilies/raspberry.png
135
+ - themes/focused/assets/images/smilies/sad.png
136
+ - themes/focused/assets/images/smilies/smile-big.png
137
+ - themes/focused/assets/images/smilies/smile.png
138
+ - themes/focused/assets/images/smilies/smirk.png
139
+ - themes/focused/assets/images/smilies/stock_right.png
140
+ - themes/focused/assets/images/smilies/surprise.png
141
+ - themes/focused/assets/images/smilies/uncertain.png
142
+ - themes/focused/assets/images/smilies/wink.png
143
+ - themes/focused/assets/images/smilies/worried.png
144
+ - themes/focused/assets/javascripts/focused.js.coffee
145
+ - themes/focused/assets/javascripts/jquery.masonry.js
146
+ - themes/focused/assets/javascripts/jquery.wookmark.js
147
+ - themes/focused/assets/stylesheets/1140.css
148
+ - themes/focused/assets/stylesheets/focused.css.scss
149
+ - themes/focused/assets/stylesheets/ie.css
150
+ - themes/focused/assets/stylesheets/lato.css.erb
151
+ - themes/focused/assets/stylesheets/reset.css
152
+ - themes/focused/assets/stylesheets/smilies.css.erb
153
+ - themes/focused/assets/stylesheets/styles.css
154
+ - themes/focused/layouts/default.html.haml
155
+ - themes/focused/views/archive.html.haml
156
+ - themes/focused/views/page.html.haml
157
+ - themes/focused/views/paginate.html.haml
158
+ - themes/focused/views/post.html.haml
78
159
  - themes/minimal/assets/images/Lato-Bla-webfont.eot
79
160
  - themes/minimal/assets/images/Lato-Bla-webfont.svg
80
161
  - themes/minimal/assets/images/Lato-Bla-webfont.ttf