Skip to content

Commit 72c0b15

Browse files
author
Clinton Gormley
committed
More styling changes
1 parent 8383b1d commit 72c0b15

File tree

7 files changed

+111
-68
lines changed

7 files changed

+111
-68
lines changed

_layouts/download.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
layout: default
3+
title_in_header: false
34
---
45

56
<h2 class="download_link">
6-
Download {{ page.version }} as: <a href="{{page.download_url}}">zip</a>
7+
{{ page.title }}: <a href="{{page.download_url}}">zip</a>
78
{% if page.download_nix_url != null %}
89
/ <a href="{{page.download_nix_url}}">tar.gz</a>
910
{% endif %}

_layouts/guide.html

+8-11
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
layout: default
33
---
44

5-
<div id="guide_all">
6-
<div id="guide_content">
7-
{{ content }}
8-
</div>
9-
<div id="guide_sidebar">
10-
</div>
11-
<div class="clear"></div>
12-
<script type="text/javascript">
13-
$('#guide_sidebar').load('sidebar.html');
14-
</script>
15-
</div>
5+
<div id="guide_sidebar"></div>
6+
<div class="guide_content">
7+
{{ content }}
8+
</div>
9+
10+
<script type="text/javascript">
11+
$('#guide_sidebar').load('sidebar.html');
12+
</script>

community/forum/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
title: User Forum
44
cat: community
55
---
6-
6+
<div id="forum">
77
<p>
88
<a href="http://groups.google.com/a/elasticsearch.com/group/users/">ElasticSearch User</a> is where ElasticSearch users come to <em>seek help, announce projects, and discuss</em> all kind of matters surrounding the framework and the community.
99
</p>
@@ -13,4 +13,5 @@
1313

1414
<a id="nabblelink" href="http://n3.nabble.com/ElasticSearch-Users-f115913.html">ElasticSearch Users</a>
1515
<script src="http://n3.nabble.com/embed/f115913"></script>
16+
</div>
1617

images/elasticsearch.png

-3.95 KB
Loading

images/header.png

-4.98 KB
Loading

styles/screen.css

+90-46
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,20 @@ h1,h2,h3,h4,h5,h6 {
3030
a {
3131
color: #DBF3C0;
3232
text-decoration: none;
33+
padding: 0 2px;
34+
text-decoration: none;
35+
-moz-border-radius: 3px;
36+
-webkit-border-radius: 3px;
37+
border-radius: 3px;
3338
}
39+
3440
a:hover {
35-
text-decoration: underline;
41+
background: #c0daa4;
42+
color: #000000;
43+
text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
44+
text-decoration: none;
3645
}
3746

38-
a:visited {
39-
color: #c0daa4;
40-
}
4147
h1 {
4248
font-size: 25px;
4349
}
@@ -65,7 +71,7 @@ p {
6571

6672
pre {
6773
padding: 1em; margin: 1.5em 0;
68-
background: #f9fff4;
74+
background: #C0DAA4;
6975
color: #000;
7076
display: block;
7177
font-size: 12px;
@@ -81,9 +87,9 @@ pre {
8187
-webkit-border-radius: 10px;
8288
border-radius: 10px;
8389

84-
-moz-box-shadow: 5px 5px 20px #999;
85-
-webkit-box-shadow: 5px 5px 20px #999;
86-
box-shadow: 5px 5px 20px #999;
90+
-moz-box-shadow: 5px 5px 20px #647F47;
91+
-webkit-box-shadow: 5px 5px 20px #647F47;
92+
box-shadow: 5px 5px 20px #647F47;
8793
}
8894

8995
code {background: #c0daa4; color: #000; font-family: monospace; font-size: 15px; padding-left: 3px; padding-right: 3px; padding-top: 1px; padding-bottom: 1px;}
@@ -176,6 +182,13 @@ table td {
176182
top: 175px;
177183
}
178184

185+
#header a:hover {
186+
background: transparent;
187+
color: inherit;;
188+
text-shadow: none;
189+
text-decoration: none;
190+
}
191+
179192
#header a span {
180193
display: none;
181194
}
@@ -191,11 +204,10 @@ table td {
191204
#top_left_menu {
192205
position: absolute;
193206
list-style: none;
194-
top: 75px;
195-
}
196-
197-
#top_left_menu {
207+
top: 88px;
208+
right: 0;
198209
font-family: 'Georgia', serif;
210+
z-index: 1000;
199211
}
200212

201213
#top_left_menu a {
@@ -209,14 +221,8 @@ table td {
209221
border-radius: 3px;
210222
}
211223

212-
#top_left_menu a:visited {
213-
color: #c0daa4;
214-
}
215-
216-
#top_left_menu li a:hover {
217-
background: #c0daa4;
224+
#top_left_menu a:hover {
218225
color: #000000;
219-
text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
220226
}
221227

222228

@@ -229,6 +235,7 @@ table td {
229235

230236
#home {
231237
width: 760px;
238+
margin: auto;
232239
}
233240

234241
#home .img_left {
@@ -251,6 +258,38 @@ table td {
251258
margin-right: -150px;
252259
}
253260

261+
/* Post lists */
262+
.posts {
263+
list-style: none;
264+
width: 600px;
265+
margin: auto;
266+
font-size: 18px;
267+
}
268+
269+
.posts li {
270+
clear: right;
271+
}
272+
273+
.posts a {
274+
display: block;
275+
padding: 0 10px;
276+
}
277+
278+
.posts a:hover {
279+
background: #c0daa4;
280+
color: #000000;
281+
text-shadow: 1px 1px 5px #eee;
282+
-moz-border-radius: 10px;
283+
-webkit-border-radius: 10px;
284+
border-radius: 10px;
285+
text-decoration: none;
286+
}
287+
288+
.posts .postdate {
289+
float: right;
290+
color: black;
291+
}
292+
254293

255294
/* Download pages */
256295
.download {
@@ -266,6 +305,10 @@ table td {
266305

267306

268307
/* Guide */
308+
.guide {
309+
width: 940px;
310+
}
311+
269312
.guide .index {
270313
width: 600px;
271314
margin-left: 200px;
@@ -276,40 +319,45 @@ table td {
276319
list-style-type: decimal;
277320
}
278321

279-
280-
/* Blogposts & Tutorials */
281-
.posts {
282-
list-style: none;
283-
width: 600px;
284-
margin-left: 180px;
285-
font-size: 18px;
322+
.guide .guide_content {
323+
width: 650px;
286324
}
287325

288-
.posts li {
289-
clear: right;
326+
#guide_sidebar {
327+
float: right;
328+
width: 200px;
290329
}
291330

292-
.posts a {
293-
display: block;
294-
padding: 0 10px;
331+
332+
/* Blogposts & Tutorials */
333+
.blog {
334+
width: 760px;
335+
margin: auto;
295336
}
296337

297-
.posts a:hover {
298-
background: #c0daa4;
299-
color: #000000;
300-
text-shadow: 1px 1px 5px #eee;
301-
-moz-border-radius: 10px;
302-
-webkit-border-radius: 10px;
303-
border-radius: 10px;
304-
text-decoration: none;
338+
339+
/* Tutorials */
340+
.tutorials {
341+
width: 760px;
342+
margin: auto;
305343
}
306344

307-
.posts .postdate {
308-
float: right;
309-
color: black;
345+
/* Videos */
346+
.videos {
347+
width: 760px;
348+
margin: auto;
310349
}
311350

351+
/* Community */
352+
.community {
353+
width: 600px;
354+
margin: auto;
355+
}
312356

357+
#forum {
358+
width: 940px;
359+
margin-left: -170px;
360+
}
313361

314362
#empty, #footer {
315363
height: 17px;
@@ -335,10 +383,6 @@ table td {
335383
color: #000;
336384
text-decoration: none;
337385
}
338-
#header a:visited {
339-
color: #000;
340-
text-decoration: none;
341-
}
342386

343387
#guide_all {
344388
width: 100%;

tutorials/_posts/2010-08-01-couchb-integration.textile

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
layout: tutorial
33
title: CouchDB Integration
44
cat: tutorials
5-
author:
6-
nick:
5+
author:
6+
nick:
77
tutorial_desc: CouchDB Integration
88
---
99

10-
This tutorial explains the process of setting up ElasticSearch to automatically index data
11-
in CouchDB and make it search-able. ElasticSearch 0.11 introduced a feature named "The River":http://www.elasticsearch.org/blog/2010/09/28/the_river.html]], which
10+
This tutorial explains the process of setting up ElasticSearch to automatically index data
11+
in CouchDB and make it search-able. ElasticSearch 0.11 introduced a feature named "The River":http://www.elasticsearch.org/blog/2010/09/28/the_river.html, which
1212
allows it to connect to external systems and listen for documents updates.
1313
On receiving a notification, Elasticsearch indexes the data and makes it available for search.
1414

@@ -47,15 +47,15 @@ curl -XPUT 'http://elasticsearch-host:9200/_river/my_es_idx/_meta' -d '{
4747
}'
4848
</pre>
4949

50-
**Note** : The 'elasticsearch' river index that you are creating (named **my_es_idx**) can be named anything.
50+
**Note** : The 'elasticsearch' river index that you are creating (named **my_es_idx**) can be named anything.
5151
It is only for internal use by ElasticSearch.
5252

5353
That's it. We are ready to go. At this point, what we have is:
5454

5555
* An ElasticSearch configuration that indexes all data from the CouchDB database - **my_couch_db**
5656
* ElasticSearch makes use of dynamic mapping for the documents it receives from CouchDB
5757
* Any changes to CouchDB documents are automatically updated in ElasticSearch
58-
* The (continuous) indexing will keep happening on any one node of the ElasticSearch cluster.
58+
* The (continuous) indexing will keep happening on any one node of the ElasticSearch cluster.
5959
If the node fails, this functionality is taken up by another node.
6060
* You can query ElasticSearch for the couchdb data at
6161
@http://elasticsearch-host:9200/my_couch_db/my_couch_db@.
@@ -68,7 +68,7 @@ h2. CouchDB
6868

6969
h3. Change Notifications
7070

71-
CouchDB supports a feature through which all changes to a database can be notified to external interested systems.
71+
CouchDB supports a feature through which all changes to a database can be notified to external interested systems.
7272
This is possible by making an HTTP connection to `http://couchdb-host:5984/my_couch_db/_changes`.
7373

7474
Features supported by `_changes` are:
@@ -119,11 +119,11 @@ curl -XPUT 'elasticsearch-host:9200/_river/my_es_int_idx/_meta' -d '{
119119
"type" : "couchdb",
120120

121121
"couchdb" : {
122-
"host" : "couchdb-host",
122+
"host" : "couchdb-host",
123123
"port" : 5984,
124124
"user" : "admin",
125125
"password" : "admin",
126-
"db" : "my_couch_db",
126+
"db" : "my_couch_db",
127127
"filter" : "my_design/my_filter",
128128
"filter_params" : {
129129
"param1" : "value1",

0 commit comments

Comments
 (0)