public
Description: Webby blogging "engine"
Homepage: http://beta.reinh.com
Clone URL: git://github.com/ReinH/reinh-com.git
Updating styles
ReinH (author)
Tue Jul 15 17:52:09 -0700 2008
commit  d0944e9ef6b16256c190fd0fd9c0b910e86f7b91
tree    528237fdf8239052f31d3871c8dfaee123aabc3d
parent  628be47729b3bc9b4245a2b4789bcebaeae6fed2
...
1
2
3
4
...
 
1
2
3
0
@@ -1,4 +1,3 @@
0
-
0
 task :default => :build
0
 
0
 desc 'deploy the site to the webserver'
...
9
10
11
12
 
13
14
15
...
33
34
35
36
 
37
38
39
...
9
10
11
 
12
13
14
15
...
33
34
35
 
36
37
38
39
0
@@ -9,7 +9,7 @@ filter:
0
   - textile
0
 ---
0
 
0
-_NB:_ This has been cross-posted on my "company blog":http://hashrocket.com.
0
+_NB:_ This has been cross-posted on the "Hashrocket blog":http://hashrocket.com.
0
 
0
 We've recently switched a number of projects to "ThinkingSphinx":http://ts.freelancing-gods.com/ here at "Hashrocket":http://www.hashrocket.com. These projects were originally using SOLR or "UltraSphinx":http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html. Today, we'll explore the differences between UltraSphinx and ThinkingSphinx and why we chose to switch.
0
 
0
@@ -33,7 +33,7 @@ Let's start with a basic example of a sphinx index declaration. Keep in mind tha
0
 
0
 h4. UltraSphinx
0
 
0
-UltraSphinx uses a declarative @is_indexed@ statement in the model that feels vaguely similar in style to an association or named scope declaration. This is the usage example given in the "README":http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html:
0
+UltraSphinx uses a declarative @is_indexed@ statement in the model that feels vaguely similar in style to an association or named scope declaration. This is the usage example given in the "README":http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html:
0
 
0
 <% coderay( :lang => "ruby") do -%>
0
 class Post
...
24
25
26
27
 
28
29
30
...
46
47
48
49
50
51
52
...
74
75
76
77
78
79
80
81
82
83
...
85
86
87
88
89
90
91
...
110
111
112
 
 
 
 
113
114
115
...
231
232
233
 
 
 
 
 
234
235
236
...
239
240
241
242
243
244
245
246
...
248
249
250
251
252
253
 
254
255
256
...
390
391
392
 
393
394
395
...
24
25
26
 
27
28
29
30
...
46
47
48
 
49
50
51
...
73
74
75
 
 
 
 
76
77
78
...
80
81
82
 
83
84
85
...
104
105
106
107
108
109
110
111
112
113
...
229
230
231
232
233
234
235
236
237
238
239
...
242
243
244
 
 
245
246
247
...
249
250
251
 
 
 
252
253
254
255
...
389
390
391
392
393
394
395
0
@@ -24,7 +24,7 @@ body {
0
   margin: 0;
0
   padding: 0;
0
   color: #222;
0
-/* background: url('blueprint/lib/grid.png') repeat 12px -2px;*/
0
+ background: url('blueprint/lib/grid.png') repeat 12px 0px;
0
 }
0
 
0
 .container {
0
@@ -46,7 +46,6 @@ h2 {
0
   margin: 0;
0
   margin-bottom: .5em;
0
   color: <%= @page.color['header'] %>;
0
-
0
 }
0
 
0
 h3 {
0
@@ -74,10 +73,6 @@ p.read-more { text-align: center; margin: 18px 0 0;}
0
 p.read-more a { text-align: center; color: <%= @page.color['link-hover'] %>; font-size: 18px;}
0
 p.read-more a:hover { text-decoration: underline;}
0
 
0
-#footer, #footer a { color: #444;}
0
-#footer h3 { color: #666;}
0
-#footer a:hover { color: #125AA7;}
0
-
0
 blockquote {
0
   margin-left: 0;
0
   padding-left: 1.5em;
0
@@ -85,7 +80,6 @@ blockquote {
0
 }
0
 
0
 pre {
0
-/* background: <%= @page.color['box-bg'] %>;*/
0
   padding: .9px 0;
0
   margin: 0 0 18px;
0
 }
0
@@ -110,6 +104,10 @@ ul.no-bullet li {
0
   padding-left: none;
0
 }
0
 
0
+em {
0
+ background: #ffe;
0
+}
0
+
0
 /* Tables
0
  * --------------------------------------------------------------------- */
0
 table {
0
@@ -231,6 +229,11 @@ dl.posts dd {
0
   line-height: 18px;
0
 }
0
 
0
+#footer {position:relative;}
0
+
0
+#footer, #footer a { color: #444;}
0
+#footer h3 { color: #777;}
0
+#footer a:hover { color: #125AA7;}
0
 
0
 #footer p {
0
   margin-bottom: .5em;
0
@@ -239,8 +242,6 @@ dl.posts dd {
0
 #footer .panel {
0
   width: 180px;
0
   margin-right: 20px;
0
- border-top: 3px solid <%= @page.color['border'] %>;
0
- padding-top: 1.5em;
0
 }
0
 
0
 #footer .panel.last {
0
@@ -248,9 +249,7 @@ dl.posts dd {
0
   margin-right: 0;
0
 }
0
 
0
-#about {position:relative;}
0
-
0
-#about .top-link {top:0;}
0
+a.top-link {top:0;}
0
 
0
 #copyright {}
0
   
0
@@ -390,6 +389,7 @@ div.entry-content {
0
 
0
 .post-list h3.month {
0
   position: absolute;
0
+ top: -1px;
0
   text-align: right;
0
   width: 190px;
0
   padding-right: 10px;
...
57
58
59
60
 
61
62
63
...
69
70
71
 
72
73
74
...
79
80
81
82
83
84
85
...
57
58
59
 
60
61
62
63
...
69
70
71
72
73
74
75
...
80
81
82
 
83
84
85
0
@@ -57,7 +57,7 @@ filter:
0
      </h1>
0
      <div class="nav">
0
        <ul>
0
- <li class="column span-2 append-1"><a href="#about" onClick='document.getElementById("about").setAttribute("style", "background:#FFFFDD")'>About</a></li>
0
+ <li class="column span-2 append-1"><a href="#about" onClick='document.getElementById("about").setAttribute("style", "background:#FFFFEE")'>About</a></li>
0
         <li class="column span-2 append-1"><a href="/#recent">Recently</a></li>
0
         <li class="column span-2 last <%= "active" if @page.title == "Archive" %>"><a href="/blog/archive">Archive</a></li>
0
        </ul>
0
@@ -69,6 +69,7 @@ filter:
0
    </div>
0
 
0
    <div class="column span-15 first last section" id="footer">
0
+ <a class="extra-quiet plain top-link" href='#header' onClick='document.getElementById("about").setAttribute("style", "background:#FFFFFF")'>[top]</a>
0
      <div class="panel column first">
0
        <div id="about">
0
          <h3>About</h3>
0
@@ -79,7 +80,6 @@ filter:
0
            <li><a href="http://feeds.feedburner.com/reinh" rel="alternate" type="application/rss+xml">Subscribe</a>&nbsp;<a href="http://feeds.feedburner.com/reinh" rel="alternate" type="application/rss+xml"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0;margin:0;padding:0"/></a></li>
0
            <li><a href="http://twitter.com/reinh">Twitter Me</a></li>
0
          </ul>
0
- <a class="extra-quiet plain top-link" href='#header' onClick='document.getElementById("about").setAttribute("style", "background:#FFFFFF")'>[top]</a>
0
        </div>
0
      </div>
0
      <div class="panel column plain">
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ module Widont
0
   class << self
0
     def widont_single(text)
0
       text.strip!
0
- text[text.rindex(' '), 1] = '&nbsp;' if text.rindex(' ')
0
+ text[text.rindex(' '), 1] = '&nbsp;' if text.rindex(' ') and !text.include?('&nbsp;')
0
       text
0
     end
0
     alias_method :widont, :widont_single
...
1
2
3
 
 
 
 
 
 
 
 
4
 
 
 
 
5
6
7
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,7 +1,19 @@
0
 
0
 require 'rake/contrib/sshpublisher'
0
 
0
+task :staging do
0
+ SITE.remote_dir = "/var/www/beta.reinh.com"
0
+end
0
+
0
+task :production do
0
+ SITE.remote_dir = "/var/www/reinh.com"
0
+end
0
+
0
 namespace :deploy do
0
+ SITE.user = "www"
0
+ SITE.host = "reinh"
0
+ SITE.remote_dir = "/var/www/beta.reinh.com"
0
+ SITE.rsync_args = %w( -av --delete )
0
 
0
   desc 'Deploy to the server using rsync'
0
   task :rsync do

Comments

    No one has commented yet.