serious 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -303,11 +303,12 @@ to learn how to add your own formatters or erb helpers.
303
303
 
304
304
  == TODO
305
305
 
306
- * static pages
306
+ * unescaped special chars in yaml front matter can lead to errors
307
+ * text not readable in android
308
+ * valid xhtml in demo setup
307
309
  * make summary delim configurable
308
- * make caching better
310
+ * improve caching
309
311
  * make it possible to host in subdirectories
310
- * valid xhtml in demo setup
311
312
  * allow for choice between erb/haml templates
312
313
 
313
314
  == Note on Patches/Pull Requests
@@ -320,12 +321,6 @@ to learn how to add your own formatters or erb helpers.
320
321
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
321
322
  * Send me a pull request. Bonus points for topic branches.
322
323
 
323
- == Font credits
324
-
325
- The fonts supplied with the gem and used by the default theme are Yanone Kaffeesatz
326
- (http://www.fonts.info/info/en_yanone-kaffeesatz.htm) and Vollkorn (http://friedrichalthausen.de/2006/01/01/vollkorn/),
327
- licensed under Creative Commons Attribution 2.0 Generic (http://creativecommons.org/licenses/by/2.0/).
328
-
329
324
  == Thanks
330
325
 
331
326
  Alexis Sellier for toto, the main inspiration for this gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
data/lib/serious/tasks.rb CHANGED
@@ -56,7 +56,7 @@ end
56
56
 
57
57
  desc "Runs a server hosting your site on localhost:3000 using rackup"
58
58
  task :server do
59
- puts "Server listening on http://localhost:3000"
59
+ puts "Server launching on http://localhost:3000"
60
60
  system "rackup -p 3000 -o localhost"
61
61
  puts "Bye!"
62
62
  end
@@ -1,13 +1,10 @@
1
1
  /* Shamelessly stolen from railscasts.com - thank you Ryan! */
2
- .CodeRay {
2
+ .CodeRay, pre {
3
3
  background-color: #232323;
4
4
  border: 1px solid black;
5
- font-family: 'Consolas', 'Inconsolata', 'Monaco', 'Courier New', 'Terminal', monospace;
6
- line-height: 1.4;
7
5
  color: #E6E0DB;
8
6
  padding: 3px 5px;
9
7
  overflow: auto;
10
- font-size: 12px;
11
8
  margin: 12px 0;
12
9
  }
13
10
  .CodeRay pre {
@@ -6,25 +6,22 @@ body {
6
6
  width: 800px;
7
7
  }
8
8
 
9
- @font-face {
10
- font-family: Vollkorn;
11
- src: url('/fonts/vollkorn.otf') format("opentype");
12
- }
13
-
14
- @font-face {
15
- font-family: 'Yanone Kaffeesatz Thin';
16
- src: url('/fonts/YanoneKaffeesatz-Thin.otf') format("opentype");
17
- }
18
-
19
-
20
9
  div, p {
21
- font-family: 'Vollkorn', Georgia, Times, serif;
10
+ font-family: Georgia, Times, serif;
22
11
  }
23
12
 
24
13
  h1, h2, h3, h4 {
25
- font-family: 'Yanone Kaffeesatz Thin', "Helvetica", "Arial", "Verdana", sans-serif;
14
+ font-family: "Helvetica", "Arial", "Verdana", sans-serif;
26
15
  padding: 0;
27
16
  margin: 0;
17
+ line-height: 120%;
18
+ }
19
+
20
+
21
+ .CodeRay, pre, code {
22
+ font-size: 14px;
23
+ font-family: 'Consolas', 'Inconsolata', 'Monaco', 'Courier New', 'Terminal', monospace;
24
+ line-height: 1.4;
28
25
  }
29
26
 
30
27
  .date {
@@ -50,7 +47,6 @@ h1, h2, h3, h4 {
50
47
  }
51
48
 
52
49
  #header h1 {
53
- font-family: 'Yanone Kaffeesatz Thin', "Helvetica", "Arial", "Verdana", sans-serif;
54
50
  font-size: 28px;
55
51
  }
56
52
 
@@ -88,6 +84,11 @@ h1, h2, h3, h4 {
88
84
  margin-bottom: 80px;
89
85
  }
90
86
 
87
+ .body h1, .body h2, .body h3, .body h4, .body h5 {
88
+ padding-top: 20px;
89
+ font-size: 95%;
90
+ }
91
+
91
92
  #container .body a {
92
93
  color: #BE2805;
93
94
  }
@@ -19,11 +19,6 @@
19
19
  <p>
20
20
  This blog is <a href="http://github.com/colszowka/serious">serious</a>.
21
21
  </p>
22
- <p>
23
- Fonts used are <a href="http://www.fonts.info/info/en_yanone-kaffeesatz.htm">Yanone Kaffeesatz</a> and
24
- <a href="http://friedrichalthausen.de/2006/01/01/vollkorn/">Vollkorn</a>, licensed under
25
- <a href="http://creativecommons.org/licenses/by/2.0/">CC 2.0</a>.
26
- </p>
27
22
  </div>
28
23
 
29
24
  <%= render_partial :google_analytics if Serious.google_analytics %>
data/serious.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{serious}
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christoph Olszowka"]
12
- s.date = %q{2010-02-14}
12
+ s.date = %q{2010-02-25}
13
13
  s.default_executable = %q{serious}
14
14
  s.description = %q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra}
15
15
  s.email = %q{christoph at olszowka dot de}
@@ -33,8 +33,6 @@ Gem::Specification.new do |s|
33
33
  "lib/serious/tasks.rb",
34
34
  "lib/site/public/css/coderay.css",
35
35
  "lib/site/public/css/serious.css",
36
- "lib/site/public/fonts/YanoneKaffeesatz-Thin.otf",
37
- "lib/site/public/fonts/vollkorn.otf",
38
36
  "lib/site/views/404.erb",
39
37
  "lib/site/views/_archives.erb",
40
38
  "lib/site/views/_article.erb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Olszowka
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-14 00:00:00 +01:00
12
+ date: 2010-02-25 00:00:00 +01:00
13
13
  default_executable: serious
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -96,8 +96,6 @@ files:
96
96
  - lib/serious/tasks.rb
97
97
  - lib/site/public/css/coderay.css
98
98
  - lib/site/public/css/serious.css
99
- - lib/site/public/fonts/YanoneKaffeesatz-Thin.otf
100
- - lib/site/public/fonts/vollkorn.otf
101
99
  - lib/site/views/404.erb
102
100
  - lib/site/views/_archives.erb
103
101
  - lib/site/views/_article.erb
Binary file