Doc improvements
This commit is contained in:
51
assets/docs-theme/templates/topbar.mtt
Normal file
51
assets/docs-theme/templates/topbar.mtt
Normal file
@@ -0,0 +1,51 @@
|
||||
<style>
|
||||
::raw "
|
||||
a, code .type {
|
||||
color: #6fac17;
|
||||
}
|
||||
.navbar .brand {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
text-shadow: 0 0 0 transparent;
|
||||
}
|
||||
.navbar .brand img {
|
||||
max-width: 75px;
|
||||
}
|
||||
.nav-list>.active>a.treeLink, .nav-list>.active>a.treeLink:hover, .nav-list>.active>a.treeLink:focus {
|
||||
background: #6fac17;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 0 0 transparent;
|
||||
}
|
||||
.navbar .container {
|
||||
width: 940px ;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.navbar .container {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@media (max-width: 979px) and (min-width: 768px) {
|
||||
.navbar .container {
|
||||
width: 724px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.navbar .container {
|
||||
width: 1170px;
|
||||
}
|
||||
}
|
||||
.navbar .container img {
|
||||
margin: 5px 0 0 4px;
|
||||
}
|
||||
"::
|
||||
</style>
|
||||
<nav class="nav">
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner" style="background:$$getHexValue(::themeColor::); border-bottom:1px solid rgba(0,0,0,.09)">
|
||||
<div class="container">
|
||||
<a ::cond api.isDefined("logo"):: ::attr href if(api.isDefined("website")) api.getValue("website") else api.config.rootPath:: class="brand"><img alt="" ::attr src api.getValue("logo"):: /></a>
|
||||
<a ::attr href api.config.rootPath:: class="brand" style="color:$$getHexValue(::textColor::)">::if api.config.pageTitle!=null::::api.config.pageTitle::::else::Lime API Documentation::end::</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user