Skip to content

Commit

Permalink
Merge pull request #85 from CouscousPHP/template-readthedocs
Browse files Browse the repository at this point in the history
New template: Read The Docs
  • Loading branch information
mnapoli committed Feb 7, 2015
2 parents 0c45614 + 04661ec commit d10e1df
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"symfony/process": "~2.4",
"symfony/yaml": "~2.4",
"twig/twig": "~1.0",
"erusev/parsedown": "~1.4",
"erusev/parsedown-extra": "~0.7",
"phine/phar": "~1.0",
"mnapoli/front-yaml": "~1.4",
Expand Down
12 changes: 11 additions & 1 deletion website/less/templates.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
#templates.portfolio .portfolio-item {
.template-features {
.label {
font-size: 75%;
font-size: 70%;
font-weight: normal;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
}
}
.portfolio-caption {
padding: 25px 15px;

.label {
opacity: 0.7;
}
.label:hover {
opacity: 1;
}
}
}
35 changes: 30 additions & 5 deletions website/templates.twig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
<p class="text-muted">The default template.</p>
<p class="template-features">
<span class="label label-default">optional menu</span>
<span class="label label-default">syntax highlighting</span>
<span class="label label-default">code highlighting</span>
<span class="label label-default">responsive</span>
</p>
</div>
</div>
Expand All @@ -50,7 +51,8 @@
<p class="template-features">
<span class="label label-default">optional menu</span>
<span class="label label-default">sections</span>
<span class="label label-default">syntax highlighting</span>
<span class="label label-default">code highlighting</span>
<span class="label label-default">responsive</span>
</p>
</div>
</div>
Expand All @@ -68,7 +70,8 @@
<h4>Basic template</h4>
<p class="text-muted">A basic template example.</p>
<p class="template-features">
<span class="label label-default">syntax highlighting</span>
<span class="label label-default">code highlighting</span>
<span class="label label-default">responsive</span>
</p>
</div>
</div>
Expand All @@ -78,7 +81,27 @@
<div class="row">

<div class="col-md-4 col-sm-6 portfolio-item">
<a href="https://github.com/CouscousPHP/Couscous" class="portfolio-link">
<a href="https://github.com/CouscousPHP/Template-ReadTheDocs" class="portfolio-link">
<div class="portfolio-hover">
<div class="portfolio-hover-content">
<i class="fa fa-search fa-3x"></i>
</div>
</div>
<img src="https://raw.githubusercontent.com/CouscousPHP/Template-ReadTheDocs/master/screenshot.png" class="img-responsive">
</a>
<div class="portfolio-caption">
<h4>Read The Docs template</h4>
<p class="text-muted">template based on readthedocs.org Sphinx theme.</p>
<p class="template-features">
<span class="label label-default">menu</span>
<span class="label label-default">code highlighting</span>
<span class="label label-default">responsive</span>
</p>
</div>
</div>

<div class="col-md-4 col-sm-6 portfolio-item">
<a href="https://github.com/CouscousPHP/Couscous/blob/master/website/templates.twig" class="portfolio-link">
<div class="portfolio-hover">
<div class="portfolio-hover-content">
<i class="fa fa-search fa-3x"></i>
Expand All @@ -88,7 +111,9 @@
</a>
<div class="portfolio-caption">
<h4>Add your own</h4>
<p class="text-muted">Send a pull request to add your own to the list.</p>
<p class="text-muted">
<a href="https://github.com/CouscousPHP/Couscous/blob/master/website/templates.twig">Send a pull request</a> to add your own to the list.
</p>
</div>
</div>

Expand Down

0 comments on commit d10e1df

Please sign in to comment.