Skip to content

Commit ace25e6

Browse files
committed
Various fixes
1 parent 6f5c06e commit ace25e6

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

_includes/menu.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</a>
66
<div id="menu" class="main-menu pure-menu pure-menu-open">
77
<div class="logo">
8-
<img src="/assets/images/logo.png" />
8+
<a href="/"><img src="/assets/images/logo.png" /></a>
99
</div>
1010
<ul class="main-menu-items">
1111
<li class="{% if page.url contains "about" %}pure-menu-selected{% endif %}"><a href="/about">About</a></li>

about/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
overview: true
55
---
66
<div class="content">
7-
<h3>What is it?</h3>
7+
<h2>What is it?</h2>
88
<p class="description">
99
The PHP Content Repository is an adaption of the Java Content Repository (<a href="http://en.wikipedia.org/wiki/Content_repository_API_for_Java" class="external-link" rel="nofollow">JCR</a>) standard, an open API specification defined in <a href="http://jcp.org/en/jsr/detail?id=283" title="JSR: Java Specification Request" class="external-link" rel="nofollow">JSR-283</a>. <br/>
1010
The API defines how to handle hierarchical semi-structured data in a consistent way.
@@ -14,15 +14,15 @@ <h3>What is it?</h3>
1414
PHPCR combines the best out of <a href="http://en.wikipedia.org/wiki/Document-oriented_database">document-oriented databases</a> (weak structured data) and of <a href="http://en.wikipedia.org/wiki/XML_database">XML databases</a> (hierarchical trees). On top of that, it adds useful features like searching, versioning, access control and locking on top of it.
1515
</p>
1616

17-
<h3>When to use PHPCR</h3>
17+
<h2>When to use PHPCR</h2>
1818
<ul>
1919
<li>For hierarchical navigation structures</li>
2020
<li>For compound data that belongs together. i.e. a web page with attached files or translations</li>
2121
<li>You need to version content</li>
2222
<li>You want full text search</li>
2323
</ul>
2424

25-
<h3>When not to use PHPCR</h3>
25+
<h2>When not to use PHPCR</h2>
2626
<p style="margin:0px">
2727
PHPCR is targeted at semi structured content. For strictly structured content and when using aggregation queries, we recommend using relational databases.<br/>
2828
For example: A web shop where products are stored in PHPCR, orders are stored in a relational database.

assets/main.css

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
color: #777;
2+
color: #333;
33
}
44

55
#forkme {
@@ -90,9 +90,10 @@ The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
9090
appears on the left side of the page.
9191
*/
9292

93-
#menu .logo {
93+
94+
#menu .logo img {
9495
text-align: center;
95-
margin: 20px 0px;
96+
margin: 20px 15px;
9697
}
9798

9899
#menu {
@@ -258,3 +259,10 @@ Hides the menu at `48em`, but modify this based on your app's needs.
258259
left: 200px;
259260
}
260261
}
262+
263+
.content h2 {
264+
background-color: #1F8DD6;
265+
color: white;
266+
padding: 12px;
267+
border-radius: 5px;
268+
}

tools/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ title: Tools
44
---
55
This page aims to list all the available PHPCR tools.
66

7+
## Browsers / Editors
8+
79
### PHPCR Shell
810

911
The PHPCR Shell aims to provide a complete shell interface to any PHPCR repository.

0 commit comments

Comments
 (0)