public
Description: Starter Kit for developers using Ruby on Rails to quickly get a blog up & running and then add features.
Homepage: http://www.faithfulgeek.org
Clone URL: git://github.com/faithfulgeek/blog-starter-kit.git
Styled posts on the homepage; fixed single post width
Joe Fiorini (author)
Mon Apr 14 21:28:54 -0700 2008
commit  ee6172e62a792bebe98917bfd995ee6e830fd91d
tree    d4da736e78428c7c85106799835f648c97894644
parent  25bf41b25df561a98e85e1b0ecf70c84dd615064
...
1
2
3
 
4
5
6
...
9
10
11
12
13
14
15
...
1
2
 
3
4
5
6
...
9
10
11
 
12
13
14
0
@@ -1,6 +1,6 @@
0
 .post
0
   %img{:src => "/images/icons/24-book-blue-mark.png"}
0
- %h2= link_to post.title, post
0
+ %h2.title= link_to post.title, post
0
   %h3#tags
0
     on
0
     = format_date_long(post.created_at)
0
@@ -9,7 +9,6 @@
0
     %a{:href => "/tags/personal"} personal
0
     –
0
     %a{:href => "/tags/dogs"} dogs
0
- %hr
0
   .post-content
0
     = post.body
0
     #tools
...
1
 
 
2
3
4
...
 
1
2
3
4
5
0
@@ -1,4 +1,5 @@
0
-= render_partial 'post', @post
0
+#posts
0
+ = render_partial 'post', @post
0
 
0
 %a{:name => 'comments'}
0
 .comments
...
1
2
3
4
5
...
 
 
 
 
0
0
@@ -1,4 +0,0 @@
0
-.post
0
-{
0
- margin-right: 310px;
0
-}
0
\ No newline at end of file
...
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
...
57
58
59
60
 
61
62
63
 
 
 
 
 
 
 
64
65
66
...
69
70
71
72
73
74
75
76
77
78
 
79
80
81
 
 
 
 
82
83
84
...
91
92
93
94
 
95
96
97
98
99
 
 
100
101
102
...
104
105
106
 
 
 
 
 
107
108
 
 
109
110
111
...
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
...
79
80
81
 
82
83
84
85
86
87
88
89
90
91
92
93
94
95
...
98
99
100
 
 
 
 
 
 
 
101
102
 
 
103
104
105
106
107
108
109
...
116
117
118
 
119
120
 
 
 
 
121
122
123
124
125
...
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
0
@@ -11,31 +11,53 @@ h1
0
   font-weight: bold;
0
 }
0
 
0
+h1 a, h1 a:link, h1 a:visited, h1 a:active
0
+{
0
+ border: none;
0
+}
0
+
0
 h2
0
 {
0
   color: #99f;
0
   font-size: 1.75em;
0
- font-variant: small-caps;
0
- font-family: sans-serif;
0
   display: inline;
0
 }
0
 
0
-h3
0
+h2.title
0
+{
0
+ font-family: georgia, 'times new roman', serif;
0
+ font-size: 1.65em;
0
+}
0
+
0
+h3#tags
0
 {
0
   font-size: .75em;
0
- color: #999;
0
+ color: #666;
0
+ margin-top: 7px;
0
+ margin-bottom: 7px;
0
 }
0
 
0
-p
0
+a, a:link, a:visited, a:active
0
 {
0
- padding-top: .5em;
0
- padding-bottom: .5em;
0
+ color: #465A9C;
0
+}
0
+
0
+a, a:link, a:visited, a:active
0
+{
0
+ color: #435695;
0
+ text-decoration: none;
0
+ border-bottom: 1px dotted #435695;
0
 }
0
 
0
-fieldset
0
+a:hover
0
 {
0
- border: 1px dashed #999;
0
- padding: .5em;
0
+ color: #263256;
0
+}
0
+
0
+p
0
+{
0
+ padding-top: .5em;
0
+ padding-bottom: .5em;
0
 }
0
 
0
 #main
0
@@ -57,10 +79,17 @@ fieldset
0
 
0
 #page-content
0
 {
0
- margin-right: 310px;
0
+ margin-right: 340px;
0
   padding-bottom: 1em;  
0
 }
0
 
0
+#tools
0
+{
0
+ position: relative;
0
+ margin-top: 20px;
0
+ left: 35px;
0
+}
0
+
0
 #modules
0
 {
0
   margin-left: -310px;
0
@@ -69,16 +98,12 @@ fieldset
0
   float: left;
0
 }
0
 
0
-#header img
0
-{
0
- float:right;
0
- margin-right:15px;
0
-}
0
-
0
-#welcome_message
0
+#footer
0
 {
0
- float: right;
0
- margin-right:15px;
0
+ clear: both;
0
+ padding: 1em;
0
+ font-size: small;
0
+ text-align: center;
0
 }
0
 
0
 #header h1 a
0
@@ -91,12 +116,10 @@ fieldset
0
   text-indent: -9999px;
0
 }
0
 
0
-#footer
0
+#header img
0
 {
0
- clear: both;
0
- padding: 1em;
0
- font-size: small;
0
- text-align: center;
0
+ float:right;
0
+ margin-right:15px;
0
 }
0
 
0
 .module
0
@@ -104,8 +127,15 @@ fieldset
0
   margin-bottom: 1em;
0
 }
0
 
0
+.post
0
+{
0
+ margin-bottom: 35px;
0
+}
0
+
0
 .post-content
0
 {
0
+ border-top: 1px solid #bbb;
0
+ padding-top: 7px;
0
   text-align: left;
0
 }
0
 

Comments

    No one has commented yet.