master
Gnieark 6 years ago
parent c3bc69ffdc
commit e802b964b9

@ -112,23 +112,40 @@ img, audio {
height: auto;
margin: 0 auto;
}
#page {
img.EntryFirstImage{
max-width: 100%;
display: inline;
border-radius: 8px;
left: 50%;
transform: translate(50%, 0%); /* décalage de 50% de sa propre taille */
}
section, aside {
background-color: #fff9fb;
overflow-x: hidden;
}
#top p {
header p {
padding: 1.5em 1.5em 0 1.5em;
color: rgba(0,0,0,.4);
font-size: 1em;
}
@media (min-width: 40em) {
#page {
section, aside {
max-width: 40em;
margin: 1em auto;
background-color: #fff9fb;
border-radius: 3em;
box-shadow: -0.1em 0.1em 1em 0.1em rgba(0, 0, 0, 0.3);
}
img.EntryFirstImage{
max-width: 15em;
float: right;
left: none;
transform: none;
}
article{
overflow: auto;
}
}
@ -274,7 +291,7 @@ input[type="text"], textarea {
/*Search form */
#search input[type="text"] { width: 10em; }
/* Pager */
/*sectionr */
div.pagination-wrapper {
background-color: #4b88a2;
@ -325,4 +342,5 @@ p.pagination>a, p.pagination>span {
text-align: right;
right: -1.5em;
}
}
}
.wholearticlelink{text-decoration: none;}

@ -22,7 +22,6 @@
</tpl:Block> <!-- head-meta -->
<tpl:Block name="head-dc">
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
<meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta property="dc.type" content="text" />
@ -69,109 +68,91 @@
<body class="dc-home">
</tpl:Block>
<tpl:Block name="html-body">
<div id="page">
<tpl:Block name="body-page">
<tpl:Block name="page-top">
{{tpl:include src="_top.html"}}
</tpl:Block> <!-- page-top -->
<div id="wrapper">
<tpl:Block name="page-wrapper">
<div id="main" role="main">
<tpl:Block name="wrapper-main">
<tpl:Block name="main-breadcrumb">
{{tpl:Breadcrumb}}
</tpl:Block>
<div id="content">
<tpl:Block name="main-content">
<tpl:Entries>
<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
<h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
<p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
{{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
<tpl:EntryIf has_category="1">
- <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
</tpl:EntryIf>
<tpl:Block name="page-wrapper">
<section>
<tpl:Block name="wrapper-main">
<tpl:Block name="main-breadcrumb">
{{tpl:Breadcrumb}}
</tpl:Block>
<tpl:Block name="main-content">
<tpl:Entries>
<a href="{{tpl:EntryURL}}" class="wholearticlelink">
<article>
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<!-- # Entry with an excerpt -->
<tpl:EntryIf extended="1">
{{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}}
<p>
{{tpl:EntryExcerpt remove_html="1" encode_html="1"}}
</p>
<tpl:EntryTags>
<tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
<li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
<tpl:TagsFooter></ul></tpl:TagsFooter>
</tpl:EntryTags>
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<!-- # Entry with an excerpt -->
<tpl:EntryIf extended="1">
<div class="post-content">{{tpl:EntryExcerpt}}</div>
<p class="read-it"><a href="{{tpl:EntryURL}}"
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
reading}}</a><span class="readmore-ellipsis">...</span></p>
</tpl:EntryIf>
<!-- # Entry without excerpt -->
<tpl:EntryIf extended="0">
<div class="post-content">{{tpl:EntryContent}}</div>
</tpl:EntryIf>
<p class="readmore-ellipsis">Lire la suite...</p>
</tpl:EntryIf>
<!-- # Entry without excerpt -->
<tpl:EntryIf extended="0">
{{tpl:EntryFirstImage size="s" class="EntryFirstImage" with_category="1"}}
<p>
{{tpl:EntryContent remove_html="1" encode_html="1" cut_string="300"}}
</p>
<p class="readmore-ellipsis">Lire la suite...</p>
</tpl:EntryIf>
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
<!-- # Number of comments, trackbacks and attachments -->
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
<p class="post-info-co">
</tpl:EntryIf>
<tpl:EntryIf show_comments="1">
<a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
</tpl:EntryIf>
<tpl:EntryIf show_pings="1">
<a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
<tpl:EntryIf has_attachment="1">
<a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
</p>
</tpl:EntryIf>
</div>
<tpl:EntriesFooter>
<tpl:Pagination>
<div class="pagination-wrapper">
<p class="pagination"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
{{tpl:lang previous entries}}</a>
<span class="pagination-info">{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}</span>
<a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
&#187;</a></p>
</div>
</tpl:Pagination>
</tpl:EntriesFooter>
</tpl:Entries>
</tpl:Block> <!-- main-content -->
</div> <!-- End #content -->
</tpl:Block> <!-- wrapper-main -->
</div> <!-- End #main -->
<tpl:Block name="wrapper-sidebar">
<div id="sidebar" role="complementary">
<div id="blognav">
{{tpl:Widgets type="nav"}}
</div> <!-- End #blognav -->
<div id="blogextra">
{{tpl:Widgets type="extra"}}
</div> <!-- End #blogextra -->
</div>
</tpl:Block> <!-- wrapper-sidebar -->
</tpl:Block> <!-- page-wrapper -->
</div> <!-- End #wrapper -->
<tpl:EntriesFooter>
<tpl:Pagination>
<p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">
{{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
</a></tpl:PaginationIf></p>
</tpl:Pagination>
</tpl:EntriesFooter>
</article>
</a>
</tpl:Entries>
</tpl:Block> <!-- main-content -->
</tpl:Block> <!-- wrapper-main -->
</section> <!-- End #main -->
<tpl:Block name="wrapper-sidebar">
<aside>
<div id="blognav">
{{tpl:Widgets type="nav"}}
</div> <!-- End #blognav -->
<div id="blogextra">
{{tpl:Widgets type="extra"}}
</div> <!-- End #blogextra -->
</aside>
</tpl:Block> <!-- wrapper-sidebar -->
</tpl:Block> <!-- page-wrapper -->
<tpl:Block name="page-footer">
{{tpl:include src="_footer.html"}}
</tpl:Block> <!-- page-footer -->
</tpl:Block> <!-- body-page -->
</div> <!-- End #page -->
</tpl:Block> <!-- html-body -->
</body>
</html>

@ -21,7 +21,6 @@
</tpl:Block> <!-- head-meta -->
<tpl:Block name="head-dc">
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
<meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta property="dc.type" content="text" />

@ -4,7 +4,7 @@
{{tpl:include src="user_head.html"}}
{{tpl:SysBehavior behavior="publicHeadContent"}}
<!-- Piwik -->
<script type="text/javascript">
<script>
var _paq = _paq || [];
// tracker methods like "setCustomDimension" should be called before "trackPageView"
_paq.push(['trackPageView']);

@ -1,6 +1,6 @@
<div id="top" role="banner">
<header>
<h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1>
<!-- # --BEHAVIOR-- publicTopAfterContent -->
{{tpl:SysBehavior behavior="publicTopAfterContent"}}
</div>
</header>

@ -15,15 +15,9 @@
</tpl:Block>
<tpl:Block name="dc-entry">
<meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
<meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" />
<meta property="dc.language" content="{{tpl:BlogLanguage}}" />
<meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<tpl:Block name="head-linkrel">
<link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
<tpl:Entries no_content="1">
<tpl:EntriesHeader>
@ -81,21 +75,18 @@
</div>
</tpl:CategoriesFooter>
</tpl:CategoryFirstChildren>
<tpl:Entries>
<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
<h2 class="post-title"><a
href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a><br/><em>{{tpl:EntryDate}}</em></h2>
</div>
<ul>
<tpl:Entries lastn="100">
<li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a> <em>{{tpl:EntryDate}}</em></li>
<tpl:EntriesFooter>
<tpl:Pagination>
<p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
{{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
&#187;</a></tpl:PaginationIf></p>
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} &#187;</a></tpl:PaginationIf></p>
</tpl:Pagination>
</tpl:EntriesFooter>
</tpl:Entries>
</tpl:Block>
</ul>
</tpl:Block>

@ -0,0 +1,101 @@
{{tpl:extends parent="__layout.html"}}
<tpl:Block name="head-title">
<title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
</tpl:Block>
<tpl:Block name="meta-robots">
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
</tpl:Block>
<tpl:Block name="meta-entry">
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" />
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<tpl:Block name="dc-entry">
<meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
<meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" />
<meta property="dc.language" content="{{tpl:BlogLanguage}}" />
<meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
</tpl:Block>
<tpl:Block name="head-linkrel">
<link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
<tpl:Entries no_content="1">
<tpl:EntriesHeader>
<tpl:Pagination>
<tpl:PaginationIf end="0">
<link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
</tpl:PaginationIf>
<tpl:PaginationIf start="0">
<link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
</tpl:PaginationIf>
</tpl:Pagination>
</tpl:EntriesHeader>
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
</tpl:Entries>
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
</tpl:Block>
<tpl:Block name="page-top">
<div id="top" role="banner">
<h1><a href="/" class="homelink" title="Revenir à l'accueil">Retour à la page d'accueil</a>{{tpl:CategoryTitle}}</h1>
</div>
</tpl:Block>
<tpl:Block name="body-tag"><body class="dc-category"></tpl:Block>
<tpl:Block name="main-content">
<div id="content-info">
{{tpl:CategoryDescription}}
<tpl:CategoryIf has_entries="1">
<p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
<tpl:SysIf operator="or" comments_active="1" pings_active="1">
- <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
</tpl:SysIf>
</p>
</tpl:CategoryIf>
</div>
<tpl:CategoryFirstChildren>
<tpl:CategoriesHeader>
<div id="subcategories">
<h3>{{tpl:lang Subcategories}}</h3>
<ul>
</tpl:CategoriesHeader>
<li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
<tpl:CategoriesFooter>
</ul>
</div>
</tpl:CategoriesFooter>
</tpl:CategoryFirstChildren>
<tpl:Entries>
<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
<h2 class="post-title"><a
href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a><br/><em>{{tpl:EntryDate}}</em></h2>
</div>
<tpl:EntriesFooter>
<tpl:Pagination>
<p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
{{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
&#187;</a></tpl:PaginationIf></p>
</tpl:Pagination>
</tpl:EntriesFooter>
</tpl:Entries>
</tpl:Block>

@ -1,14 +1 @@
{{tpl:extends parent="__layout.html"}}
<tpl:Block name="page-top">
<div id="top" role="banner">
<h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1>
<p>{{tpl:BlogDescription}}</p>
<!-- # --BEHAVIOR-- publicTopAfterContent -->
{{tpl:SysBehavior behavior="publicTopAfterContent"}}
</div>
<ul id="prelude" role="navigation">
<tpl:Entries type="page">
<li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle}}</a></li>
</tpl:Entries>
</ul>
</tpl:Block> <!-- page-top -->
Loading…
Cancel
Save