Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit e92b703

Browse files
committed
Merge branch 'hotfix/component-specific-css'
Close #299
2 parents feeddec + b0da1cd commit e92b703

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Initial stable release.
1212
the documentation to provide automation for pushing to GitHub pages. As part
1313
of that work, documentation was re-organized, and a landing page provided.
1414
Documentation can now be found at: https://zendframework.github.io/zend-expressive/
15+
- [#299](https://github.com/zendframework/zend-expressive/pull/299) adds
16+
component-specific CSS to the documentation.
1517

1618
### Deprecated
1719

doc/book/css/zend-expressive.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.features .panel-content {
2+
padding: 0.5em;
3+
text-align: center;
4+
}
5+
6+
.features .panel-content img {
7+
height: 128px;
8+
}
9+
10+
.install .panel {
11+
background-color: #B3FFFF;
12+
}
13+
14+
.install .panel-content {
15+
padding-left: 1em;
16+
padding-right: 1em;
17+
}
18+
19+
.install + .panel {
20+
background-color: #66FFCC;
21+
}
22+
23+
.container.install h2 {
24+
text-align: center;
25+
}
26+
27+
.screenshot {
28+
margin-left: auto;
29+
margin-right: auto;
30+
}

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ site_name: Expressive
5858
site_description: 'zend-expressive: PSR-7 Middleware Microframework'
5959
repo_url: 'https://github.com/zendframework/zend-expressive'
6060
copyright: 'Copyright (c) 2016 <a href="http://www.zend.com/">Zend Technologies USA Inc.</a>'
61+
extra_css:
62+
- css/zend-expressive.css

0 commit comments

Comments
 (0)