neruda 0.1.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/pablo +71 -33
- data/lib/neruda/config.rb +59 -16
- data/lib/neruda/config/lisp_config.rb +140 -79
- data/lib/neruda/config/org-config.el +6 -6
- data/lib/neruda/config/ox-neruda.el +28 -2
- data/lib/neruda/emacs.rb +44 -0
- data/lib/neruda/index.rb +50 -36
- data/lib/neruda/index/atom_generator.rb +16 -16
- data/lib/neruda/index/org_generator.rb +63 -41
- data/lib/neruda/org_file.rb +47 -14
- data/lib/neruda/org_file/class_methods.rb +38 -21
- data/lib/neruda/org_file/extracter.rb +12 -1
- data/lib/neruda/org_file/htmlizer.rb +6 -32
- data/lib/neruda/preview.rb +9 -7
- data/lib/neruda/templater.rb +3 -2
- data/lib/neruda/utils.rb +120 -35
- data/lib/neruda/version.rb +2 -1
- data/lib/tasks/org.rake +48 -26
- data/lib/tasks/site.rake +36 -33
- data/lib/tasks/sync.rake +6 -2
- data/lib/tasks/tags.rake +19 -0
- data/locales/en.yml +20 -1
- data/locales/fr.yml +20 -1
- metadata +57 -30
- data/themes/default/css/style.css +0 -216
- data/themes/default/fonts/Yanone_Kaffeesatz_400.woff +0 -0
- data/themes/default/fonts/Yanone_Kaffeesatz_400.woff2 +0 -0
@@ -1,216 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This theme is a copy of the one of Pelican https://getpelican.com/
|
3
|
-
* Bellow is the original notice from pelican website, about the theme
|
4
|
-
* inspired by https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/
|
5
|
-
* As the original is under a MIT license, the following is also
|
6
|
-
* distributed under the same license.
|
7
|
-
*/
|
8
|
-
|
9
|
-
/*
|
10
|
-
Name: Smashing HTML5
|
11
|
-
Date: July 2009
|
12
|
-
Description: Sample layout for HTML5 and CSS3 goodness.
|
13
|
-
Version: 1.0
|
14
|
-
License: MIT <http://opensource.org/licenses/MIT>
|
15
|
-
Licensed by: Smashing Media GmbH <http://www.smashingmagazine.com/>
|
16
|
-
Original author: Enrique Ramírez <http://enrique-ramirez.com/>
|
17
|
-
*/
|
18
|
-
|
19
|
-
|
20
|
-
@font-face {
|
21
|
-
font-family: 'Yanone Kaffeesatz';
|
22
|
-
font-style: normal;
|
23
|
-
font-weight: 400;
|
24
|
-
src:
|
25
|
-
local('Yanone Kaffeesatz Regular'),
|
26
|
-
local('YanoneKaffeesatz-Regular'),
|
27
|
-
/* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLRTHiN2BPBirwIkMLKUspj4.woff */
|
28
|
-
url('../fonts/Yanone_Kaffeesatz_400.woff') format('woff'),
|
29
|
-
/* from https://fonts.gstatic.com/s/yanonekaffeesatz/v8/YDAoLskQQ5MOAgvHUQCcLfGwxTS8d1Q9KiDNCMKLFUM.woff2 */
|
30
|
-
url('../fonts/Yanone_Kaffeesatz_400.woff2') format('woff2');
|
31
|
-
}
|
32
|
-
|
33
|
-
/***** Global *****/
|
34
|
-
/* Body */
|
35
|
-
body {
|
36
|
-
background: #F5F4EF;
|
37
|
-
color: #000305;
|
38
|
-
font-size: 87.5%; /* Base font size: 14px */
|
39
|
-
font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
40
|
-
line-height: 1.429;
|
41
|
-
margin: 0;
|
42
|
-
padding: 0;
|
43
|
-
text-align: left;
|
44
|
-
}
|
45
|
-
|
46
|
-
/* Headings */
|
47
|
-
h1 {font-size: 2em }
|
48
|
-
h2 {font-size: 1.571em} /* 22px */
|
49
|
-
h3 {font-size: 1.429em} /* 20px */
|
50
|
-
h4 {font-size: 1.286em} /* 18px */
|
51
|
-
h5 {font-size: 1.143em} /* 16px */
|
52
|
-
h6 {font-size: 1em} /* 14px */
|
53
|
-
|
54
|
-
h1, h2, h3, h4, h5, h6 {
|
55
|
-
font-weight: 400;
|
56
|
-
line-height: 1.1;
|
57
|
-
margin-bottom: .8em;
|
58
|
-
font-family: 'Yanone Kaffeesatz', arial, serif;
|
59
|
-
}
|
60
|
-
|
61
|
-
h3, h4, h5, h6 { margin-top: .8em; }
|
62
|
-
|
63
|
-
hr { border: 2px solid #EEEEEE; }
|
64
|
-
|
65
|
-
/* Anchors */
|
66
|
-
a {outline: 0;}
|
67
|
-
a img {border: 0px; text-decoration: none;}
|
68
|
-
a:link, a:visited {
|
69
|
-
color: #C74350;
|
70
|
-
padding: 0 1px;
|
71
|
-
text-decoration: underline;
|
72
|
-
}
|
73
|
-
a:hover, a:active {
|
74
|
-
background-color: #C74350;
|
75
|
-
color: #fff;
|
76
|
-
text-decoration: none;
|
77
|
-
text-shadow: 1px 1px 1px #333;
|
78
|
-
}
|
79
|
-
|
80
|
-
h1 a:hover {
|
81
|
-
background-color: inherit
|
82
|
-
}
|
83
|
-
|
84
|
-
/* Paragraphs */
|
85
|
-
p { margin-top: 1em;
|
86
|
-
margin-bottom: 1em;}
|
87
|
-
|
88
|
-
strong, b {font-weight: bold;}
|
89
|
-
em, i {font-style: italic;}
|
90
|
-
|
91
|
-
/* Lists */
|
92
|
-
ul {
|
93
|
-
list-style: outside disc;
|
94
|
-
margin: 0em 0 0 1.5em;
|
95
|
-
}
|
96
|
-
|
97
|
-
ol {
|
98
|
-
list-style: outside decimal;
|
99
|
-
margin: 0em 0 0 1.5em;
|
100
|
-
}
|
101
|
-
|
102
|
-
li { margin-top: 0.5em;
|
103
|
-
margin-bottom: 1em; }
|
104
|
-
|
105
|
-
.post-info {
|
106
|
-
float:right;
|
107
|
-
margin:10px;
|
108
|
-
padding:5px;
|
109
|
-
}
|
110
|
-
|
111
|
-
.post-info p{
|
112
|
-
margin-top: 1px;
|
113
|
-
margin-bottom: 1px;
|
114
|
-
}
|
115
|
-
|
116
|
-
dl {margin: 0 0 1.5em 0;}
|
117
|
-
dt {font-weight: bold;}
|
118
|
-
dd {margin-left: 1.5em;}
|
119
|
-
|
120
|
-
pre{padding: 10px; margin: 10px; overflow: auto;}
|
121
|
-
|
122
|
-
/* Quotes */
|
123
|
-
blockquote {
|
124
|
-
margin: 20px;
|
125
|
-
font-style: italic;
|
126
|
-
}
|
127
|
-
|
128
|
-
/* Tables */
|
129
|
-
table {margin: .5em auto 1.5em auto; width: 98%;}
|
130
|
-
|
131
|
-
/* Thead */
|
132
|
-
thead th {padding: .5em .4em; text-align: left;}
|
133
|
-
|
134
|
-
/* Tbody */
|
135
|
-
tbody td {padding: .5em .4em;}
|
136
|
-
|
137
|
-
/* HTML5 tags */
|
138
|
-
header, section, footer,
|
139
|
-
aside, nav, article, figure {
|
140
|
-
display: block;
|
141
|
-
}
|
142
|
-
|
143
|
-
/*
|
144
|
-
Header
|
145
|
-
*****************/
|
146
|
-
header {
|
147
|
-
margin: 0 auto;
|
148
|
-
padding: 0 0 2.5em 0;
|
149
|
-
}
|
150
|
-
|
151
|
-
/* Banner */
|
152
|
-
header h1 {font-size: 3.571em;}
|
153
|
-
|
154
|
-
/* Main Nav */
|
155
|
-
header nav {
|
156
|
-
background: #000305;
|
157
|
-
font-size: 1.143em;
|
158
|
-
height: 40px;
|
159
|
-
line-height: 30px;
|
160
|
-
margin: 0 auto 2em auto;
|
161
|
-
padding: 0;
|
162
|
-
text-align: center;
|
163
|
-
width: 800px;
|
164
|
-
border-radius: 5px;
|
165
|
-
-moz-border-radius: 5px;
|
166
|
-
-webkit-border-radius: 5px;
|
167
|
-
}
|
168
|
-
|
169
|
-
header nav ul {list-style: none; margin: 0 auto; width: 800px;}
|
170
|
-
header nav li {float: left; display: inline; margin: 0;}
|
171
|
-
|
172
|
-
header nav a:link, header nav a:visited {
|
173
|
-
color: #fff;
|
174
|
-
display: inline-block;
|
175
|
-
height: 30px;
|
176
|
-
padding: 5px 1.5em;
|
177
|
-
text-decoration: none;
|
178
|
-
}
|
179
|
-
header nav a:hover, header nav a:active,
|
180
|
-
header nav .active a:link, header nav .active a:visited {
|
181
|
-
background: #C74451;
|
182
|
-
color: #fff;
|
183
|
-
text-shadow: none !important;
|
184
|
-
}
|
185
|
-
|
186
|
-
header nav li:first-child a {
|
187
|
-
border-top-left-radius: 5px;
|
188
|
-
-moz-border-radius-topleft: 5px;
|
189
|
-
-webkit-border-top-left-radius: 5px;
|
190
|
-
border-bottom-left-radius: 5px;
|
191
|
-
-moz-border-radius-bottomleft: 5px;
|
192
|
-
-webkit-border-bottom-left-radius: 5px;
|
193
|
-
}
|
194
|
-
|
195
|
-
/*
|
196
|
-
Body
|
197
|
-
*****************/
|
198
|
-
#content, #postamble {
|
199
|
-
width: 800px;
|
200
|
-
margin: 0 auto;
|
201
|
-
}
|
202
|
-
.outline-2 {
|
203
|
-
background: #fff;
|
204
|
-
margin-bottom: 2em;
|
205
|
-
overflow: hidden;
|
206
|
-
padding: 20px 20px;
|
207
|
-
width: 760px;
|
208
|
-
border-radius: 10px;
|
209
|
-
-moz-border-radius: 10px;
|
210
|
-
-webkit-border-radius: 10px;
|
211
|
-
}
|
212
|
-
.org-src-container label.org-src-name {
|
213
|
-
display: block;
|
214
|
-
text-align: center;
|
215
|
-
font-size: smaller;
|
216
|
-
}
|
Binary file
|
Binary file
|