pipin 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc
CHANGED
data/lib/pipin/templates/pipinrc
CHANGED
@@ -0,0 +1,174 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
margin: 0px;
|
4
|
+
padding: 0px;
|
5
|
+
font-size: 90%;
|
6
|
+
background-color: #eee;
|
7
|
+
}
|
8
|
+
|
9
|
+
div.header {
|
10
|
+
padding: 1px 1em;
|
11
|
+
margin-bottom: 30px;
|
12
|
+
border-bottom:solid 1px #bbb;
|
13
|
+
background-color: #fff;
|
14
|
+
}
|
15
|
+
|
16
|
+
div.header blockquote {
|
17
|
+
margin: 0em;
|
18
|
+
padding: 0em;
|
19
|
+
color: #444;
|
20
|
+
border: none;
|
21
|
+
background-color: #fff;
|
22
|
+
font-size: 85%;
|
23
|
+
}
|
24
|
+
|
25
|
+
div.header blockquote p,
|
26
|
+
div.header div.menus {
|
27
|
+
margin: 0px;
|
28
|
+
padding: 0.6em 1em;
|
29
|
+
}
|
30
|
+
|
31
|
+
div.content {
|
32
|
+
margin: 0px 64px;
|
33
|
+
padding: 0.7em 1.5em;
|
34
|
+
border: solid 1px #bbb;
|
35
|
+
background-color: #fff;
|
36
|
+
}
|
37
|
+
|
38
|
+
h1 {
|
39
|
+
font-size: xx-large;
|
40
|
+
}
|
41
|
+
|
42
|
+
div.footer {
|
43
|
+
padding: 10px 60px;
|
44
|
+
font-size: small;
|
45
|
+
color: #888;
|
46
|
+
text-align: center;
|
47
|
+
}
|
48
|
+
|
49
|
+
div.entry {
|
50
|
+
margin: 2em 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
div.before_entry,
|
54
|
+
div.after_entry {
|
55
|
+
margin: 0;
|
56
|
+
padding: 0;
|
57
|
+
text-align: right;
|
58
|
+
clear: both;
|
59
|
+
}
|
60
|
+
|
61
|
+
h2 {
|
62
|
+
margin: 0em 0em;
|
63
|
+
margin-bottom: 0.6em;
|
64
|
+
padding: 0;
|
65
|
+
border-bottom: 1px solid #7c89ea;
|
66
|
+
font-size: x-large;
|
67
|
+
}
|
68
|
+
|
69
|
+
h3 {
|
70
|
+
color: #063;
|
71
|
+
}
|
72
|
+
|
73
|
+
p {
|
74
|
+
line-height: 160%;
|
75
|
+
}
|
76
|
+
|
77
|
+
li {
|
78
|
+
line-height: 160%;
|
79
|
+
}
|
80
|
+
|
81
|
+
pre {
|
82
|
+
padding: 0.4em;
|
83
|
+
_padding: 0.4em;
|
84
|
+
_width: 100%;
|
85
|
+
overflow: auto;
|
86
|
+
background-color: #eee;
|
87
|
+
border:solid 1px #aaa;
|
88
|
+
font-size: 90%;
|
89
|
+
font-family: 'MS Gothic', monospace;
|
90
|
+
}
|
91
|
+
|
92
|
+
blockquote {
|
93
|
+
margin: 1em;
|
94
|
+
padding: 0.2em 0.5em;
|
95
|
+
border:solid 1px #c8c8c8;
|
96
|
+
background-color: #ffffc0;
|
97
|
+
color: #000;
|
98
|
+
font-size: 90%;
|
99
|
+
}
|
100
|
+
|
101
|
+
div.date {
|
102
|
+
font-weight: bold;
|
103
|
+
color: #666;
|
104
|
+
}
|
105
|
+
|
106
|
+
a { color: #04f; }
|
107
|
+
a:visited { color: #08f; }
|
108
|
+
a:hover {
|
109
|
+
color: #fff;
|
110
|
+
background-color: #47d;
|
111
|
+
}
|
112
|
+
/* a { text-decoration: none; } */
|
113
|
+
|
114
|
+
img { margin: 4px 3px; }
|
115
|
+
a img {
|
116
|
+
margin: 4px 3px;
|
117
|
+
padding: 0px;
|
118
|
+
border: 1px solid #88f;
|
119
|
+
text-decoration: none;
|
120
|
+
}
|
121
|
+
a:hover img {
|
122
|
+
border: 1px solid #8af;
|
123
|
+
text-decoration: none;
|
124
|
+
}
|
125
|
+
|
126
|
+
/* for plugins */
|
127
|
+
div.header div.menus {
|
128
|
+
text-align: right;
|
129
|
+
}
|
130
|
+
|
131
|
+
div.categories,
|
132
|
+
div.calender {
|
133
|
+
margin: 1em 1em;
|
134
|
+
padding: 0.2em 0.2em;
|
135
|
+
border: 1px solid #88f;
|
136
|
+
}
|
137
|
+
|
138
|
+
div.comments {
|
139
|
+
text-align: left;
|
140
|
+
}
|
141
|
+
|
142
|
+
div.comments span.name {
|
143
|
+
font-weight: bold;
|
144
|
+
}
|
145
|
+
|
146
|
+
div.comments span.time a {
|
147
|
+
margin-left: 0.4em;
|
148
|
+
color: #888;
|
149
|
+
font-size: 85%;
|
150
|
+
text-decoration: none;
|
151
|
+
}
|
152
|
+
|
153
|
+
div.comments p {
|
154
|
+
margin: 0px;
|
155
|
+
padding: 0.4em 1em;
|
156
|
+
font-size: 90%;
|
157
|
+
}
|
158
|
+
|
159
|
+
div.amazon {
|
160
|
+
margin: 0.4em;
|
161
|
+
float: right;
|
162
|
+
}
|
163
|
+
|
164
|
+
/*
|
165
|
+
* for printer
|
166
|
+
* */
|
167
|
+
@media print {
|
168
|
+
div.main {
|
169
|
+
width: 100%;
|
170
|
+
border: none;
|
171
|
+
margin: 0px;
|
172
|
+
padding: 0px;
|
173
|
+
}
|
174
|
+
}
|
data/lib/pipin/version.rb
CHANGED
data/lib/pipin/views/layout.haml
CHANGED
@@ -6,14 +6,15 @@
|
|
6
6
|
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
7
7
|
%meta{:content => "text/javascript", "http-equiv" => "Content-Script-Type"}/
|
8
8
|
%meta{:category => "ruby; setup"}/
|
9
|
-
%link{:rel => "stylesheet", :type => 'text/css', :href => 'pipin.css'
|
9
|
+
%link{:rel => "stylesheet", :type => 'text/css', :href => config[:css] || 'stylesheets/pipin.css'}/
|
10
10
|
%title&= @title || config[:title]
|
11
11
|
%body
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
.header
|
13
|
+
%h1&= config[:title]
|
14
|
+
.menus
|
15
|
+
%a{:href => '' + html_extname} Latest
|
16
|
+
%a{:href => 'archives' + html_extname} Archives
|
17
|
+
%a{:href => 'about' + html_extname} About
|
17
18
|
.main
|
18
19
|
=# render_plugin_hook(:flavour_header, self)
|
19
20
|
.content
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
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: 2011-
|
12
|
+
date: 2011-07-15 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: simple blog system
|
15
15
|
email:
|
@@ -33,7 +33,7 @@ files:
|
|
33
33
|
- lib/pipin/templates/data/about.txt
|
34
34
|
- lib/pipin/templates/data/hello.src
|
35
35
|
- lib/pipin/templates/pipinrc
|
36
|
-
- lib/pipin/templates/stylesheets/pipin.css
|
36
|
+
- lib/pipin/templates/public/stylesheets/pipin.css
|
37
37
|
- lib/pipin/version.rb
|
38
38
|
- lib/pipin/views/archives.haml
|
39
39
|
- lib/pipin/views/layout.haml
|
File without changes
|