Commit 6b0dec29 authored by Matija Obreza's avatar Matija Obreza
Browse files

Documentation renderer updated

parent 6e102e7c
...@@ -659,7 +659,7 @@ ...@@ -659,7 +659,7 @@
<doctype>book</doctype> <doctype>book</doctype>
<sourceHighlighter>coderay</sourceHighlighter> <sourceHighlighter>coderay</sourceHighlighter>
<attributes> <attributes>
<stylesheet>${basedir}/src/main/sourceapp/styles/ascii-doc.scss</stylesheet> <stylesheet>${basedir}/src/main/webapp/html/styles/ascii-doc.css</stylesheet>
<copycss>true</copycss> <copycss>true</copycss>
<!-- <linkcss /> --> <!-- <linkcss /> -->
<toc>left</toc> <toc>left</toc>
......
...@@ -194,7 +194,7 @@ and can be encoded as `11;13`. ...@@ -194,7 +194,7 @@ and can be encoded as `11;13`.
[[mcpd-acceurl]] [[mcpd-acceurl]]
==== Accession URL ==== Accession URL
http://www.ecpgr.cgiar.org/[EC/PGR] originally extended the MCPD list with *Accession URL* field `ACCEURL`. http://www.ecpgr.cgiar.org/[ECPGR] originally extended the MCPD list with *Accession URL* field `ACCEURL`.
The field should contain the direct link to the provider's on-line portal where additional data about The field should contain the direct link to the provider's on-line portal where additional data about
the accession may be available. the accession may be available.
......
.article .free-text {
#body-header {
margin-bottom: 4em;
font-size: 75%;
}
#body-footer {
margin-top: 4em;
font-size: 75%;
}
}
#toc { #toc {
border-bottom:1px solid #efefed; border-bottom:1px solid #efefed;
padding-bottom:.5em padding-bottom:.5em;
#toctitle {
color: inherit;
}
} }
#toc>ul { #toc>ul {
margin-left:.125em margin-left:.125em;
padding: 0;
} }
#toc ul.sectlevel0>li>a { #toc ul.sectlevel0>li>a {
font-style:italic font-style:italic;
} }
#toc ul.sectlevel0 ul.sectlevel1 { #toc ul.sectlevel0 ul.sectlevel1 {
margin:.5em 0 margin:.5em 0;
} }
#toc ul { #toc ul {
font-family:"Open Sans","DejaVu Sans",sans-serif; font-family:"Open Sans","DejaVu Sans",sans-serif;
list-style-type:none list-style-type:none;
} }
#toc li { #toc li {
line-height:1.3334 line-height:1.3334;
} }
#toc a { #toc a {
text-decoration:none text-decoration:none;
} }
#toc a:active { #toc a:active {
text-decoration:underline text-decoration:underline;
} }
#toctitle { #toctitle {
color:#7a2518; color:#7a2518;
font-size:1.2em font-size:1.2em;
} }
@media only screen and (min-width:768px) { @media only screen and (min-width:768px) {
...@@ -43,7 +61,7 @@ ...@@ -43,7 +61,7 @@
} }
body.toc2 { body.toc2 {
padding-right:0 padding-right:0;
} }
#toc.toc2 { #toc.toc2 {
...@@ -70,77 +88,83 @@ ...@@ -70,77 +88,83 @@
#toc.toc2>ul { #toc.toc2>ul {
font-size:.9em; font-size:.9em;
margin-bottom:0 margin-bottom:0;
} }
#toc.toc2 ul ul { #toc.toc2 ul ul {
margin-left:0; margin-left:0;
padding-left:1em padding-left:1em;
} }
#toc.toc2 ul.sectlevel0 ul.sectlevel1 { #toc.toc2 ul.sectlevel0 ul.sectlevel1 {
padding-left:0; padding-left:0;
margin-top:.5em; margin-top:.5em;
margin-bottom:.5em margin-bottom:.5em;
} }
body.toc2.toc-right { body.toc2.toc-right {
padding-left:0; padding-left:0;
padding-right:15em padding-right:15em;
} }
body.toc2.toc-right #toc.toc2 { body.toc2.toc-right #toc.toc2 {
border-right-width:0; border-right-width:0;
border-left:1px solid #efefed; border-left:1px solid #efefed;
left:auto;right:0 left:auto;right:0;
} }
} }
@media only screen and (min-width:1280px) { @media only screen and (min-width:1280px) {
body.toc2 { body.toc2 {
padding-right:0 padding-right:0;
} }
#toc.toc2 { #toc.toc2 {
width:20em width:20em;
} }
#toc.toc2 #toctitle { #toc.toc2 #toctitle {
font-size:1.375em font-size:1.375em;
} }
#toc.toc2>ul { #toc.toc2>ul {
font-size:.95em font-size:.95em;
} }
#toc.toc2 ul ul { #toc.toc2 ul ul {
padding-left:1.25em padding-left:1.25em;
} }
body.toc2.toc-right { body.toc2.toc-right {
padding-left:0; padding-left:0;
padding-right:20em padding-right:20em;
}
}
.article .free-text {
table td p {
margin: .2em 0;
} }
} }
.article img { .article img {
border:0 border:0;
} }
.article img,object,embed { .article img,object,embed {
max-width:100%; max-width:100%;
height:auto height:auto;
} }
.article img { .article img {
-ms-interpolation-mode:bicubic -ms-interpolation-mode:bicubic;
} }
.article img,object,svg { .article img,object,svg {
display:inline-block; display:inline-block;
vertical-align:middle vertical-align:middle;
} }
.article a img { .article a img {
border:none border:none;
} }
\ No newline at end of file
...@@ -424,11 +424,13 @@ h2.short { ...@@ -424,11 +424,13 @@ h2.short {
} }
.free-text { .free-text {
h1, h2 {
text-transform: uppercase;
}
h1, h2, h3, h4 { h1, h2, h3, h4 {
background-color: transparent; background-color: transparent;
color: #4D4C46; color: #4D4C46;
padding: 0; padding: 0;
text-transform: uppercase;
color: #88BA42; color: #88BA42;
font-family: "forzabook"; font-family: "forzabook";
font-weight: bold; font-weight: bold;
...@@ -437,6 +439,10 @@ h2.short { ...@@ -437,6 +439,10 @@ h2.short {
font-size: 18px; font-size: 18px;
margin: 1em 0 0.5em; margin: 1em 0 0.5em;
} }
code {
color: #111;
}
} }
#crop-list .nav { #crop-list .nav {
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
</div> </div>
</content> </content>
<%@include file="transifex-responses.jsp" %>
<div class="article"> <div class="article">
<div class="right-side main-col col-md-9"> <div class="right-side main-col col-md-9">
<div class="free-text"> <div class="free-text">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment