Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krisxoofoo committed Oct 7, 2013
1 parent 1773a00 commit 0d861eb
Show file tree
Hide file tree
Showing 13 changed files with 81 additions and 49 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
free
====

Theme Free for Blogotext
Free
====

Theme Free for Blogotext

C’est un thème inspiré de celui du site Free.fr

Auteur : Timo Van Neerden (http://lehollandaisvolant.net/)
Binary file added images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
1 change: 1 addition & 0 deletions images/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
41 changes: 22 additions & 19 deletions list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,31 @@
<meta name="author" content="{blog_auteur}" />
<meta name="viewport" content="width=device-width, user-scalable=yes" />
<meta name="keywords" content="{keywords}" />
<meta name="description" content="{blog_description}" />
<meta name="description" content="{blog_description}">
<link rel="icon" type="image/png" href="{style}/images/favicon.png" />
<link rel="apple-touch-icon" href="{style}/images/apple-touch-icon.png" />
<link rel="canonical" href="{racine_du_site}" />
<link rel="image_src" href="{style}/images/apple-touch-icon.png" />
<meta itemprop="name" content="{article_titre}" />
<meta itemprop="description" content="{article_chapo}" />
<meta itemprop="image" content="{style}/images/apple-touch-icon.png" />
<meta property="og:title" content="{article_titre_page}{blog_nom}" />
<meta property="og:url" content="{racine_du_site}" />
<meta property="og:description" content="{blog_description}" />
<meta property="og:site_name" content="{blog_nom}" />
<meta property="og:locale" content="fr_FR" />
<meta property="og:image" content="{style}/images/apple-touch-icon.png" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-TileImage" content="{style}/images/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link type="text/css" rel="stylesheet" href="{style}/style.css" />
<link type="application/rss+xml" rel="alternate" title="RSS 2.0 - Articles" href="{rss}" />
<style type="text/css">
#email-adress { display: none!important; }
</style>

</head>
<body>

<header id="top">
<h1><a href="{racine_du_site}">{blog_nom}</a></h1>
<h2>{blog_description}</h2>
<h1><a href="{racine_du_site}" title="">{blog_nom}</a></h1>
<h2>{blog_description}</h2>
</header>
<div id="wrapper">
<nav id="navigate">{recherche}</nav>
Expand All @@ -36,21 +48,17 @@ <h2>{blog_description}</h2>
{/BOUCLE_posts}

</section>

<br style="clear:both;" />
{pagination}
</div> <!-- einde #wrapper -->


<footer><b>{blog_auteur}</b>, tous droits réservés – Publié avec <a href="http://lehollandaisvolant.net/blogotext/">BlogoText</a> – Thème par <a href="http://lehollandaisvolant.net/">Timo van Neerden</a></footer>
<footer><b>{blog_auteur}</b>, tous droits réservés – Publié avec <a href="http://lehollandaisvolant.net/blogotext/" title="">BlogoText</a> – Thème par <a href="http://lehollandaisvolant.net/" title="">Timo van Neerden</a></footer>

<script type="text/javascript">
/* Tag script found at : http://www.siteduzero.com/tutoriel-3-34703-insertion-de-balises-dans-une-zone-de-texte.html */
function insertTag(startTag, endTag, tag, tagType) {
var field = document.getElementById(tag);
var scroll = field.scrollTop;
field.focus();

if (window.ActiveXObject) { // C'est IE
var textRange = document.selection.createRange();
var currentSelection = textRange.text;
Expand All @@ -70,7 +78,6 @@ <h2>{blog_description}</h2>
}
field.scrollTop = scroll;
}

function reply(code) {
var field = document.getElementById('form-commentaire').getElementsByTagName('textarea')[0];
field.focus();
Expand All @@ -81,17 +88,13 @@ <h2>{blog_description}</h2>
field.scrollTop = 10000;
field.focus();
}

function resize(id, dht) {
var elem = document.getElementById(id);
var ht = elem.offsetHeight;
size = Number(ht)+Number(dht);
elem.style.height = size+"px";
return false;
}

</script>


</body>
</html>
</html>
60 changes: 44 additions & 16 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ a:hover {
text-decoration: underline;
}

p { margin: 0 0 15px 0; text-align: justify;}

/* for accessibility */
input[type="text"], input[type="url"], input[type="search"], input[type="email"], textarea {
background-color: white !important;
Expand All @@ -53,13 +55,13 @@ header.titre a {
/* LAYOUT -------------------------------------------------------- */

#top {
padding: 0px;
padding: 0;
color: #f44;
}

#top h1 {
padding-right: 30px;
text-shadow: 0px 0px 4px #aaa;
text-shadow: 0 0 4px #aaa;
letter-spacing: -3px;
font-size: 3.5em;
font-style: italic;
Expand Down Expand Up @@ -88,8 +90,9 @@ header.titre a {

#wrapper {
background-color: #fff;
box-shadow: 0px 0px 3px #aaa;
box-shadow: 0 0 3px #aaa;
border: 1px solid #ccc;
border-radius: 5px;
padding: 50px;
}

Expand Down Expand Up @@ -124,6 +127,9 @@ h3.date {
}

/* article de blog */
article {
clear: both;
}
.news, .comment, .lien {
word-wrap: break-word;
overflow: show;
Expand All @@ -137,6 +143,23 @@ h3.date {
font-size: 1em;
}

.news img, .news iframe {
max-width: 100%;
}

.news figure {
display:block;
float: right;
margin: 5px 0 5px 10px;
padding:10px;
text-align: center;
}

.news figcaption {
font-size: 9px;
font-style: italic;
}

.permalien {
color: gray;
font-size: 0.7em;
Expand Down Expand Up @@ -274,15 +297,15 @@ p.formatbut {
border-right: 1px solid #fafafa
}

#pmm span { background: no-repeat -4px -142px url(format.png); }
#pmp span { background: no-repeat -4px -162px url(format.png); }
#button01 span { background: no-repeat -4px -1px url(format.png); }
#button02 span { background: no-repeat -4px -21px url(format.png); }
#button03 span { background: no-repeat -4px -42px url(format.png); }
#button04 span { background: no-repeat -4px -82px url(format.png); }
#button09 span { background: no-repeat -4px -62px url(format.png); }
#button10 span { background: no-repeat -4px -102px url(format.png); }
#button12 span { background: no-repeat -4px -122px url(format.png); }
#pmm span { background: no-repeat -4px -142px url(images/format.png); }
#pmp span { background: no-repeat -4px -162px url(images/format.png); }
#button01 span { background: no-repeat -4px -1px url(images/format.png); }
#button02 span { background: no-repeat -4px -21px url(images/format.png); }
#button03 span { background: no-repeat -4px -42px url(images/format.png); }
#button04 span { background: no-repeat -4px -82px url(images/format.png); }
#button09 span { background: no-repeat -4px -62px url(images/format.png); }
#button10 span { background: no-repeat -4px -102px url(images/format.png); }
#button12 span { background: no-repeat -4px -122px url(images/format.png); }

#erreurs {
color: red;
Expand Down Expand Up @@ -314,7 +337,7 @@ p.formatbut {
}

#input-rechercher { /* submit*/
padding: 2px 0px;
padding: 2px 0;
border-radius: 0 4px 4px 0;
background: #f0f0f0;
border-width: 0;
Expand Down Expand Up @@ -347,7 +370,7 @@ blockquote, q {
}

.tags {
padding : 7px 0px;
padding : 7px 0;
text-align: right;
margin-top: 10px;
}
Expand All @@ -368,12 +391,17 @@ blockquote, q {
padding: 30px;
}

#email-adress { display: none!important;}

@media (max-width: 799px) {
body {
padding: 0 5px 15px;
}
#wrapper {
padding: 20px;
}
}

#top h1, #top h2 {
height: 30px;
line-height: 50px;
}
}
3 changes: 1 addition & 2 deletions template/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ <h3 class="date">{article_date} - <a href="{article_lien}#commentaires">{nombre_
</header>
{article_contenu}
<p class="tags">Tags de l'article : {article_tags}</p>
</article>

</article>
3 changes: 1 addition & 2 deletions template/commentaire.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<article class="comment" id="{commentaire_ancre}">
<header><h3><a href="{commentaire_lien}">#</a> - <a href="#form-commentaire" onclick="reply('[b]@[{commentaire_auteur}|#{commentaire_ancre}] :[/b] ');">@</a> - {commentaire_auteur_lien} - {commentaire_date} à {commentaire_heure} </h3></header>
{commentaire_contenu}
</article>

</article>
1 change: 1 addition & 0 deletions template/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
2 changes: 1 addition & 1 deletion template/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ <h3 class="date">{lien_date} à {lien_heure} par {lien_auteur}</h3>
</header>
<p>{lien_description}</p>
<p class="permalien">{lien_url}</p>
</article>
</article>
6 changes: 1 addition & 5 deletions template/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,16 @@ <h3 class="date">{article_date}</h3>
{article_contenu}
</div>
<p class="tags">Tags de l'article : {article_tags}</p>

<p id="nombre_comment"><span id="commentaires">{nombre_commentaires}</span></p>

{BOUCLE_commentaires}
<article class="comment" id="{commentaire_ancre}">
<header><h3>{commentaire_auteur_lien} - {commentaire_date} à {commentaire_heure} </h3></header>
{commentaire_contenu}
<p class="com-reply"><a href="#form-commentaire" onclick="reply('[b]@[{commentaire_auteur}|#{commentaire_ancre}] :[/b] ');">@répondre</a> <a href="#{commentaire_ancre}">#lien</a></p>
</article>
{/BOUCLE_commentaires}

<p><a href="{rss_comments}">Flux RSS des commentaires de cet article</a></p>
<div id="postcom">
{formulaire_commentaire}
</div>
</article>

</article>

0 comments on commit 0d861eb

Please sign in to comment.