You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/03/17 12:48:07 UTC
[incubator-plc4x] branch develop updated: PLC4X-97 - Anchors
display under the page heading - Increased the space before an anchor by 20
pixels
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 785c364 PLC4X-97 - Anchors display under the page heading - Increased the space before an anchor by 20 pixels
785c364 is described below
commit 785c364d17da015a6df1402af5539c1fbba755c6
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Mar 17 13:47:59 2019 +0100
PLC4X-97 - Anchors display under the page heading
- Increased the space before an anchor by 20 pixels
---
src/site/resources/css/site.css | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css
index 4ccb634..148bd90 100644
--- a/src/site/resources/css/site.css
+++ b/src/site/resources/css/site.css
@@ -67,6 +67,15 @@ under the License.
left: 83px
}
+/* Set where the focus will be set when using anchor links */
+h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before, a[name]:before {
+ display: block;
+ content: "";
+ height: 120px;
+ margin: -120px 0 0;
+}
+
+/* Re-Format the position of the "to top" link */
body > div.container.subfooter > div > div > p.pull-right {
width: 100px;
height: 60px;