Added croatian translations
[amuse-wiki:amuse-wiki.git] / templates / html.tt
1 +<%-# -*- mode: html -*- -%>
2 <?xml version="1.0" encoding="utf-8"?>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <%- IF meta.lang %>
6 <html xmlns="http://www.w3.org/1999/xhtml"
7       xml:lang="<%- meta.lang -%>" lang="<%- meta.lang -%>">
8   <%- ELSE -%>
9 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hr" lang="hr">
10   <%- END %>
11   <head>
12     <meta http-equiv="Content-Type"
13           content="application/xhtml+xml; charset=UTF-8" />
14     <title><% IF meta.title %>
15       <%- meta.title -%>
16       <%- ELSE -%>
17       Untitled
18       <%- END %></title>
19     <style type="text/css">
20  <!--/*--><![CDATA[/*><!--*/
21 html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,hr,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figure,figcaption,hgroup,menu,footer,header,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0}article,aside,canvas,figure,figure img,figcaption,hgroup,footer,header,nav,section,audio,video{display:block}a img{border:0}.gigantic{font-size:123px;line-height:132px;letter-spacing:-2px}.huge,h1{font-size:76px;line-height:84px;letter-spacing:-1px}.large,h2{font-size:47px;line-height:48px}.bigger,h3{font-size:29px;line-height:36px}.big,h4{font-size:25px;line-height:30px}h5{font-size:21px;line-height:26px}h6{font-size:18px;line-height:24px;font-weight:bold}body,pre.verse{font:18px/24px "Linux Libertine O","Linux Libertine","XITS","STIXGeneral","Times New Roman",Times,serif}.small,small{font-size:13px;line-height:18px}::selection{background:rgb(255,255,158)}::-moz-selection{background:rgb(255,255,158)}img::selection{background:transparent}img::-moz-selection{background:transparent}body{-webkit-tap-highlight-color:rgb(255,255,158)}div#page{width:896px;padding:36px 48px 84px}body{-webkit-text-size-adjust:100%}@media only screen and (min-width:768px) and (max-width:991px){div#page{width:712px;padding:36px 28px 60px}}@media only screen and (max-width:767px){div#page{width:252px;padding:36px 34px 60px}}@media only screen and (min-width:480px) and (max-width:767px){div#page{width:436px;padding:36px 22px 48px}}p{text-indent:1em}h1,h2,h3,h4,h5{margin:24px 0}#vwbanner p,#preamble p,#tableofcontents p,#downloadformats p{text-indent:0}div#pagemaintitle{padding:48px 0 36px}#pagemaintitle h2{font-size:29px;line-height:36px}#pagemaintitle h1{font-size:47px;line-height:48px}sup,sub{font-size:13px;line-height:0}a.footnote,a.footnotebody{font-size:13px;line-height:0;vertical-align:super}pre,code,.commit-diff{font-family:Consolas,courier,monospace;font-size:85%}pre{border:1pt solid #AEBDCC;margin:24px 0}span.hiddenindex,span.commentmarker,.comment,span.tocprefix{display:none}.comment{background:rgb(255,255,158)}pre.verse{margin:24px;48px;overflow:auto;border:none}ol,ul{margin:0.8em}li p{text-indent:0}table,th,td{border:solid 1px black;border-collapse:collapse}td,th{padding:2px 5px}hr{margin:24px 0;color:#000;height:1px;background-color:#000}table{margin:24px auto}td,th{vertical-align:top}th{font-weight:bold}caption{caption-side:bottom}blockquote{margin:24px}blockquote p{text-indent:0;margin-bottom:24px}img.embedimg{margin:1em;max-width:90%}div.image{margin:1em;text-align:center;padding:3px;background-color:white}.biblio p,.play p{margin:24px 0 0 1em;text-indent:-1em}div.biblio,div.play{padding:24px 0}div.caption{padding-bottom:1em}div#preamble{margin-bottom:2em;font-size:12pt}div#tableofcontents{margin:0 2em 24px;font-size:12pt;border-style:solid;border-width:1px;padding:1em}#tableofcontentline{margin:3px 1em;text-indent:-1em}.tableofcontentline a:hover{text-decoration:underline}.toclevel2{font-weight:bold;font-size:14pt}.toclevel3{font-weight:bold;font-size:12pt}.toclevel4{font-weight:normal;font-size:12pt}.toclevel5{font-weight:normal;font-size:12pt;padding:0 0 0 2em;text-indent:-1em}a{color:#8b0000;text-decoration:none}a:visited,a:hover{color:#610503}#vwbanner{min-width:770px;background:url(images/cobble.png) repeat-x;height:136px}#wbanner{background:url(images/singlelogo.png) no-repeat}div#banner{height:110px}img#title-banner-img{padding-left:180px;margin-top:19px;padding-bottom:9px}div#nav{}#nav ul{margin:0;padding-left:140px;padding-top:5px;font-size:16px;line-height:20px}#nav ul li a{color:black;font-weight:bold;background:url("images/ulbg.png");padding:0 7px}#nav a#current{border:1px solid black;border-bottom:2px solid #f0f0f0;background-color:#f0f0f0;color:black;padding:0 6px}#nav a:hover{color:red}#nav ul li{display:inline;list-style-type:none}#nav li{margin:0 0}p#searchp{text-indent:0}div#searchbox{display:inline;float:right}form#formsearchbox{display:inline}.flashmessage{background-color:#7FFF00;padding:0.5em;border:1px solid #458B00;text-align:center}.formerror{background:#F88F84;margin:0;padding:0.5em;border:0px solid #F12525;text-align:center}.loggedin{background:#444;color:white;padding:0;font-size:16px;text-align:center}div.loggedin a{color:#00F5FF}div.loggedin a:hover{text-decoration:underline}.bookbuilderok,.bookbuilderwait{background:#CEE5F5;padding:0.5em;border:1px solid #AACBE2;text-align:center}#hitme{display:none}div.center p{text-align:center;margin:24px 0}div.right p{text-align:right;margin:24px 0}fieldset#preview-or-commit{text-align:center}span.loggingin{font-weight:bold}span.diff-removed{color:red}span.diff-added{color:green}span.diff-context{color:#444}div#footer{clear:both;border-top:1px solid black;padding-top:24px;text-align:center}img#rssicon{width:14px}p.fnline{text-indent:0;font-size:15px;line-height:20px;margin:20px 0}#bookbuilderlist,.actmov,#bookbuilderlist td{border:0px}#bookbuilderlist tr{border:1px solid black}.cloud1,.cloud2,.cloud3,.cloud4,.cloud5,.cloud6,.cloud7,.cloud8{padding:0px;margin:0px}.cloud1{font-weight:bold;font-size:100%}.cloud2{font-weight:bold;font-size:110%}.cloud3{font-weight:bold;font-size:120%}.cloud4{font-weight:bold;font-size:130%}.cloud5{font-weight:bold;font-size:140%}.cloud6{font-weight:bold;font-size:150%}.cloud7{font-weight:bold;font-size:170%}.cloud8{font-weight:bold;font-size:190%}label.error{float:none;color:red;padding-left:.5em}fieldset p{text-indent:0;margin:.5em}fieldset em{font-weight:bold;font-style:normal}.submit{margin-left:12em}
22   /*]]>*/-->
23     </style>
24   </head>
25   <body>
26     <div id="page">
27       <div id="preamble">
28         <%- IF directives.title %>
29         <p id="texttitle"><strong>Naslov:</strong>
30           <% directives.title %>
31         </p>
32         <% END %>
33         <%- IF directives.subtitle %>
34         <p id="textsubtitle"><strong>Podnaslov:</strong>
35           <% directives.subtitle %>
36         </p>
37         <% END %>
38         <%- IF directives.SORTauthors %>
39         <p id="authors"><strong>Autor(i):</strong>
40           <% FOREACH author = directives.SORTauthors -%>
41           <a href="../../authors.html#library-index-<%- author.cleanurl -%>">
42             <%- author.name -%></a>
43           <% END %>
44         </p>
45         <% END -%>
46         <%- IF directives.date %>
47         <p id="textdate"><strong>Datum:</strong>
48           <% directives.date %>
49         </p>
50         <% END %>
51         <%- IF directives.SORTtopics %>
52         <p id="ourtopics"><strong>Teme:</strong>
53           <% FOREACH topic = directives.SORTtopics -%>
54           <a href="../../topics.html#library-index-<%- topic.cleanurl -%>">
55             <%- topic.name -%></a>
56           <% END %>
57         </p>
58         <% END -%>
59         <% IF directives.notes %>
60         <p id="preamblenotes"><strong>Napomene:</strong>
61           <% directives.notes %>
62         </p>
63         <% END %>
64         <% IF directives.source %><strong>Izvor:</strong>
65         <% directives.source %>
66         <% END %>
67       </div>
68       <div id="downloadformats">
69         <p><strong>Download:</strong><br />
70           <span id="pdfgeneric">
71             <a href="<% meta.basename %>.pdf" class="pdflinks">
72               <img src="../../images/pdf-gen.png" alt="običan PDF" title="običan PDF" 
73                    class="pdfmyicons" />
74             </a>
75           </span>
76           <span id="pdfa4imp">
77             <a href="<% meta.basename %>.a4.pdf" class="pdflinks">
78               <img src="../../images/pdf-a4-imposed.png"
79                    alt="A4 PDF za štampanje"
80                    title="A4 PDF za štampanje"
81                    class="pdfmyicons" />
82             </a> 
83           </span>
84           <span id="downloadepub">
85             <a href="<% meta.basename %>.epub">
86               <img src="../../images/epub.png" alt="EPUB"
87                    title="EPUB (za e-reader)" class="pdfmyicons" />
88             </a>
89           </span>
90           <span id="downloadtex">
91             <a href="<% meta.basename %>.tex">
92               <img src="../../images/tex.png" alt="TeX" title="ConTeXt izvorni kod"
93                    class="pdfmyicons" />
94             </a>
95           </span>
96           <span id="downloadsrc">
97             <a href="<% meta.basename %>.muse">
98               <img src="../../images/muse.png" alt="source" title="wiki izvornik"
99                    class="pdfmyicons" />
100             </a>
101           </span>
102         </p>
103       </div>
104       
105 <!-- START BARE TEXT MARKER: do not remove -->
106
107     <div id="textwithoutmetadata">
108       <div id="pagemaintitle">
109         <%- IF directives.author %>
110         <h2><% directives.author %></h2>
111         <% END %>
112         <%- IF directives.title %>
113         <h1 id="textttitleh"><%- directives.title -%></h1>
114         <% END %>
115         <%- IF directives.subtitle %>
116         <h2><% directives.subtitle %></h2>
117         <% END %>
118       </div>
119       
120       <% IF meta.toc %>
121       <div id="tableofcontents">
122         <% meta.toc %>
123       </div>
124       <% END %>
125       <div id="thework">
126         <% content %>
127       </div>
128     </div>
129
130 <!-- STOP BARE TEXT MARKER: do not remove -->
131
132     </div>
133     <div id="footer">
134     </div>
135   </body>
136 </html>
137
138