initial commit after server failure

This commit is contained in:
Léo
2017-12-20 21:49:11 +01:00
commit a14390f8f5
109 changed files with 27898 additions and 0 deletions

240
views/css/d.blog.css Executable file
View File

@@ -0,0 +1,240 @@
/*********************************/
/** Blog list page **/
/*********************************/
#blog_list article {
margin: 40px auto 0 auto;
width: 90%;
background: #efefef;
border: 1px solid #ccc;
border-bottom: 2px solid #ccc;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
#blog_list #articles_list article:first-child {
margin-top: 80px;
}
#blog_list .article_title {
background: #ccc;
padding: 5px 10px;
}
#blog_list .article_content {
padding: 20px 10px 5px 10px;
white-space: pre-line;
}
#blog_list .article_legend {
font-style: italic;
padding: 0 10px;
}
#blog_list .article_link {
font-weight: 500;
}
#blog_list .article_infos {
float: right;
}
#blog_list .article_archive {
opacity: 0.5;
}
#blog_list .pagebuttons {
text-align: center;
margin: 40px 0 30px 0;
}
#blog_list .pagebuttons a {
background: #efefef;
border: 1px solid #ccc;
padding: 5px;
font-size: 1.5em;
}
#blog_list .pagebuttons .previous {
margin-right: -1px;
}
/*********************************/
/** Blog view article page **/
/*********************************/
#blogTimestamp {
font-size: 0.8em;
font-weight: 500;
float: right;
font-style: italic;
}
#blogContent {
margin: 50px 0 20px 0;
}
#blogContent h2 { margin: .75em 0 }
#blogContent h3 { margin: .83em 0 }
#blogContent h4, #blogContent p, #blogContent blockquote, #blogContent ul, #blogContent fieldset, #blogContent form, #blogContent ol, #blogContent dl { margin: 1.12em 0 }
#blogContent h5 { margin: 1.5em 0 }
#blogContent h6 { margin: 1.67em 0 }
#blogContent blockquote { margin-left: 40px; margin-right: 40px }
#blogContent ol, #blogContent ul, #blogContent dd { margin-left: 40px }
#blogContent ol ul, #blogContent ul ol, #blogContent ul ul, #blogContent ol ol { margin-top: 0; margin-bottom: 0 }
#blogContent .footnotes {
font-size: 0.8em;
}
#blogContent .footnotes p {
margin: 0.4em 0;
}
#blogContent hr {
border: 1px inset;
}
#new_comment {
clear: both;
margin: 100px auto 0 auto;
width: 90%;
background: #efefef;
border: 1px solid #ccc;
border-bottom: 3px solid #ccc;
}
#new_comment_label {
background: #ccc;
padding: 15px 10px;
cursor: pointer;
font-weight: 500;
font-size: 1.1em;
}
#new_comment_label p {
margin: 0;
}
#new_comment_label input {
display: none;
margin: -2px;
float: right;
padding: 5px 10px;
position: relative;
top: -7px;
width: 140px;
}
#new_comment_form {
display: none;
}
#new_comment_form textarea {
margin: 0;
border: 0;
}
#new_comment_label.sent {
cursor: default;
}
#blog_article article {
margin: 40px auto 0 auto;
width: 90%;
background: #efefef;
border: 1px solid #ccc;
border-bottom: 2px solid #ccc;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
#blog_article .comment_title {
background: #ccc;
padding: 5px 10px;
}
#blog_article .delete_link {
font-variant: small-caps;
font-weight: 500;
padding: 4px 0;
float: right;
}
#blog_article .icon {
border: 1px solid #999;
border-radius: 3px;
margin: 0 3px 0 3px;
padding: 4px 0;
line-height: 20px;
text-align: center;
width: 28px;
background: #ccc;
vertical-align: middle;
}
#blog_article .icon.avatar {
padding: 0;
height: 28px;
}
#blog_article .comment_content {
padding: 5px 10px;
}
#blog_article article.comment_archive {
opacity: 0.5;
}
#blog_article.archive {
opacity: 0.5;
}
/*********************************/
/** Blog edit article page **/
/*********************************/
form.form input[type="checkbox"] {
display:none;
}
form.form input[type="checkbox"] + span:before {
font-family: 'FontAwesome';
vertical-align: middle;
padding: 2px 4px 0px 5px;
margin-right: 10px;
display: inline-block;
width: 21px;
background: #ddd;
font-size: 25px;
}
form.form input[type="checkbox"] + span:before {
content: "\f096"; /* check-empty */
}
form.form input[type="checkbox"]:checked + span:before {
content: "\f046"; /* check */
}
/* Also used for new comment form in the view page */
form.form input, form.form textarea, #locale {
background: #ddd;
border-bottom: 2px solid #ccc;
display: block;
padding: 10px;
}
form.form textarea {
font-size: 14px;
margin: 10px 0 10px 0px;
width: calc(100% - 20px);
}
form.form input {
width: 58%;
margin: 10px 0 10px 0px;
vertical-align: middle;
font-size: 18px;
}
form.form label {
font-size: 18px;
}
#locale {
width: 38%;
float: right;
font-size: 17px;
}
#url {
width: calc(100% - 20px);
}
form.form input[type=submit] {
width: auto;
margin: auto;
border-bottom: 2px solid blue;
}

341
views/css/d.index.css Executable file
View File

@@ -0,0 +1,341 @@
* {
border: 0;
margin: 0;
padding: 0;
}
body {
font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif;
color: #333;
background: #ddd;
padding-top: 65px;
}
a {
text-decoration: none;
color: blue;
}
a:hover {
color: #212121;
text-decoration: none;
}
input {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
textarea {
resize:vertical;
}
small {
font-weight: 500;
}
.button {
padding: 5px 10px;
margin: 5px 10px;
border: 1px solid blue;
border-radius: 5px;
background: #ddddff;
}
.button:hover {
background: #eeeeff;
}
/* FONTS */
@font-face {
font-family: 'Fira Sans';
font-weight: 700;
src: url('../fonts/FiraSans-Bold.eot');
src: local('Fira-Sans-Bold'), local('Fira Sans Bold'), url('../fonts/FiraSans-Bold.otf') format('otf'), url('../fonts/FiraSans-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-weight: 600;
src: url('../fonts/FiraSans-Medium.eot');
src: local('Fira-Sans-Medium'), local('Fira Sans Medium'), url('../fonts/FiraSans-Medium.otf') format('otf'), url('../fonts/FiraSans-Medium.ttf') format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-weight: 500;
src: url('../fonts/FiraSans-Regular.eot');
src: local('Fira-Sans'), local('Fira Sans'), url('../fonts/FiraSans-Regular.otf') format('otf'), url('../fonts/FiraSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-weight: 400;
src: url('../fonts/FiraSans-Light.eot');
src: local('Fira-Sans-Light'), local('Fira Sans Light'), url('../fonts/FiraSans-Light.otf') format('otf'), url('../fonts/FiraSans-Light.ttf') format('truetype');
}
@font-face {
font-family: 'Fira Sans';
font-weight: 300;
src: url('../fonts/FiraSans-ExtraLight.eot');
src: local('Fira-Sans-ExtraLight'), local('Fira Sans ExtraLight'), url('../fonts/FiraSans-ExtraLight.otf') format('otf'), url('../fonts/FiraSans-ExtraLight.ttf') format('truetype');
}
/*********************************/
header {
position: fixed;
top: 0;
width: 100%;
background: black;
height: 65px;
color: white;
box-shadow: 0 0 3px black;
z-index: 1000;
}
header ul {
float: right;
position: relative;
}
header li {
display: inline-block;
height: 65px;
vertical-align: middle;
}
header li a {
color: white;
padding: 25px 15px 15px;
height: 20px;
display: block;
vertical-align: middle;
}
header li a:hover {
color: white;
}
header li:hover a {
border-bottom: 6px solid blue;
background: #212121;
}
header .icon {
border: 1px solid white;
border-radius: 3px;
margin: -5px 0;
padding: 4px 0;
line-height: 20px;
text-align: center;
width: 28px;
}
header .icon.avatar {
padding: 0;
height: 28px;
}
header li.has-sub:hover a {
border-bottom: 6px solid #212121;
}
header li.has-sub:hover > ul {
display: block;
}
header li.has-sub ul {
display: none;
position: absolute;
right: 0px;
margin-top: -1px;
background: #212121;
}
header li.has-sub ul li {
display: block;
height: 46px;
border-left: 6px solid #212121;
}
header #connectform {
height: 127px;
}
header li.has-sub ul li a {
float: none;
padding: 15px 25px 15px 10px;
height: 10px;
border-bottom: none;
}
header li.has-sub ul li:hover {
border-left: 6px solid blue;
border-bottom: none;
}
header form {
display: block;
width: 200px;
padding: 15px 15px 0 15px;
}
header input {
margin: 0 0 10px -5px;
padding: 5px;
background: #333;
border-bottom: 1px solid #555;
display: block;
width: 100%;
color: #bbb;
}
header input[type=submit] {
position: relative;
margin-left: 0;
}
header input[type=submit] {
background: #555;
border-bottom: 1px solid #777;
}
header input:hover {
background: #DDD;
color: #222;
}
#Hcontent {
width: 850px;
margin: 0 auto;
}
#logo {
float: left;
padding: 8px 15px;
margin: 2px 0;
opacity: 0.85;
}
#logo:hover {
opacity: 1;
}
#logo img {
height: 44px;
}
/*********************************/
section {
position: relative;
background: white;
margin: auto;
width: 820px;
min-height: 320px;
z-index: 10;
padding: 15px;
text-align: justify;
}
section h1 {
font-weight: 300;
font-size: 43px;
margin-top: 20px;
border-bottom: 1px solid #bbb;
}
section .subtitle {
font-variant: small-caps;
font-weight: 500;
background: #ddd;
margin: 0 20px 20px 0;
display: inline-block;
padding: 3px 5px;
float: right;
}
section p {
margin: 20px 0;
}
/***************************************/
footer {
background: #212121;
width: 820px;
padding: 15px;
margin: 15px auto 0 auto;
color: #c1c1c1;
text-align: left;
}
footer #footernav {
float: right;
padding: 0;
margin: 0;
}
footer a {
color: white;
padding: 0 8px;
}
footer a:hover {
color: white;
}
/*********************************/
/** Index page **/
/*********************************/
#indexFullW {
position: relative;
background: url('../img/aside.jpg') center center no-repeat #070707;
width: 100%;
height: 320px;
z-index: 100;
box-shadow: inset 0 -1px 0 #444, 0 1px 5px black;
}
#AScontent {
height: 320px;
width: 850px;
margin: auto;
}
#spacebeforesponsors {
height: 238px;
}
#sponsors {
height: 70px;
background: rgba(0,0,0,0.5);
padding: 5px 30px;
}
#sponsors a {
float: right;
display: block;
padding-top: 5px;
padding-left: 5px;
padding-right: 5px;
}
#sponsors a img {
height: 60px;
display: inline;
}
#sponsors p {
float: left;
color: white;
font-size: 20px;
font-variant: small-caps;
line-height: 70px;
}
section .thumb {
margin: 0 10px;
border: 1px solid #aaa;
}

173
views/css/d.map.css Executable file
View File

@@ -0,0 +1,173 @@
/* Custom configuration for the map page */
html {
height: 100%;
}
body {
height: calc(100% - 65px);
}
footer {
position: absolute;
bottom: 0;
left: calc(50% - 425px);
z-index: 10000;
}
/*****************************************
Controls of the map
*****************************************/
/* General */
.leaflet-control-container {
position: absolute !important;
width: 850px !important;
height: 100%;
left: calc(50% - 425px) !important;
font-family: "Fira Sans", "Open Sans",Helvetica,Arial,sans-serif !important;
}
.leaflet-fullscreen-on .leaflet-control-container {
position: absolute !important;
width: 100% !important;
left: 0 !important;
}
.leaflet-bottom.leaflet-left {
margin-bottom: 60px !important;
}
.leaflet-fullscreen-on .leaflet-bottom.leaflet-left {
margin-bottom: 15px !important;
margin-left: 15px !important;
}
.leaflet-bottom.leaflet-right {
margin-bottom: 60px !important;
}
.leaflet-fullscreen-on .leaflet-bottom.leaflet-right {
margin-bottom: 15px !important;
margin-right: 15px !important;
}
.leaflet-control {
clear: none !important;
padding: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
color: #c1c1c1 !important;
}
.leaflet-right .leaflet-control {
margin: 0 0 0 15px !important;
}
.leaflet-left .leaflet-control {
margin: 0 15px 0 0 !important;
}
.leaflet-control a, .leaflet-control button {
display: inline-block !important;
float: none !important;
border: none !important;
background-color: #212121 !important;
border-radius: 0 !important;
color: #c1c1c1 !important;
border-right: 1px #3e3e3e solid !important;
}
.leaflet-control a:last-child, .leaflet-control button:last-child {
border-right: none !important;
}
/* Zoom */
.leaflet-control-zoom-in, .leaflet-control-zoom-out {
font-size: 10px !important;
}
.leaflet-disabled {
background-color: rgba(33, 33, 33, 0.8) !important;
opacity: 0.8 !important;
}
/* Fullscreen */
.leaflet-control-fullscreen a {
background: #212121 !important;
}
.leaflet-control-fullscreen a:before {
content: "\f065";
font-family: FontAwesome;
background: none !important;
}
.leaflet-fullscreen-on .leaflet-control-fullscreen a:before {
content: "\f066";
font-family: FontAwesome;
}
/* Baselayers */
.leaflet-control-layers a {
background: #212121 !important;
width: 26px !important;
height: 26px !important;
line-height: 26px !important;
text-align: center !important;
border-right: none !important;
}
.leaflet-control-layers a:before {
content: "\f279";
font-family: FontAwesome;
background: none !important;
}
.leaflet-control-layers-expanded a {
display: none !important;
}
.leaflet-control-layers-list {
padding: 3px 8px !important;
color: white !important;
background: #212121 !important;
}
/* Credit / Legend */
.leaflet-control button {
font-size: 12px !important;
}
#footer-credits, #footer-legend {
background: #212121;
width: 820px;
padding: 15px;
margin: 15px auto 0 auto;
color: #c1c1c1;
text-align: left;
position: absolute;
bottom: 0;
left: calc(50% - 425px);
z-index: 10000;
}
#footer-credits .close-link, #footer-legend .close-link {
float: right;
color: white;
padding: 0 8px;
cursor: pointer;
}
#footer-credits a, #footer-legend a {
color: white;
}
#footer-credits a:hover, #footer-legend a:hover {
color: white;
}
/* Scale */
.leaflet-control-scale-line {
height: 26px !important;
background: #212121 !important;
color: #c1c1c1 !important;
text-align: center !important;
border: none !important;
font-size: 12px !important;
line-height: 20px !important;
}
.leaflet-control-scale {
opacity: 0.8 !important;
}

219
views/css/d.user.css Executable file
View File

@@ -0,0 +1,219 @@
/*********************************/
/** Login page **/
/*********************************/
form.form {
width: 50%;
margin: 25px auto;
text-align: center;
}
form.form input, form.form textarea {
background: #ddd;
border-bottom: 2px solid #ccc;
width: 100%;
display: block;
margin: 10px 0 15px -10px;
padding: 10px;
}
form.form textarea {
font-size: 14px;
}
form.form input {
font-size: 18px;
}
form.form input[type=submit] {
width: auto;
margin: auto;
border-bottom: 2px solid blue;
}
/*********************************/
/** Profile page **/
/*********************************/
#profile article {
margin: 30px 0;
}
#profile aside {
width: 220px;
height: 240px;
background: #ddd;
float: left;
margin: 0 30px 0 0;
border: 1px solid #bbb;
text-align: center;
color: #999;
line-height: 238px;
overflow: hidden;
}
#profile aside img {
vertical-align: middle;
max-width: 220px;
max-height: 240px;
z-index: 1;
box-shadow: 0 0 15px #aaa;
}
#profile aside.noavatar #profileavatar {
display: none;
}
#profile aside.avatar #profilenoavatar {
display: none;
}
#profile aside.noavatar #profilenoavatar {
display: inline;
font-size: 150px;
line-height: 238px;
}
#profile aside.avatar #profileavatar {
display: inline;
}
.userrole {
font-variant: small-caps;
font-weight: 500;
}
.external-link {
font-size: 0.8em;
margin: 0 3px;
}
#profile form.form {
width: 90%;
}
/*********************************/
/** Edit user page **/
/*********************************/
form.edituser ul {
margin-left: 250px;
}
form.edituser ul {
list-style-type: none;
}
form.edituser label {
width: 150px;
float: left;
margin: 13px 15px 0 0;
text-align: right;
}
form.edituser input, form.edituser select {
background: #ddd;
border-bottom: 2px solid #ccc;
margin: 5px;
padding: 10px;
width: 250px;
}
form.edituser input[type=submit] {
width: 150px;
margin: 20px 0 0 170px;
border-bottom: 2px solid blue;
}
form.edituser #picturebuttonscontainer {
text-align: left;
height: 0;
top: 106px;
left: 0;
position: relative;
z-index: 10;
}
form.edituser #picturebuttons {
text-align: center;
line-height: 30px;
height: 30px;
display: inline-block;
background: #bbb;
}
form.edituser #picturebuttons a {
width: 30px;
display: inline-block;
}
/*********************************/
/** Member list page **/
/*********************************/
#member_list table {
width: 100%;
margin: 30px auto;
}
#member_list table, #member_list td {
border: 1px solid #ccc;
border-collapse: collapse;
}
#member_list th {
border: 1px solid #aaa;
border-collapse: collapse;
}
#member_list th a {
color: inherit !important;
}
#member_list th i {
float: right;
}
#member_list td, #member_list th {
padding: 5px;
}
#member_list tr:nth-child(even) {
background: #efefef;
}
#member_list tr:nth-child(odd) {
background: #e1e1e1;
}
#member_list tr.first {
background: #ccc;
}
#member_list tr:hover {
background: #f5f5f5;
}
#member_list tr.first:hover {
background: #ccc;
}
#member_list .username {
font-size: 1.2em;
}
#member_list .icon {
border: 1px solid #999;
border-radius: 3px;
margin: 0 3px 0 0;
padding: 4px 0;
line-height: 20px;
text-align: center;
width: 28px;
background: #ccc;
vertical-align: middle;
}
#member_list .icon.avatar {
padding: 0;
height: 28px;
}
#member_list .pagebuttons {
text-align: center;
}
#member_list .pagebuttons a {
background: #efefef;
border: 1px solid #ccc;
padding: 5px;
font-size: 1.5em;
}
#member_list .pagebuttons .previous {
margin-right: -1px;
}

66
views/css/d.wiki.css Executable file
View File

@@ -0,0 +1,66 @@
/*********************************/
/** View page **/
/*********************************/
#wikiTimestamp {
font-size: 0.8em;
font-weight: 500;
float: right;
font-style: italic;
}
form.form input, form.form textarea, #locale {
background: #ddd;
border-bottom: 2px solid #ccc;
display: block;
padding: 10px;
}
form.form textarea {
font-size: 14px;
margin: 10px 0 10px 0px;
width: calc(100% - 20px);
}
form.form input {
width: 58%;
margin: 10px 0 10px 0px;
font-size: 18px;
}
#locale {
width: 38%;
float: right;
font-size: 17px;
}
form.form input[type=submit] {
width: auto;
margin: auto;
border-bottom: 2px solid blue;
}
#wikiContent {
margin: 50px 0;
}
#wikiContent h2 { margin: .75em 0 }
#wikiContent h3 { margin: .83em 0 }
#wikiContent h4, #wikiContent p, #wikiContent blockquote, #wikiContent ul, #wikiContent fieldset, #wikiContent form, #wikiContent ol, #wikiContent dl { margin: 1.12em 0 }
#wikiContent h5 { margin: 1.5em 0 }
#wikiContent h6 { margin: 1.67em 0 }
#wikiContent blockquote { margin-left: 40px; margin-right: 40px }
#wikiContent ol, #wikiContent ul, #wikiContent dd { margin-left: 40px }
#wikiContent ol ul, #wikiContent ul ol, #wikiContent ul ul, #wikiContent ol ol { margin-top: 0; margin-bottom: 0 }
#wikiContent .footnotes {
font-size: 0.8em;
}
#wikiContent .footnotes p {
margin: 0.4em 0;
}
#wikiContent hr {
border: 1px inset;
}
#wiki_page.archive {
opacity: 0.5;
}