edited fonts

+ added templates
This commit is contained in:
arcan1s 2014-01-13 15:32:32 +04:00
parent f32488a4be
commit eb79fba27e
14 changed files with 287 additions and 11 deletions

View File

@ -29,3 +29,8 @@ https://support.google.com/customsearch/answer/1714300
Sharethis have own custom license too: Sharethis have own custom license too:
http://www.sharethis.com/legal/publisher-terms-of-use http://www.sharethis.com/legal/publisher-terms-of-use
[Liberation font](https://www.redhat.com/promo/fonts/) is licensed under The SIL Open Font License:
http://scripts.sil.org/OFL

View File

@ -1,3 +1,2 @@
arcan1s.github.io arcan1s.github.io
================= =================
My website

1
TODO
View File

@ -1,5 +1,4 @@
Для блога: Для блога:
* Облако тегов. Думаю, можно сделать топорно через grep каталога, но лучше бы по человечески. А значит - курить маны.
* Надо как то ограничить число статей на главную страницу. И автоматизировать это дело. ? Курить маны! * Надо как то ограничить число статей на главную страницу. И автоматизировать это дело. ? Курить маны!
З.Ы. можно посмотреть, как нормальные люди это делают. З.Ы. можно посмотреть, как нормальные люди это делают.

View File

@ -35,6 +35,8 @@ Evgeniy Alekseev wrote this file. As long as you retain this notice you can do w
<p align="justify">Sharethis have own custom <a href="http://www.sharethis.com/legal/publisher-terms-of-use">license</a> too.</p> <p align="justify">Sharethis have own custom <a href="http://www.sharethis.com/legal/publisher-terms-of-use">license</a> too.</p>
<p align="justify"><a href="https://www.redhat.com/promo/fonts/">Liberation font</a> is licensed under <a href="http://scripts.sil.org/OFL">The SIL Open Font</a> License.</p>
<p align="center">&copy; Evgeniy Alekseev, 2014</p> <p align="center">&copy; Evgeniy Alekseev, 2014</p>
</section> </section>

View File

@ -233,7 +233,6 @@ make install</code></pre></li>
</tr> </tr>
</table> </table>
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2> <h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
<p align="justify">Widget (clickable):<br> <p align="justify">Widget (clickable):<br>
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br> <a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>

View File

@ -2,6 +2,7 @@ User-agent: *
Disallow: Disallow:
Disallow: /javascripts/ Disallow: /javascripts/
Disallow: /stylesheets/ Disallow: /stylesheets/
Disallow: /templates/
Disallow: /params.json Disallow: /params.json
Disallow: /README.md Disallow: /README.md
Disallow: /TODO Disallow: /TODO

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,52 @@
@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); /* Liberation font ^^ */
@font-face {
font-family: "Liberation Serif";
font-style: normal;
font-weight: 300;
src: local("Liberation Serif"),
local("Liberation Serif Regular"),
local("LiberationSerif-Regular"),
url(LiberationSerif-Regular.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: italic;
font-weight: 300;
src: local("Liberation Serif Italic"),
local("LiberationSerif-Italic"),
url(LiberationSerif-Italic.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: normal;
font-weight: 600;
src: local("Liberation Serif Bold"),
local("LiberationSerif-Bold"),
url(LiberationSerif-Bold.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: italic;
font-weight: 600;
src: local("Liberation Serif Bold Italic"),
local("Liberation Serif BoldItalic"),
local("LiberationSerif-BoldItalic"),
url(LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-family: "Liberation Mono";
font-style: normal;
font-weight: 300;
src: local("Liberation Mono"),
local("LiberationMono-Regular"),
url(LiberationMono-Regular.ttf);
}
body { body {
padding:50px; padding:50px;
font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font:14px/1.5 "Liberation Serif", Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#777; color:#777;
font-weight:300; font-weight:300;
} }
@ -34,7 +78,7 @@ h3, h4, h5, h6 {
a { a {
color:#39c; color:#39c;
font-weight:400; font-weight:350;
text-decoration:none; text-decoration:none;
} }
@ -58,7 +102,7 @@ blockquote {
} }
code, pre { code, pre {
font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; font-family: "Liberation Mono", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
color:#333; color:#333;
font-size:12px; font-size:12px;
} }
@ -283,7 +327,7 @@ footer {
color: black; color: black;
display: block; display: block;
float: left; float: left;
font-family: helvetica, arial, freesans, clean, sans-serif; font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;
@ -312,7 +356,7 @@ footer {
color: black; color: black;
display: inline-block; display: inline-block;
float: none; float: none;
font-family: helvetica, arial, freesans, clean, sans-serif; font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
font-size: 1px; font-size: 1px;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;
@ -346,7 +390,7 @@ footer {
color: black; color: black;
display: inline; display: inline;
float: none; float: none;
font-family: helvetica, arial, freesans, clean, sans-serif; font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;
@ -369,7 +413,7 @@ footer {
color: #777; color: #777;
display: inline; display: inline;
float: none; float: none;
font-family: helvetica, arial, freesans, clean, sans-serif; font-family: "Liberation Sarif", helvetica, arial, freesans, clean, sans-serif;
font-size: 11px; font-size: 11px;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;

94
templates/temp_paper.html Normal file
View File

@ -0,0 +1,94 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>$PAPER_NAME</title>
<meta name="author" content="Evgeniy Alekseev" />
<meta name="description" content="arcanis' homepage" />
<link rel="license" type="text/html" href="/LICENSE" />
<link rel="stylesheet" href="/stylesheets/styles.css">
<link rel="stylesheet" href="/stylesheets/pygment_trac.css">
<link rel="shortcut icon" href="/resources/icon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- comment block -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<!-- sharethis -->
<script type="text/javascript">var switchTo5x=false;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "70dd9cde-7276-47af-8de7-9c43883daf2b", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
</head>
<body>
<div class="wrapper">
<header>
<h1>$PAPER_NAME</h1>
<p align="justify">$(date --utc)</p>
</header>
<section>
<h2><a name="title" class="anchor" href="#title"><span class="octicon octicon-link"></span></a>$PAPER_NAME</h2>
<p align="justify">$INTRO_TEXT <b>test</b></p>
<h3><a name="$SUBTITLE" class="anchor" href="#$SUBTITLE"><span class="octicon octicon-link"></span></a>$SUBTITLE</h2>
<p align="justify">$SUB_TEXT</p>
<!-- comment block -->
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
<script type="text/javascript">
$("#post p").each( function(index) {
if (index > 0 && $.trim($(this).text()).length > 0) {
$(this).attr("id", "par" + index.toString());
var html = $(this).html();
$(this).html(html + " <a href='#par" + index.toString() + "'>#</a>");
}
});
</script>
<div id="comments">
<h2>Comments</h2>
<div id="header">
Want to leave a comment? Visit <a href="https://github.com/arcan1s/arcan1s.github.io/issues/$PAPER_NUM" target="_blank"> this post's issue page on GitHub</a> (you'll need a GitHub account).
</div>
</div>
<script type="text/javascript">
function loadComments(data) {
for (var i=0; i<data.length; i++) {
var cuser = data[i].user.login;
var cuserlink = "https://www.github.com/" + data[i].user.login;
var clink = "https://github.com/arcan1s/arcan1s.github.io/issues/$PAPER_NUM#issuecomment-" + data[i].url.substring(data[i].url.lastIndexOf("/")+1);
var cbody = data[i].body_html;
var cavatarlink = data[i].user.avatar_url;
var cdate = Date.parse(data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
$("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cavatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
}
}
$.ajax("https://api.github.com/repos/arcan1s/arcan1s.github.io/issues/$PAPER_NUM/comments?per_page=100", {
headers: {Accept: "application/vnd.github.full+json"},
dataType: "json",
success: function(msg){
loadComments(msg);
}
});
</script>
<!-- end of comment block -->
</section>
<footer>
<p class="view"><a href="javascript:history.back()">Back</a><br>
<a href="/">Back to Homepage</a></p>
<span class='st_vkontakte'></span>
<span class='st_facebook'></span>
<span class='st_twitter'></span>
<span class='st_googleplus'></span>
<span class='st_livejournal'></span>
<p><small>Hosted on GitHub Pages. <a href="pages/authors">Authors</a></small></p>
</footer>
</div>
<script src="/javascripts/scale.fix.js"></script>
</body>
</html>

133
templates/temp_project.html Normal file
View File

@ -0,0 +1,133 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>$PROJECT_NAME</title>
<meta name="author" content="Evgeniy Alekseev" />
<meta name="description" content="arcanis' homepage" />
<link rel="license" type="text/html" href="/LICENSE" />
<link rel="stylesheet" href="/stylesheets/styles.css">
<link rel="stylesheet" href="/stylesheets/pygment_trac.css">
<link rel="shortcut icon" href="/resources/icon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- comment block -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<!-- sharethis -->
<script type="text/javascript">var switchTo5x=false;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "70dd9cde-7276-47af-8de7-9c43883daf2b", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
</head>
<body>
<div class="wrapper">
<header>
<h1>$PROJECT_NAME</h1>
<p class="view">$SHORT_DESC</p>
<p class="view"><a href="#information">General information</a><br>
<a href="#installation">Installation guide</a><br>
<a href="#configuration">Configuration</a><br>
<a href="#screenshots">Screenshots</a><br>
<a href="#links">Links</a></p>
</header>
<section>
<h2><a name="information" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul>
<li>Evgeniy Alekseev</li>
</ul>
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
<ul>
<li>GPL</li>
</ul>
<h2><a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2>
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/$PROJECT_NAME/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install:</p>
<pre><code>example command</code></pre></li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>$DEPS</li>
<li>$MAKEDEPS <i>(make)</i></li>
<li>#OPTDEPS <i>(optional, for ...)</i></li>
</ul>
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2>
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
<p align="justify"><a href="/resources/screenshots/$IMG.png"><img src="/resources/preview/$IMG.jpg"></a></p>
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
<ul>
<li><a href="https://github.com/arcan1s/$PROJECT_NAME">GitHub repo</a></li>
<li><a href="https://github.com/arcan1s/$PROJECT_NAME/releases">Latest release</a></li>
</ul>
<!-- comment block -->
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
<script type="text/javascript">
$("#post p").each( function(index) {
if (index > 0 && $.trim($(this).text()).length > 0) {
$(this).attr("id", "par" + index.toString());
var html = $(this).html();
$(this).html(html + " <a href='#par" + index.toString() + "'>#</a>");
}
});
</script>
<div id="comments">
<h2>Comments</h2>
<div id="header">
Want to leave a comment? Visit <a href="https://github.com/arcan1s/arcan1s.github.io/issues/$PROJECT_NUM" target="_blank"> this post's issue page on GitHub</a> (you'll need a GitHub account).
</div>
</div>
<script type="text/javascript">
function loadComments(data) {
for (var i=0; i<data.length; i++) {
var cuser = data[i].user.login;
var cuserlink = "https://www.github.com/" + data[i].user.login;
var clink = "https://github.com/arcan1s/arcan1s.github.io/issues/$PROJECT_NUM#issuecomment-" + data[i].url.substring(data[i].url.lastIndexOf("/")+1);
var cbody = data[i].body_html;
var cavatarlink = data[i].user.avatar_url;
var cdate = Date.parse(data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
$("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cavatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
}
}
$.ajax("https://api.github.com/repos/arcan1s/arcan1s.github.io/issues/$PROJECT_NUM/comments?per_page=100", {
headers: {Accept: "application/vnd.github.full+json"},
dataType: "json",
success: function(msg){
loadComments(msg);
}
});
</script>
<!-- end of comment block -->
</section>
<footer>
<p class="view"><a href="javascript:history.back()">Back</a><br>
<a href="/">Back to Homepage</a></p>
<span class='st_vkontakte'></span>
<span class='st_facebook'></span>
<span class='st_twitter'></span>
<span class='st_googleplus'></span>
<span class='st_livejournal'></span>
<p><small>Hosted on GitHub Pages. <a href="pages/authors">Authors</a></small></p>
</footer>
</div>
<script src="/javascripts/scale.fix.js"></script>
</body>
</html>