Commit 12b238a9 authored by mathieui's avatar mathieui

Revert "Revert "Make the website single-page and update the design" because louiz’ lied"

This reverts commit 8259e532.
parent 8259e532
......@@ -21,18 +21,18 @@ optimg:
optipng ${OUT_IMG_DIR}*.png
html:
for dir in ${IN_DIRS}; do \
for page in index download faq documentation contact; do\
cat $$dir/_header.html $$dir/_$$page.html $$dir/_footer.html | sed s/__CURRENT_PAGE/$$page/g > ${OUTPUT_DIR}$$dir/$$page ;\
done; \
done
jinja2_standalone_compiler --path index-fr.html --out ${OUTPUT_DIR}fr/ --settings fr-settings.py
jinja2_standalone_compiler --path index-en.html --out ${OUTPUT_DIR}en/ --settings en-settings.py
mv ${OUTPUT_DIR}fr/index-fr.html ${OUTPUT_DIR}fr/index.html
mv ${OUTPUT_DIR}en/index-en.html ${OUTPUT_DIR}en/index.html
clean:
find . -name \*.gz -delete
rm -rf ${OUTPUT_DIR}
css:
cp ${CSS_DIR}style.css ${OUTPUT_DIR}
cp ${CSS_DIR}normalize.css ${OUTPUT_DIR}
cp ${CSS_DIR}skeleton.css ${OUTPUT_DIR}
doc:
git clone git://git.louiz.org/poezio || true
......
<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
<meta charset="utf-8"/>
<link rel="icon" type="image/png" href="../img/favicon.png" />
<title>Poezio</title>
<meta name="description" content="" />
<meta name="author" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../normalize.css" />
<link rel="stylesheet" href="../skeleton.css" />
<style type="text/css">
body {
background: url("../img/bg.png") repeat;
color: #B8B8B8;
}
#main {
border-left: 2px solid #e18a00;
border-right: 2px solid #e18a00;
padding: 15px;
background-color: #0A0A0A;
}
h3 {
text-decoration: bold;
}
.block {
border-top: 2px dashed #e18a00;
padding-top: 15px;
padding-bottom: 15px;
}
code {
color: black;
}
a:link, a:visited{
color: #e18a00;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.button, .button-primary {
background-color: #e18a00 !important;
border-color: #e18a00 !important;
}
dl, dt, dd { display: inline; }
.container {
width: 100%;
}
.navbar-list {
list-style: none;
margin: auto;
}
.navbar-item {
position: relative;
float: left;
}
.navbar-link {
text-transform: uppercase;
letter-spacing: .2rem;
line-height: 6.5rem;
font-weight: 600;
margin-right: 35px;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container" id="main">
<header class="header rows">
<div class="three columns"><img src="../img/logo.png" alt='le logo de poezio' class="u-max-full-width" /></div>
<div class="nine columns">
<h2 class="title">Poezio - paroli libere</h2>
<a class="button button-primary" href='https://dev.louiz.org/attachments/download/118/poezio-0.11.tar.gz'>{% block dl %}{% endblock %}</a>
</div>
</header>
<div class="navbar-spacer"></div>
<nav class="navbar">
<div class="container">
<ul class="navbar-list">
<li class="navbar-item"><a class="navbar-link" href="#download">{{ download }}</a></li>
<li class="navbar-item"><a class="navbar-link" href="#news">{{ news }}</a></li>
<li class="navbar-item"><a class="navbar-link" href="#docs">{{ docs }}</a></li>
<li class="navbar-item"><a class="navbar-link" href="#support">{{ support }}</a></li>
<li class="navbar-item"><a class="navbar-link" href="#faq">{{ faq }}</a></li>
</ul>
</div>
</nav>
<section class="block">
{% block about %}
<h3 id="about">{{ about }}</h3>
{% endblock %}
<a href="../img/screenshot.png"><img src="../img/screenshot.png" class="u-max-full-width" alt="Poezio 0.6 screenshot" title="Poezio 0.6 screenshot" /></a>
</section>
<section class="block">
{% block download %}
<h3 id="download">{{ download }}</h3>
{% endblock %}
</section>
<section class="block">
{% block news%}
<h3 id="news">{{ news }}</h3>
{% endblock %}
</section>
<section class="block">
{% block docs %}
<h3 id="docs">{{ docs }}</h3>
{% endblock %}
</section>
<section class="block">
{% block support %}
<h3 id="support">{{ support }}</h3>
<h4 id="contact">{{ contact }}</h4>
{% block contact %}{% endblock %}
<h4 id="bugs">{{ bugs }}</h4>
{% block bugs %}{% endblock %}
{% endblock %}
</section>
<section class="block">
{% block faq %}
<h3 id="faq">{{ faq }}</h3>
{% endblock %}
</section>
<div style="width:200px;margin:auto;text-align:center">
{% block trans %}
{% endblock %}
<a style="margin:auto;width:30px;" href='http://xmpp.org' title='The XMPP Standards Foundation'><img alt='xmpp logo' src='../img/xmpp.png' /></a>
</div>
</div>
</body>
</html>
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
\ No newline at end of file
This diff is collapsed.
a:link, a:visited{
color: #e18a00;
text-decoration: none;
}
body {
/* background: #1C1C1C; */
background-image: url("img/office.png");
color:#9A9A9A;
}
.header{
border-radius: 12px;
border: 4px solid #faa51a;
padding-left: 50px;
padding-top: 10px;
margin-top:0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right:0px;
min-height: 80px;
background: #0D0D0D;
background-repeat:no-repeat;
background-position:top right;
}
.central{
width: 80%;
margin: auto;
margin-top: 5px;
margin-bottom: 5px;
padding-bottom: 5px;
padding-top: 1px;
background: #FFF;
border: 2px solid #e18a00;
padding-left: 10px;
color: #B8B8B8;
background-color: #0A0A0A/* efe6d7 */;
font-family: Verdana, Geneva, Arial, sans-serif;
}
.bouton{
-moz-transition: background 0.5s ease;
-webkit-transition: background 0.5s ease;
padding-top:4px;
padding-left: 10px;
padding-right:10px;
min-width: 80px;
font-size :20px;
float:left;
height: 30px;
text-align:center;
margin-right:4px;
border-bottom-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
border: 2px solid #555;
border-top: none;
font-family: Verdana, Geneva, Arial, sans-serif;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
color: #000;
border: solid 1px #da7c0c;
background: #f78d1d;
background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
background: -moz-linear-gradient(top, #faa51a, #f47a20);
}
.bouton:hover{
background: #f47c20;
background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
background: -moz-linear-gradient(top, #f88e11, #f06015);
box-shadow: 0px 5px 9px #040404;
}
.bouton:active{
color: #fcd3a5;
background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
background: -moz-linear-gradient(top, #f47a20, #faa51a);
}
.bouton_group{
width: 800px;
margin: auto;
}
.section{
width : 800px;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
padding-left:0px;
padding-right:0px;
background-color: #fff993;
}
.output{
width :88%;
background-color : rgb(200,200,200) ;
margin : auto;
margin-top:10px;
margin-bottom:10px;
padding : 5px;
font-family: monospace;
border : 1px dashed rgb(0,0,0);
}
.no_cadre{
border : none;
}
.one{
width : 780px;
height : 300px;
margin-left: auto;
margin-right: auto;
margin-top: 75px;
margin-bottom : 0px;
}
.left{
width : 550px;
height : 300px;
float : left;
margin-left: auto;
margin-right: auto;
margin-bottom : 0px;
}
.right{
width : 230px;
height : 100px;
float : right;
margin-left: auto;
margin-right: auto;
margin-bottom : 0px;
}
.centre{
text-align:center;
}
.title{
color : #FFF;
font-size :50px;
}
.mev{
/* color: #295795; */
font-size: 1.3em;
font-weight:bold;
}
.info{
color: #FFFFFF;
font-size: 25px;
}
.huge{
font-size: 40px;
}