Fixed documentation page width & docs index
This commit is contained in:
parent
61a9e1dcec
commit
fb1caa0727
4 changed files with 76 additions and 5 deletions
|
|
@ -300,7 +300,7 @@
|
|||
frappe.utils.<b>get_formatted_email</b>
|
||||
<i class="text-muted">(user)</i>
|
||||
</p>
|
||||
<div class="docs-attr-desc"><p>get email id of user formatted as: John Doe <a href="mailto:johndoe@example.com">johndoe@example.com</a></p>
|
||||
<div class="docs-attr-desc"><p>get email id of user formatted as: John Doe <a href="mailto:johndoe@example.com">johndoe@example.com</a></p>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
|
|
|
|||
|
|
@ -273,6 +273,39 @@ body {
|
|||
.splash .section {
|
||||
padding: 30px 0 0 0;
|
||||
}
|
||||
.page-container {
|
||||
padding-top: 128px;
|
||||
margin: 0 auto;
|
||||
width: 870px;
|
||||
}
|
||||
.page-container .page-content {
|
||||
width: 83%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.page-container .webpage-content ol > li,
|
||||
.page-container .webpage-content ul > li {
|
||||
margin: 26px auto;
|
||||
}
|
||||
.page-container .webpage-content ol > li li,
|
||||
.page-container .webpage-content ul > li li {
|
||||
margin: 13px auto;
|
||||
}
|
||||
.page-container .webpage-content ol li ol {
|
||||
list-style-type: disc;
|
||||
}
|
||||
.page-container .webpage-content ul,
|
||||
.page-container .webpage-content ol {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
#page-index {
|
||||
padding-top: 0;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
#page-index .page-content {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
code {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,16 +42,54 @@ body {
|
|||
line-height: 1.4em;
|
||||
}
|
||||
}
|
||||
|
||||
.section{
|
||||
padding: 30px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
code{
|
||||
color: #ff0000;
|
||||
.page-container{
|
||||
padding-top:128px;
|
||||
margin:0 auto;
|
||||
width:870px;
|
||||
|
||||
.page-content {
|
||||
width:83%;
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
.webpage-content{
|
||||
ol > li, ul > li {
|
||||
margin: 26px auto;
|
||||
}
|
||||
|
||||
ol > li li, ul > li li {
|
||||
margin: 13px auto;
|
||||
}
|
||||
|
||||
ol li ol {
|
||||
list-style-type: disc;
|
||||
}
|
||||
ul, ol {
|
||||
margin-bottom:26px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#page-index {
|
||||
padding-top:0;
|
||||
width:100%;
|
||||
margin:0;
|
||||
|
||||
.page-content {
|
||||
width:100%;
|
||||
margin:0;
|
||||
}
|
||||
}
|
||||
|
||||
code{
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
//background-color: @navbar-bg !important;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
{%- endblock -%}
|
||||
<div class="hero-and-content">
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{{ content }}
|
||||
<!-- edit-link -->
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue