1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00

Merge branch 'master' into testing

This commit is contained in:
farvardin 2021-11-23 18:23:05 +01:00 committed by GitHub
commit 5e3d32795e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 555 additions and 201 deletions

55
.github/ISSUE_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,55 @@
---
name: Bug report
about: When creating a bug report, please use the following template to provide all the relevant information and help debugging efficiently.
---
**How to post a meaningful bug report**
1. *Read this whole template first.*
2. *Determine if you are on the right place:*
- *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!*
- *Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.*
- *When in doubt, post here and we will figure it out together.*
3. *Delete the italic comments as you write over them below, and remove this guide.*
---
### Describe the bug
*A clear and concise description of what the bug is.*
### Context
- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...*
- YunoHost version: x.x.x
- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...*
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes*
- If yes, please explain:
- Using, or trying to install package version/branch:
- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`*
### Steps to reproduce
- *If you performed a command from the CLI, the command itself is enough. For example:*
```sh
sudo yunohost app install the_app
```
- *If you used the webadmin, please perform the equivalent command from the CLI first.*
- *If the error occurs in your browser, explain what you did:*
1. *Go to '...'*
2. *Click on '...'*
3. *Scroll down to '...'*
4. *See error*
### Expected behavior
*A clear and concise description of what you expected to happen. You can remove this section if the command above is enough to understand your intent.*
### Logs
*When an operation fails, YunoHost provides a simple way to share the logs.*
- *In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.*
- *In command line, the command to share the logs is displayed at the end of the operation and looks like `yunohost log display [log name] --share`. If you missed it, you can find the log ID of a previous operation using `yunohost log list`.*
*After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)*
*If applicable and useful, add screenshots to help explain your problem.*

16
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,16 @@
## Problem
- *Description of why you made this PR*
## Solution
- *And how do you fix that problem*
## PR Status
- [ ] Code finished and ready to be reviewed/tested
- [ ] The fix/enhancement were manually tested (if applicable)
## Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ *after creating the PR*, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

View file

@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
LionWiki-t2t is a minimalist Wiki engine programmed in PHP. It is extensible, templatable, file based (it doesn't need database like MySQL) and requires just one file to function (30 kb). It is suitable for small websites, personal notebooks or journals. This version is using the lightweight markup language TXT2TAGS.
**Shipped version:** 3.2.11b
**Shipped version:** 3.2.12e
## Screenshot

View file

@ -1,5 +1,5 @@
SOURCE_URL=http://lionwiki.0o.cz/download/3.2.12/lionwiki-3.2.12.zip
SOURCE_SUM=dfa7ebd8bca1e85fc8d2cc9554ca2a713a30e24f54acad80664c147acd4d1f16
SOURCE_URL=https://sourceforge.net/projects/lionwiki-t2t/files/lionwiki-t2t.zip
SOURCE_SUM=3b893ed663da7fb4db381e88d5044281452c68fe3ad920b5a23b326ce5a2e4f6
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -30,18 +30,20 @@ $TEMPLATE = 'templates/minimaxing/minimaxing.html'; // this one is the default s
//$TEMPLATE = 'templates/ElectricObsidian/ElectricObsidian.html'; // dark theme
//$TEMPLATE = 'templates/literature/literature.html'; // light theme
//$TEMPLATE = 'templates/newspaper/newspaper.html'; // light theme
//$TEMPLATE = 'templates/bootstrap/bootstrap.html'; // bootstrap look. The navbar collapse menu no longer work at the moment
// Those templates are more minimalistic and use only a basic toolbar:
$TEMPLATE = 'templates/ggp/ggp.html';
//$TEMPLATE = 'templates/ggp/ggp.html';
//$TEMPLATE = 'templates/blazekiss/blazekiss.html';
//$TEMPLATE = 'templates/sissou.html';
//$TEMPLATE = 'templates/fravashyo/fravashyo.html';
//$TEMPLATE = 'templates/dandelion.html';
//$TEMPLATE = 'templates/minimal.html';
//$TEMPLATE = 'templates/terminal.html';
//$TEMPLATE = 'templates/terminal/terminal.html';
//$TEMPLATE = 'templates/terminal_green.html';
//$TEMPLATE = 'templates/terminal_white.html';
//$TEMPLATE = 'templates/light.html';
//$TEMPLATE = 'templates/print.html';

View file

@ -544,4 +544,8 @@ th, thead, #previewPane th, #previewPane thead {
text-decoration: none;
}
progress { color: @MainColor; background-color: @BackgroundColor - #111; border-radius: 0px; border: solid 1px; width: 10em; height: 1em;}
progress::-moz-progress-bar { background: @MainColor;}
progress::-webkit-progress-value { background: @MainColor;}
progress::-webkit-progress-bar { background: @MainColor;}

View file

@ -1,3 +1,19 @@
/*-----------------------
--------------
- Minimaxing -
--------------
a template for Lionwiki-t2t
https://lionwiki-t2t.sourceforge.io/
based on
https://html5up.net/minimaxing
licence Creative Commons Attribution 3.0 Unported
http://creativecommons.org/licenses/by/3.0/
----------------------------*/
/* This CSS file was generated from the minimaxing.less template.
See http://lesscss.org/
*/
@ -19,124 +35,92 @@ You can create your own manuscript / handwriting font on http://www.myscriptfont
#847457 : brown
*/
/* define mixin */
/* call the mixin which sets the variable once */
/* we disable it as it's sometimes a problem with lesscss
.generateColor() {
@background-color: color(~`@{all-background-colors}.split(',')[Math.floor(Math.random()*@{all-background-colors}.split(',').length)]`);
}
.generateColor();
*/
/* This line below will use a random main color: */
/* @MainColor: @background-color; */
/* @fg: @background-color; */
/* if you prefer to select a fixed background color, just uncomment one color from below */
/* @MainColor: #549136; */
/*@MainColor: #7E2434;*/
/*@MainColor: #549136;*/
/* For YunoHost config */
/* @fg: #__YNH_COLOR__; */
/* Header color */
/* You can use a shade of MainColor: */
/* or a complementary color: */
/* used in max-width (should be renamed) */
/*@HeaderColor: (#ffffff - @fg - (#ffffff - @fg)/3); */
/* templates */
/* Brick Red (darker) Default color 2021 */
/* normal or bold */
/* overriding default values above */
/* theme 03 */
/* */
/* Dark blue */
/*@link-hover: desaturate(darken(@fg,10%),20%);*/
/* TODO should be HeaderColor: color: spin(@fg, 180);*/
/* normal or bold */
/*@import url(http://fonts.googleapis.com/css?family=Ubuntu+Condensed);
@import url(http://fonts.googleapis.com/css?family=Ubuntu);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic);
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic);
*/
@font-face {
font-family: MyFont;
font-style: normal;
font-weight: 400;
src: url(../fonts/MyFont.ttf) format('truetype');
}
@font-face {
font-family: MyManuscript;
font-style: normal;
font-weight: 400;
src: url(../fonts/MyManuscript.ttf) format('truetype');
}
@font-face {
font-family: LoveYaLikeASister;
font-style: normal;
font-weight: 400;
src: url(../fonts/LoveYaLikeASister-Regular.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu Condensed';
font-style: normal;
font-weight: 400;
src: local('Ubuntu Condensed'), local('UbuntuCondensed-Regular'), url(../fonts/ubuntu-condensed-regular.woff) format('woff');
}
/*@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'),local('OpenSans-Light'),url(../fonts/OpenSans-Light.woff) format('woff');
}*/
@font-face {
font-family: 'Open Sans';
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans.woff) format('woff');
font-weight: normal;
src: local('Ubuntu'), url(../fonts/ubuntu.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-family: 'Ubuntu';
font-style: italic;
font-weight: normal;
src: local('Ubuntu Italic'), url(../fonts/ubuntu-italic.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: bold;
font-weight: bold;
src: local('Ubuntu Bold'), url(../fonts/ubuntu-bold.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-weight: bold;
font-style: italic;
src: local('Ubuntu Italic Bold'), url(../fonts/ubuntu-bold-italic.woff) format('woff');
}
/* Ubuntu */
@font-face {
font-family: Fengardo;
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(../fonts/OpenSans-Semibold.woff) format('woff');
font-weight: normal;
src: url(../fonts/fengardoneue-regular.woff) format('woff'), url(../fonts/fengardoneue-regular.otf) format('opentype'), url(../fonts/fengardoneue-regular.svg) format('svg');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(../fonts/OpenSans-Extrabold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-family: Fengardo;
font-style: italic;
font-weight: 300;
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(../fonts/OpenSansLight-Italic.woff) format('woff');
src: url(../fonts/fengardoneue-italic.otf) format('opentype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'), url(../fonts/OpenSans-Italic.woff) format('woff');
font-family: Fengardo;
font-weight: bold;
src: url(../fonts/fengardoneue-black.woff) format('woff'), url(../fonts/fengardoneue-black.otf) format('opentype'), url(../fonts/fengardoneue-black.svg) format('svg');
/*font-weight: 500;*/
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(../fonts/OpenSans-SemiboldItalic.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(../fonts/OpenSans-BoldItalic.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 800;
src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(../fonts/OpenSans-ExtraboldItalic.woff) format('woff');
}
@font-face {
font-family: 'Open Sans Condensed';
font-style: normal;
font-weight: 700;
src: local('Open Sans Condensed Bold'), local('OpenSans-CondensedBold'), url(../fonts/OpenSans-CondensedBold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans Condensed';
font-style: normal;
font-weight: 300;
src: local('Open Sans Cond Light'), local('OpenSans-CondensedLight'), url(../fonts/OpenSans-CondensedLight.woff) format('woff');
}
@font-face {
font-family: 'Open Sans Condensed';
font-style: italic;
font-weight: 300;
src: local('Open Sans Cond Light Italic'), local('OpenSans-CondensedLightItalic'), url(../fonts/OpenSans-CondensedLightItalic.woff) format('woff');
font-family: 'Fengardo Neue';
font-style: bold;
font-weight: 200;
src: url(../fonts/fengardoneue-black.woff) format('woff');
}
/* Fengardo Neue */
/*
Minimaxing 1.0 by nodethirtythree design
http://nodethirtythree.com | @nodethirtythree
@ -202,9 +186,15 @@ h6 a:hover {
}
.contentTextarea {
width: 90%;
font-family: Open Sans, MyManuscript, MyFont, Ubuntu, sans-serif;
font-family: Ubuntu;
font-size: 105%;
}
.markItUpEditor {
width: 90%;
font-family: Ubuntu;
color: #444;
font-size: 140%;
}
#diff {
white-space: pre-wrap;
word-wrap: break-word;
@ -326,73 +316,95 @@ thead,
/******************************************************************/
/* Global */
/******************************************************************/
/* Mixin Macro */
.break {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
body {
font-size: 12pt;
font-family: sans-serif;
background-color: #d8e1d4;
font-family: Open Sans, MyManuscript, MyFont, Ubuntu, sans-serif;
color: #767d72;
/*font-family: sans-serif;*/
/*background-color: (@Bg-extra-light/1.1 + #111);*/
background-color: #ffffff;
font-family: Ubuntu;
color: #656c61;
}
#header h1 {
color: #fff;
margin: 0;
padding: 0;
margin: 2px;
padding: 2px;
border: none;
}
h1,
h2,
h3,
h4 {
font-family: Open Sans Condensed, MyManuscript, MyFont, LoveYaLikeASister, Ubuntu Condensed, sans-serif;
font-family: Fengardo Neue;
text-transform: uppercase;
color: #724986;
color: #5d2c0b;
font-weight: bold;
margin-left: 0.1em;
margin-right: 0.1em;
padding-left: 2px;
padding-right: 2px;
}
h1,
h2 {
border-bottom: 1px solid grey;
}
h1 {
font-size: 155%;
/*font-size: 2.6em;*/
font-size: clamp(2em, 4vw, 6em);
text-align: center;
text-decoration: none;
}
h1 a {
color: #724986;
color: #5d2c0b;
}
#header-wrapper h1 {
color: #fff;
color: #ffffff;
line-height: 1.3em;
border-bottom: none;
}
#header-wrapper {
color: #65a247;
color: #1c4d6e;
}
#header-wrapper a {
color: #76b358;
color: #2d5e7f;
}
#header-wrapper a:hover,
#header-wrapper a:hover {
background-color: #549136;
color: #104d00;
background-color: #0b3c5d;
color: #000019;
}
#header nav {
color: #111;
color: #ffffff;
text-transform: lowercase;
}
#header nav a,
#header nav li a {
display: inline-block;
text-decoration: none;
color: #fff;
color: #ffffff;
}
#header nav li a:hover,
#header nav li a:active {
background-color: #fff;
border-radius: 6px;
color: #111;
color: #0b3c5d;
}
h2 {
font-size: 1.6em;
letter-spacing: -1px;
letter-spacing: 1px;
margin-bottom: 0.0em;
margin-top: 1.8em;
}
@ -411,42 +423,59 @@ h4 {
p,
ul {
margin-bottom: 1.0em;
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
p {
line-height: 1.7em;
margin-left: 0.25em;
margin-right: 0.25em;
padding-left: 5px;
padding-right: 5px;
}
#main-row strong,
b {
color: #555;
/*color: #555;*/
}
s {
color: #aaa;
}
::selection {
background: #549136;
color: #fff;
background: #0b3c5d;
color: #ffffff;
}
::-moz-selection {
background: #549136;
color: #fff;
background: #0b3c5d;
color: #ffffff;
}
pre {
background-color: #edf7e8;
background-color: #f3fbff;
line-height: 1.5em;
font-family: mono;
font-family: Monospace;
font-size: 11pt;
margin: 1.0em;
}
code,
blockquote,
dt {
background-color: #edf7e8;
line-height: 1.5em;
font-family: mono;
background-color: #f3fbff;
font-family: Monospace;
font-size: 11pt;
/*margin: 1.0em;*/
}
dd {
line-height: 1.5em;
font-family: Monospace, Courier;
font-family: Monospace;
font-size: 0.9em;
}
pre,
@ -462,7 +491,7 @@ img {
max-width: 50%;
max-height: 500px;
padding: 1px;
border: solid 1px #76b358;
border: solid 1px #2d5e7f;
/*display: block;*/
/*margin: 0 auto;*/
}
@ -480,6 +509,13 @@ img.noborder {
position: absolute;
z-index: 10;
}
.img-circle {
border-radius: 50%;
border: solid 0px ;
min-width: 100px;
max-width: 200px;
background: #5d2c0b;
}
li {
line-height: 1.5em;
}
@ -489,16 +525,17 @@ li {
}
#main ul li:hover,
ul li:active {
background-color: #edf7e8;
background-color: #ffffff;
background-color: #e1e9ef;
}
a {
color: #559237;
color: #0c3d5e;
text-decoration: none;
}
a:hover {
text-decoration: none;
background-color: #dce6d7;
border-radius: 4px;
background-color: #407192;
color: #ffffff;
}
ul.small-image-list li {
margin-bottom: 1.5em;
@ -520,71 +557,71 @@ ul.link-list li:first-child {
a.toolbarTextareaItem {
display: inline-block;
padding: 5px 10px 5px 10px;
background-color: #549136;
background-color: #0b3c5d;
border-radius: 6px;
text-transform: lowercase;
text-decoration: none;
color: #fff;
color: #ffffff;
font-size: 1.0em;
letter-spacing: -1px;
border: solid 1px #549136;
box-shadow: inset 0px 0px 0px 1px #549136;
border: solid 1px #0b3c5d;
box-shadow: inset 0px 0px 0px 1px #0b3c5d;
}
.button:hover,
a.toolbarTextareaItem:hover {
background-color: #65a247;
color: #fff;
background-color: #1c4d6e;
color: #ffffff;
}
a.toolbarTextareaItem b {
color: #fff;
color: #ffffff;
}
#copyright {
font-size: 0.6em;
text-align: center;
color: #a7b1a2;
color: #0b3c5d;
border-top: solid 1px #ced0b7;
line-height: 1.1em;
padding: 3em 0 0 0;
margin: 1% 0 0 0;
}
#copyright a {
color: #96a091;
color: #002b4c;
}
#copyright a:hover {
color: #ffffff;
background-color: #b9c3b4;
background-color: #1d4e6f;
}
.txt2tagsMenu,
input {
background-color: #c7d0c3;
background-color: #ccd4d9;
}
.txt2tagsMenu:hover,
input.submit:hover {
background-color: #d8e1d4;
background-color: #dde5ea;
}
.button_txt2tags_true,
input.submit {
background-color: #549136;
background-color: #0b3c5d;
color: #fff;
}
.button_txt2tags_true:hover,
input.submit:hover {
background-color: #76b358;
background-color: #2d5e7f;
}
.button_txt2tags_false {
background-color: #724986;
background-color: #5d2c0b;
color: #fff;
}
.button_txt2tags_false:hover {
background-color: #946ba8;
background-color: #7f4e2d;
}
.valide {
color: #549136;
background-color: #c7d0c3;
color: #0b3c5d;
background-color: #ccd4d9;
}
.refuse {
color: #724986;
background-color: #c7d0c3;
color: #5d2c0b;
background-color: #ccd4d9;
}
/********************************/
/* 1000px (>= 1000px) */
@ -601,7 +638,7 @@ input.submit:hover {
margin-top: 1.5em;
}
#header-wrapper {
background-color: #549136;
background-color: #0b3c5d;
}
#header-wrapper h1 {
margin-top: 0;
@ -614,8 +651,7 @@ input.submit:hover {
margin-top: 40px;
padding: 0 40px 0 40px;
border-radius: 6px;
border: solid 1px #549136;
box-shadow: inset 0px 0px 0px 1px #549136, 0px 1px 4px 0px rgba(0, 0, 0, 0);
box-shadow: inset 0px 0px 0px 1px #0b3c5d, 0px 1px 4px 0px rgba(0, 0, 0, 0);
height: 66px;
}
#header h1 {
@ -623,7 +659,7 @@ input.submit:hover {
left: 10px;
top: -28px;
font-size: 2.4em;
letter-spacing: 2px;
letter-spacing: 3px;
/*line-height: 6px;*/
/* pb in konqueror*/
}
@ -658,7 +694,7 @@ input.submit:hover {
}
#banner-wrapper a {
border-bottom: none;
color: #724986;
color: #5d2c0b;
}
#banner-wrapper {
margin-top: -20px;
@ -667,7 +703,7 @@ input.submit:hover {
#banner-wrapper h1 {
text-align: center;
font-size: 2.2em;
letter-spacing: 0px;
letter-spacing: 1px;
text-decoration: none;
border-top: 0px;
border-bottom: 15px;
@ -691,7 +727,7 @@ input.submit:hover {
font-size: 3.3em;
color: #fff;
text-align: center;
letter-spacing: -2px;
letter-spacing: 1px;
}
#banner span {
display: block;
@ -708,7 +744,7 @@ input.submit:hover {
opacity: 0.8;
}
#main {
background: #fff;
background-color: #ffffff;
padding: 2% 0 2% 0;
padding-top: -20px;
}
@ -755,7 +791,7 @@ input.submit:hover {
width: 490px;
}
#header-wrapper {
background-color: #549136;
background-color: #0b3c5d;
}
#header {
position: relative;
@ -763,9 +799,7 @@ input.submit:hover {
margin-top: 40px;
padding: 0 40px 0 40px;
border-radius: 6px;
border: solid 1px #549136;
box-shadow: inset 0px 0px 0px 1px #549136, 0px 1px 4px 0px rgba(0, 0, 0, 0);
background-color: #549136;
box-shadow: inset 0px 0px 0px 1px #0b3c5d, 0px 1px 4px 0px rgba(0, 0, 0, 0);
height: 66px;
}
#header h1 {
@ -828,7 +862,7 @@ input.submit:hover {
font-size: 3em;
color: #fff;
text-align: center;
letter-spacing: -2px;
letter-spacing: 1px;
}
#banner span {
display: block;
@ -845,8 +879,10 @@ input.submit:hover {
opacity: 0.8;
}
#main {
background: #fff;
background-color: #ffffff;
padding: 3% 0 3% 0;
margin-left: 8px;
margin-right: 4px;
}
#main .main-row {
margin: 2% 0 2% 0;
@ -903,7 +939,7 @@ input.submit:hover {
width: 100%;
}
#header-wrapper {
background-color: #549136;
background-color: #0b3c5d;
}
#header-wrapper h1 {
margin-top: 0px;
@ -945,7 +981,7 @@ input.submit:hover {
padding: 10px 25px 10px 25px;
}
#banner-wrapper {
background: #549136 url(images/bg1.png);
background: #0b3c5d url(images/bg1.png);
display: none;
}
#banner {
@ -967,7 +1003,7 @@ input.submit:hover {
font-size: 2em;
color: #fff;
text-align: center;
letter-spacing: -2px;
letter-spacing: 1px;
}
#banner span {
display: block;
@ -990,13 +1026,16 @@ input.submit:hover {
/* important for markitup : */
.contentTextarea {
width: 96%;
font-family: Open Sans, MyManuscript, MyFont, Ubuntu, sans-serif;
font-family: Ubuntu;
font-size: 105%;
padding: 0px;
margin-left: -15px;
margin-left: -0.25px;
}
#main {
/*overflow: auto;*/
background-color: #ffffff;
margin-left: 8px;
margin-right: 4px;
}
/* from 5grid/core.css */
.\35 grid {
@ -1012,7 +1051,7 @@ input.submit:hover {
width: 98%;
margin: 1%;
/*box-shadow:-1px 2px 5px 1px #105070*/
border: 2px solid #98d57a;
border: 2px solid #4f80a1;
}
.mycontent td,
.mycontent th {
@ -1021,29 +1060,157 @@ input.submit:hover {
text-align: left;
}
.mycontent th {
background: #104d00;
background: #000019;
/*#105070;*/
color: #fff;
font-weight: bold;
}
.mycontent tr {
background: #ccffae;
background: #83b4d5;
/*rgba(16,80,112,0.2);*/
color: #111111;
}
.mycontent tr a:hover,
.mycontent #header-wrapper a:hover {
background-color: #549136;
color: #98d57a;
background-color: #0b3c5d;
color: #4f80a1;
}
.mycontent tr a {
color: #104d00;
color: #000019;
font-weight: bold;
}
.mycontent tr:nth-child(even) {
background: #a9e68b /*rgba(16,80,112,0.1)*/;
background: #6091b2 /*rgba(16,80,112,0.1)*/;
}
.mycontent tr:hover,
.mycontent tr:hover td {
background-color: #65a247 /*rgba(16,80,112,0.3)*/;
background-color: #1c4d6e /*rgba(16,80,112,0.3)*/;
}
/* Progress bar */
progress {
color: #5d2c0b;
background-color: white;
/*border-radius: 4px; */
border-radius: 0px;
border: solid 1px;
width: 10em;
height: 1em;
-webkit-appearance: none;
}
progress::-moz-progress-bar {
background: #5d2c0b;
}
progress::-webkit-progress-value {
background: #5d2c0b;
}
progress::-webkit-progress-bar {
background: white;
}
/* Big buttons */
.block {
display: inline-block;
width: 65%;
border: 2px solid #5d2c0b;
background-color: #5d2c0b;
height: 50px;
margin-top: 8px;
margin-bottom: 8px;
font-family: Ubuntu;
padding-left: 2px;
padding-right: 2px;
font-size: 16px;
color: #e1e9ef;
/*cursor: pointer;*/
text-align: center;
vertical-align: middle;
/*transition: box-shadow 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, border-color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, transform 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, background-color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s;*/
border-radius: 0px;
}
.block a {
display: inline-block;
min-width: 100%;
padding: 0px;
padding-top: 0px;
height: 46px;
line-height: 46px;
color: #fff;
text-decoration: none;
border-radius: 0px;
}
/*.block:hover, */
.block a:hover {
/*border: 2px solid @HeaderColor;*/
background-color: #fff;
color: #5d2c0b;
margin-left: -2px;
margin-right: -2px;
padding-left: 2px;
padding-right: 2px;
}
@media only screen and (max-width: 999px) and (min-width: 1px) {
.block {
width: 90%;
}
}
/* Todotxt support */
.todotxt_A {
color: #082d46;
}
.todotxt_B {
color: #1b2267;
}
.todotxt_C {
color: #462873;
}
.todotxt_D {
color: #76377d;
}
.todotxt_E {
color: #8a446e;
}
.todotxt_F {
color: #527a95;
}
.todotxt_context {
color: #5d2c0b;
}
.todotxt_tag {
color: #550b5d;
}
.todotxt_deleted {
opacity: 0.4;
}
.todotxt_date {
background-color: #f2f2f2;
}
@media (prefers-color-scheme: dark) {
/* Invert all elements on the body while attempting to not alter the hue substantially. */
body {
filter: invert(100%) hue-rotate(180deg);
}
/* Workarounds and optical adjustments. */
/* Firefox workaround: Set the background colour for the html
element separately because, unlike other browsers, Firefox
doesnt apply the filter to the root elements background. */
html {
background-color: #111;
}
/* Do not invert media (revert the invert). */
img,
video,
iframe {
filter: invert(100%) hue-rotate(180deg);
}
/* Improve contrast on icons. */
.icon {
filter: invert(15%) hue-rotate(180deg);
}
/* Re-enable code block backgrounds. */
pre {
filter: invert(6%);
}
/* Improve contrast on list item markers. */
li::marker {
color: #555;
}
}

View file

@ -10,9 +10,7 @@
<link rel="icon" href="templates/favicon.png" type="image/png" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="templates/minimaxing/5grid/core.css" />
<link rel="stylesheet" href="templates/minimaxing/minimaxing.css" />
<script src="templates/js/less.js" type="text/javascript"></script>
<!-- for txt2tagsjs -->
<script type="text/javascript" src="txt2tags.js"></script>
@ -34,6 +32,9 @@
<link rel="stylesheet" type="text/css" href="markitup/skins/simple/style.css" />
<link rel="stylesheet" type="text/css" href="markitup/sets/txt2tags/style.css" />
<link rel="stylesheet" href="templates/minimaxing/minimaxing.css" />
<script src="templates/js/less.js" type="text/javascript"></script>
<script type="text/javascript" >
<!--
$(document).ready(function() {
@ -125,7 +126,7 @@ $(document).ready(function() {
<td colspan="2" style="text-align: right;" ><small>{SHOW_PAGE}<br/>{SYNTAX}</small></td>
</tr>
<tr>
<td colspan="3">{CONTENT_TEXTAREA}</td>
<td colspan="3"><!--{ CONTENT_SUBMIT}{ CONTENT_PREVIEW}<br/><br/>-->{CONTENT_TEXTAREA}</td>
</tr>
<tr>
<td colspan="2">{FORM_PASSWORD}{ FORM_PASSWORD_INPUT}{ plugin:CAPTCHA_QUESTION}{ plugin:CAPTCHA_INPUT}<br/>{ EDIT_SUMMARY_TEXT}{ EDIT_SUMMARY_INPUT}<br/>{ CONTENT_SUBMIT}{ CONTENT_PREVIEW}</td>
@ -148,7 +149,7 @@ $(document).ready(function() {
<div id="copyright">
{SEARCH_FORM}{SEARCH_INPUT}{SEARCH_SUBMIT}{/SEARCH_FORM}
<br />
Design CC-BY-SA based on <a href="http://n33.co/">n33</a>. Powered by <a href="https://sourceforge.net/p/lionwiki-t2t/code/">LionWiki-t2t</a>
Design CC-BY-SA based on <a href="https://html5up.net/minimaxing">Minimaxing</a>. Powered by <a href="https://sourceforge.net/p/lionwiki-t2t/code/">LionWiki-t2t</a>
</div>
</div>

View file

@ -5,11 +5,18 @@
*/
@MainFontFamily: Open Sans,MyManuscript,MyFont, Ubuntu, sans-serif;
@MainFontFamilyHeader: Open Sans Condensed,MyManuscript,MyFont,LoveYaLikeASister,Ubuntu Condensed, sans-serif;
/*
@MainFontFamily: Ubuntu, Open Sans,sans-serif, MyFont;
@MainFontFamilyHeader: Fengardo Neue, Archivo Narrow, LoveYaLikeASister, Ubuntu Condensed, Open Sans Condensed, sans-serif, MyFont;
@MainFontCode: Monospace,Courier;
@MainFontFamilyEdit: Open Sans,MyManuscript,MyFont,Ubuntu,sans-serif;
@MainFontFamilyEdit: Ubuntu, Open Sans,sans-serif, MyFont;
*/
@MainFontFamily: Ubuntu;
@MainFontFamilyHeader: Fengardo Neue;
@MainFontCode: Monospace;
@MainFontFamilyEdit: Ubuntu;
/*
Use the part above to customise your fonts.
@ -34,21 +41,25 @@ You can create your own manuscript / handwriting font on http://www.myscriptfont
@button-radius: 6px;
.generateColor() { /* define mixin */
@background-color: color(~`@{all-background-colors}.split(',')[Math.floor(Math.random()*@{all-background-colors}.split(',').length)]`);
}
.generateColor(); /* call the mixin which sets the variable once */
/* define mixin */
/* we disable it as it's sometimes a problem with lesscss
.generateColor() {
@background-color: color(~`@{all-background-colors}.split(',')[Math.floor(Math.random()*@{all-background-colors}.split(',').length)]`);
}
.generateColor();
*/
/* This line below will use a random main color: */
/* @MainColor: @background-color; */
/* if you prefer to select a fixed background color, just uncomment one color from below */
/* @MainColor: #549136; */
/* @MainColor: #7E2434; */
/* @MainColor: #7e3821; */
/* @MainColor: #549136; */
/* @MainColor: #549136; */
/*@MainColor: #7E2434;*/
/*@MainColor: #7e3821;*/
/*@MainColor: #549136;*/
/*@MainColor: #549136;*/
/*@MainColor: #D17732;*/
/*@MainColor: #328cc1;*/
/* For YunoHost config */
@MainColor: #__YNH_COLOR__;
@ -66,7 +77,7 @@ You can create your own manuscript / handwriting font on http://www.myscriptfont
@HeaderColor: spin(@MainColor, 180);
@MainFontColor: (#878e83 - #111);
@MainFontColor: (#878e83 - #222);
@MainFontSize: (14pt - 2);
@RedBrick: #7F4736;
@ -129,6 +140,40 @@ You can create your own manuscript / handwriting font on http://www.myscriptfont
font-weight: 400;
src: local('Ubuntu Condensed'),local('UbuntuCondensed-Regular'),url(../fonts/ubuntu-condensed-regular.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: normal;
src: local('Ubuntu'),url(../fonts/ubuntu.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: normal;
src: local('Ubuntu Italic'),url(../fonts/ubuntu-italic.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-style: bold;
font-weight: bold;
src: local('Ubuntu Bold'),url(../fonts/ubuntu-bold.woff) format('woff');
}
@font-face {
font-family: 'Ubuntu';
font-weight: bold;
font-style: italic;
src: local('Ubuntu Italic Bold'),url(../fonts/ubuntu-bold-italic.woff) format('woff');
}
/*@font-face {
font-family: 'Open Sans';
font-style: normal;
@ -208,6 +253,24 @@ You can create your own manuscript / handwriting font on http://www.myscriptfont
src: local('Open Sans Cond Light Italic'),local('OpenSans-CondensedLightItalic'),url(../fonts/OpenSans-CondensedLightItalic.woff) format('woff');
}
@font-face {
font-family: 'Archivo Narrow';
font-style: bold;
font-weight: 300;
src: url(../fonts/ArchivoNarrow-Bold.woff) format('woff');
}
@font-face {
font-family: 'Fengardo Neue';
font-style: bold;
font-weight: 200;
src: url(../fonts/fengardoneue-black.woff) format('woff');
}
/*
Minimaxing 1.0 by nodethirtythree design
http://nodethirtythree.com | @nodethirtythree
@ -266,6 +329,15 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
font-family: @MainFontFamilyEdit;
font-size: 105%;
}
.markItUpEditor
{
width: 90%;
font-family: @MainFontFamilyEdit;
color: #444;
font-size: 140%;
}
#diff {
white-space: pre-wrap;
word-wrap: break-word;
@ -394,8 +466,8 @@ body {
#header h1 {
color: #fff;
margin: 0;
padding: 0;
margin: 2px;
padding: 2px;
border: none;
}
h1, h2, h3, h4 {
@ -403,6 +475,10 @@ h1, h2, h3, h4 {
text-transform: uppercase;
color: @HeaderColor;
font-weight: bold;
margin-left: 0.1em;
margin-right: 0.1em;
padding-left: 2px;
padding-right: 2px;
}
h1, h2 {
border-bottom: 1px solid grey;
@ -464,6 +540,10 @@ p, ul {
}
p {
line-height: 1.7em;
margin-left: 0.25em;
margin-right: 0.25em;
padding-left: 5px;
padding-right: 5px;
}
@ -494,7 +574,7 @@ s {
pre {
background-color: (@Bg-extra-light + #121212);
line-height: 1.5em;
font-family: mono;
font-family: @MainFontCode;
margin: 1.0em;
}
@ -1147,3 +1227,30 @@ font-weight: bold;
.mycontent tr:hover td {
background-color: (@TableColor + #111) /*rgba(16,80,112,0.3)*/
}
/* Progress bar */
progress {
color: @HeaderColor;
background-color: white;
border-radius: 4px;
/*border: solid 1px;*/
width: 10em;
height: 1em;
}
progress::-moz-progress-bar {
background: @HeaderColor;
}
progress::-webkit-progress-value {
background: @HeaderColor;
}
progress::-webkit-progress-bar {
background: @HeaderColor;
}

View file

@ -21,6 +21,6 @@ location __PATH__/ {
fastcgi_param SCRIPT_FILENAME $request_filename;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
# Don't include SSOWAT user panel (can lead to some server error, like "bad gateway")
# include conf.d/yunohost_panel.conf.inc;
}

View file

@ -118,6 +118,8 @@ ynh_store_file_checksum --file="$final_path/config.php"
ynh_store_file_checksum --file="$final_path/config.t2t"
ynh_store_file_checksum --file="$final_path/menu.php"
ynh_restore_file -o "conf/config.php"
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================