Add editorcongif file and edit indentation style
This commit is contained in:
parent
4ce2c3e214
commit
445db7d1bf
15 changed files with 1301 additions and 1291 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sourceRoot":"","sources":["panel.scss"],"names":[],"mappings":"AAYY,oIAEI,aAUZ,gDACI","file":"panel.min.css"}
|
{"version":3,"sourceRoot":"","sources":["panel.scss"],"names":[],"mappings":"AAYG,oIAEC,aAUH,gDACC","file":"panel.min.css"}
|
|
@ -6,23 +6,23 @@
|
||||||
|
|
||||||
.k-textarea-field {
|
.k-textarea-field {
|
||||||
|
|
||||||
.k-toolbar {
|
.k-toolbar {
|
||||||
|
|
||||||
.k-dropdown {
|
.k-dropdown {
|
||||||
|
|
||||||
.k-button:nth-of-type(2),
|
.k-button:nth-of-type(2),
|
||||||
.k-button:nth-of-type(3) {
|
.k-button:nth-of-type(3) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Visual image crop field properties
|
// Visual image crop field properties
|
||||||
|
|
||||||
.kirby-imagecrop-field {
|
.kirby-imagecrop-field {
|
||||||
|
|
||||||
.k-column:nth-of-type(2) {
|
.k-column:nth-of-type(2) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
@-webkit-keyframes expand-outline {
|
@-webkit-keyframes expand-outline {
|
||||||
from {
|
from {
|
||||||
outline-offset: 0;
|
outline-offset: 0;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
// Open Sans
|
// Open Sans
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Open Sans';
|
font-family: 'Open Sans';
|
||||||
src: url(../fonts/open-sans/OpenSans-Regular.ttf) format('truetype');
|
src: url(../fonts/open-sans/OpenSans-Regular.ttf) format('truetype');
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
|
@ -25,8 +25,8 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
@ -35,44 +35,44 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
select {
|
select {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
*, *::before, *::after {
|
*, *::before, *::after {
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
img,
|
img,
|
||||||
video {
|
video {
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,33 +4,33 @@
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
|
|
||||||
--text-font-family: 'Open Sans', Verdana, sans-serif;
|
--text-font-family: 'Open Sans', Verdana, sans-serif;
|
||||||
--title-font-family: 'Open Sans', Verdana, sans-serif;
|
--title-font-family: 'Open Sans', Verdana, sans-serif;
|
||||||
--regular-font-weight: 400;
|
--regular-font-weight: 400;
|
||||||
--medium-font-weight: 500;
|
--medium-font-weight: 500;
|
||||||
--semi-bold-font-weight: 600;
|
--semi-bold-font-weight: 600;
|
||||||
--bold-font-weight: 700;
|
--bold-font-weight: 700;
|
||||||
--text-font-size: 0.8rem;
|
--text-font-size: 0.8rem;
|
||||||
--footnote-font-size: 0.6rem;
|
--footnote-font-size: 0.6rem;
|
||||||
--h1-font-size: 1.6rem;
|
--h1-font-size: 1.6rem;
|
||||||
--h2-font-size: 1.2rem;
|
--h2-font-size: 1.2rem;
|
||||||
--h3-font-size: 1rem;
|
--h3-font-size: 1rem;
|
||||||
|
|
||||||
// Dimensions
|
// Dimensions
|
||||||
|
|
||||||
--icon-size: 2rem;
|
--icon-size: 2rem;
|
||||||
--header-bar-vertical-padding: 2rem;
|
--header-bar-vertical-padding: 2rem;
|
||||||
--header-bar-horizontal-padding: 1rem;
|
--header-bar-horizontal-padding: 1rem;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
|
|
||||||
--black: #000;
|
--black: #000;
|
||||||
--transparent-black: rgba(0, 0, 0, 0.6);
|
--transparent-black: rgba(0, 0, 0, 0.6);
|
||||||
--white: #fff;
|
--white: #fff;
|
||||||
--transparent-white: rgba(255, 255, 255, 0.9);
|
--transparent-white: rgba(255, 255, 255, 0.9);
|
||||||
--feldgrau: #4B6259;
|
--feldgrau: #4B6259;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Media queries
|
// Media queries
|
||||||
|
@ -40,20 +40,20 @@ $desktop-media-query: 62rem;
|
||||||
|
|
||||||
@media screen and (min-width: $tablet-media-query) {
|
@media screen and (min-width: $tablet-media-query) {
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
|
|
||||||
--text-font-size: 1rem;
|
--text-font-size: 1rem;
|
||||||
--footnote-font-size: 0.8rem;
|
--footnote-font-size: 0.8rem;
|
||||||
--h1-font-size: 1.8rem;
|
--h1-font-size: 1.8rem;
|
||||||
--h2-font-size: 1.4rem;
|
--h2-font-size: 1.4rem;
|
||||||
--h3-font-size: 1.2rem;
|
--h3-font-size: 1.2rem;
|
||||||
|
|
||||||
// Dimensions
|
// Dimensions
|
||||||
|
|
||||||
--icon-size: 2.5rem;
|
--icon-size: 2.5rem;
|
||||||
--header-bar-vertical-padding: 4rem;
|
--header-bar-vertical-padding: 4rem;
|
||||||
--header-bar-horizontal-padding: 2rem;
|
--header-bar-horizontal-padding: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sourceRoot":"","sources":["partials/_minireset.css","partials/_fonts.scss","partials/_variables.scss","partials/_animations.scss","style.scss"],"names":[],"mappings":"AAIA,yGAuBI,SACA,UAGJ,kBAMI,eACA,mBAGJ,GACI,gBAGJ,oBAGI,SAGJ,KACI,sBAGJ,qBACI,mBAGJ,UAEI,YACA,eAGJ,OACI,SAGJ,MACI,yBACA,iBAGJ,MAEI,UCtEJ,WACI,wBACA,oEACA,gBACA,kBAGJ,WACC,wBACA,mEACA,gBACA,kBAGD,WACC,wBACA,mEACA,gBACA,kBAGD,WACC,wBACA,yEACA,gBACA,kBAGD,WACC,wBACA,qEACA,gBACA,kBAGD,WACC,wBACA,2EACA,gBACA,kBAGD,WACC,wBACA,iEACA,gBACA,kBAGD,WACC,wBACA,uEACA,gBACA,kBCvDD,MAII,qDACA,sDACA,2BACA,0BACA,6BACA,wBACA,yBACA,6BACA,uBACA,uBACA,qBAIA,kBACA,oCACA,sCAIA,cACA,wCACA,cACA,8CACA,oBAQJ,qCAEI,MAII,uBACA,6BACA,uBACA,uBACA,uBAIA,oBACA,oCACA,uCCpDR,kCACI,KACF,iBAED,GACC,oBAIF,0BACC,KACC,iBAED,GACC,oBCPF,KACC,oCACA,gCACA,mBACA,mBACA,8BAGD,GACC,qCACA,8BAGD,GACC,oCACA,8BACA,kBAGD,GACC,oCACA,8BACA,qBAGD,EACC,mBAGD,OACC,oCAGD,GACC,kBAKD,EACC,mBACA,qBACA,qDACA,gDACA,6CAEA,yBAGC,0BAGD,gBACC,gCACA,mBACA,gDACA,2CAMF,KACC,iBACA,gBASD,YACC,eACA,MACA,SACA,OACA,8DACA,gFACA,gBACA,+BACA,mBACC,+DAED,cACC,+DAED,WACC,+DAOC,yEACC,iBAIF,+BACC,qBACA,WACA,kBACA,+BACA,mBACA,uBACA,mBACC,gDAED,cACC,gDAED,WACC,gDAKH,gCACC,oBACA,oBACA,aACA,yBACA,sBACA,mBACA,gBAEA,kCACC,uBACA,wBACA,oBACA,oBACA,aACA,wBACA,qBACA,uBACA,yBACA,sBACA,mBAEA,oCACC,kBAGD,sCACC,WACA,YACA,8BACA,0CACA,qCACA,kCAKH,kBACC,0CACA,gBAIC,qCACC,WACA,mBAMD,0CACC,kBAYJ,cACC,YACA,aAGD,sBACC,WACA","file":"style.min.css"}
|
{"version":3,"sourceRoot":"","sources":["partials/_minireset.css","partials/_fonts.scss","partials/_variables.scss","partials/_animations.scss","style.scss"],"names":[],"mappings":"AAIA,yGAuBC,SACA,UAGD,kBAMC,eACA,mBAGD,GACC,gBAGD,oBAGC,SAGD,KACC,sBAGD,qBACC,mBAGD,UAEC,YACA,eAGD,OACC,SAGD,MACC,yBACA,iBAGD,MAEC,UCtED,WACC,wBACA,oEACA,gBACA,kBAGD,WACC,wBACA,mEACA,gBACA,kBAGD,WACC,wBACA,mEACA,gBACA,kBAGD,WACC,wBACA,yEACA,gBACA,kBAGD,WACC,wBACA,qEACA,gBACA,kBAGD,WACC,wBACA,2EACA,gBACA,kBAGD,WACC,wBACA,iEACA,gBACA,kBAGD,WACC,wBACA,uEACA,gBACA,kBCvDD,MAIC,qDACA,sDACA,2BACA,0BACA,6BACA,wBACA,yBACA,6BACA,uBACA,uBACA,qBAIA,kBACA,oCACA,sCAIA,cACA,wCACA,cACA,8CACA,oBAQD,qCAEC,MAIC,uBACA,6BACA,uBACA,uBACA,uBAIA,oBACA,oCACA,uCCpDF,kCACC,KACC,iBAED,GACC,oBAIF,0BACC,KACC,iBAED,GACC,oBCPF,KACC,oCACA,gCACA,mBACA,mBACA,8BAGD,GACC,qCACA,8BAGD,GACC,oCACA,8BACA,kBAGD,GACC,oCACA,8BACA,qBAGD,EACC,mBAGD,OACC,oCAGD,GACC,kBAKD,EACC,mBACA,qBACA,qDACA,gDACA,6CAEA,yBAGC,0BAGD,gBACC,gCACA,mBACA,gDACA,2CAMF,KACC,iBACA,gBASD,YACC,eACA,MACA,SACA,OACA,8DACA,gFACA,gBACA,+BACA,mBACC,+DAED,cACC,+DAED,WACC,+DAOC,yEACC,iBAIF,+BACC,qBACA,WACA,kBACA,+BACA,mBACA,uBACA,mBACC,gDAED,cACC,gDAED,WACC,gDAKH,gCACC,oBACA,oBACA,aACA,yBACA,sBACA,mBACA,gBAEA,kCACC,uBACA,wBACA,oBACA,oBACA,aACA,wBACA,qBACA,uBACA,yBACA,sBACA,mBAEA,oCACC,kBAGD,sCACC,WACA,YACA,8BACA,0CACA,qCACA,kCAKH,kBACC,0CACA,gBAIC,qCACC,WACA,mBAMD,0CACC,kBAYJ,cACC,YACA,aAGD,sBACC,WACA","file":"style.min.css"}
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
// Convert rem to pixels by getting font-size CSS property
|
// Convert rem to pixels by getting font-size CSS property
|
||||||
function convertRemToPixels(rem) {
|
function convertRemToPixels(rem) {
|
||||||
let fontSize = parseFloat(window.getComputedStyle(document.body).getPropertyValue('font-size'));
|
let fontSize = parseFloat(window.getComputedStyle(document.body).getPropertyValue('font-size'));
|
||||||
return rem * fontSize;
|
return rem * fontSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
{
|
{
|
||||||
"name": "paulnicoue/julienmonnerie",
|
"name": "paulnicoue/julienmonnerie",
|
||||||
"description": "Julien Monnerie",
|
"description": "Julien Monnerie",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"homepage": "https://julienmonnerie.com",
|
"homepage": "https://julienmonnerie.com",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Paul Nicoué",
|
"name": "Paul Nicoué",
|
||||||
"email": "contact@paulnicoue.com",
|
"email": "contact@paulnicoue.com",
|
||||||
"homepage": "https://paulnicoue.com"
|
"homepage": "https://paulnicoue.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.3.0 <8.1.0",
|
"php": ">=7.3.0 <8.1.0",
|
||||||
"getkirby/cms": "^3.5",
|
"getkirby/cms": "^3.5",
|
||||||
"amteich/kirby-twig": "^4.1",
|
"amteich/kirby-twig": "^4.1",
|
||||||
"sylvainjule/matomo": "^1.0",
|
"sylvainjule/matomo": "^1.0",
|
||||||
"kirbyzone/sitemapper": "^1.2",
|
"kirbyzone/sitemapper": "^1.2",
|
||||||
"mullema/k3-image-clip": "^3.0"
|
"mullema/k3-image-clip": "^3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": [
|
"start": [
|
||||||
"Composer\\Config::disableProcessTimeout",
|
"Composer\\Config::disableProcessTimeout",
|
||||||
"@php -S localhost:8000 kirby/router.php"
|
"@php -S localhost:8000 kirby/router.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
"getkirby/composer-installer": true
|
"getkirby/composer-installer": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2280
composer.lock
generated
2280
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -4,4 +4,4 @@ label:
|
||||||
icon: text
|
icon: text
|
||||||
sections:
|
sections:
|
||||||
exhibitions: sections/home_content_exhibitions
|
exhibitions: sections/home_content_exhibitions
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,16 @@
|
||||||
title:
|
title:
|
||||||
en: Administrator
|
en: Administrator
|
||||||
fr: Administrateur·ice
|
fr: Administrateur·ice
|
||||||
description:
|
description:
|
||||||
en: The Administrator has all rights
|
en: The Administrator has all rights
|
||||||
fr: L'Administrateur·ice dispose de tous les droits
|
fr: L'Administrateur·ice dispose de tous les droits
|
||||||
sections:
|
sections:
|
||||||
info:
|
info:
|
||||||
headline:
|
headline:
|
||||||
en: Website
|
en: Website
|
||||||
fr: Site internet
|
fr: Site internet
|
||||||
theme: none
|
theme: none
|
||||||
width: 1/2
|
width: 1/2
|
||||||
text:
|
text: |
|
||||||
en: |
|
(link: https://paulnicoue.com text: paulnicoue.com target: _blank)
|
||||||
(link: https://paulnicoue.com text: paulnicoue.com target: _blank)
|
|
||||||
fr: |
|
|
||||||
(link: https://www.paulnicoue.com text: paulnicoue.com target: _blank)
|
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
// Kirby configuration settings
|
// Kirby configuration settings
|
||||||
'panel' => [
|
'panel' => [
|
||||||
'language' => 'fr',
|
'language' => 'fr',
|
||||||
'css' => 'assets/css/panel.min.css'
|
'css' => 'assets/css/panel.min.css'
|
||||||
],
|
],
|
||||||
// Sitemapper plugin options
|
// Sitemapper plugin options
|
||||||
'kirbyzone.sitemapper' => [
|
'kirbyzone.sitemapper' => [
|
||||||
'intro' => false,
|
'intro' => false,
|
||||||
'byLine' => 'Sitemap generated with <a href="https://github.com/kirbyzone/sitemapper" target="_blank">Sitemapper by Kirbyzone</a>.'
|
'byLine' => 'Sitemap generated with <a href="https://github.com/kirbyzone/sitemapper" target="_blank">Sitemapper by Kirbyzone</a>.'
|
||||||
],
|
],
|
||||||
// Hooks
|
// Hooks
|
||||||
'hooks' => [
|
'hooks' => [
|
||||||
'file.create:after' => function($file) {
|
'file.create:after' => function($file) {
|
||||||
// Populate file_type field with $file->type() method after file creation
|
// Populate file_type field with $file->type() method after file creation
|
||||||
if ($file->type()) {
|
if ($file->type()) {
|
||||||
$file->update([
|
$file->update([
|
||||||
'file_type' => $file->type()
|
'file_type' => $file->type()
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'kirbytext:after' => function (string $text) {
|
'kirbytext:after' => function (string $text) {
|
||||||
// Replace any HTML <h1> or <h2> tag by <h3> tag after Markdown parsing
|
// Replace any HTML <h1> or <h2> tag by <h3> tag after Markdown parsing
|
||||||
return preg_replace(['/<h1>|<h2>/', '/<\/h1>|<\/h2>/'], ['<h3>', '</h3>'], $text);
|
return preg_replace(['/<h1>|<h2>/', '/<\/h1>|<\/h2>/'], ['<h3>', '</h3>'], $text);
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// Thumbnails and srcsets presets
|
// Thumbnails and srcsets presets
|
||||||
'thumbs' => [
|
'thumbs' => [
|
||||||
'srcsets' => [
|
'srcsets' => [
|
||||||
'default' => [
|
'default' => [
|
||||||
'640w' => ['width' => 640, 'quality' => 80],
|
'640w' => ['width' => 640, 'quality' => 80],
|
||||||
'1280w' => ['width' => 1280, 'quality' => 80],
|
'1280w' => ['width' => 1280, 'quality' => 80],
|
||||||
'1920w' => ['width' => 1920, 'quality' => 80]
|
'1920w' => ['width' => 1920, 'quality' => 80]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{# Favicon #}
|
|
||||||
<link rel="icon" sizes="any" href="assets/favicon/xiao-wang-favicon.ico">
|
<link rel="icon" sizes="any" href="assets/favicon/xiao-wang-favicon.ico">
|
||||||
<link rel="icon" type="image/svg+xml" href="assets/favicon/xiao-wang-favicon.svg">
|
<link rel="icon" type="image/svg+xml" href="assets/favicon/xiao-wang-favicon.svg">
|
||||||
<link rel="apple-touch-icon" href="assets/favicon/xiao-wang-apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="assets/favicon/xiao-wang-apple-touch-icon.png">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue