summaryrefslogtreecommitdiff
path: root/platform/darwin/docs/theme/templates/doc.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/docs/theme/templates/doc.mustache')
-rw-r--r--platform/darwin/docs/theme/templates/doc.mustache25
1 files changed, 18 insertions, 7 deletions
diff --git a/platform/darwin/docs/theme/templates/doc.mustache b/platform/darwin/docs/theme/templates/doc.mustache
index b16521a431..fc0f47532f 100644
--- a/platform/darwin/docs/theme/templates/doc.mustache
+++ b/platform/darwin/docs/theme/templates/doc.mustache
@@ -8,6 +8,15 @@
<script src="{{path_to_root}}js/jquery.min.js" defer></script>
<script src="{{path_to_root}}js/jazzy.js" defer></script>
{{{custom_head}}}
+ <style type="text/css">
+ .nav-group-name[data-name="{{name}}"] > .small-heading,
+ .nav-group-task[data-name="{{name}}"] {
+ background-color: #f5f8fc;
+ font-family: "Open Sans Bold";
+ border-left: 3px solid #3a68d8;
+ padding-left: 5px
+ }
+ </style>
</head>
<body>
@@ -19,19 +28,21 @@
{{> header}}
- <p class="breadcrumbs">
- <a class="breadcrumb" href="{{path_to_root}}index.html">{{module_name}} Reference</a>
- <img class="carat" src="{{path_to_root}}img/carat.png" />
- {{name}} {{kind}} Reference
- </p>
+ <div class="breadcrumbs">
+ <div class="limiter">
+ <a class="breadcrumb" href="{{path_to_root}}index.html">{{module_name}} Reference</a>
+ <img class="carat" src="{{path_to_root}}img/carat.png" />
+ {{name}} {{kind}} Reference
+ </div>
+ </div>
- <div class="content-wrapper">
+ <div class="content-wrapper limiter">
{{> nav}}
<article class="main-content">
<section class="section">
<div class="section-content">
- {{^hide_name}}<h1>{{name}}</h1>{{/hide_name}}
+ {{^hide_name}}<a href="#/{{name}}"><h1 id="{{name}}">{{name}}<span class="anchor-icon" /></h1></a>{{/hide_name}}
{{#declaration}}
<div class="declaration">
<div class="language">