réglage typo
This commit is contained in:
parent
8f780c2fbf
commit
2a5ab1424b
7 changed files with 18 additions and 4 deletions
10
assets/css/panel.css
Normal file
10
assets/css/panel.css
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
.k-panel-menu {
|
||||||
|
background-color: #000;
|
||||||
|
}
|
||||||
|
.k-panel-menu * {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.k-panel-menu-button[aria-current] * {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
article .content {
|
article .content {
|
||||||
|
max-width: calc(18 * var(--unit--horizontal));
|
||||||
scroll-margin-block-start: calc(var(--unit--vertical) * 6);
|
scroll-margin-block-start: calc(var(--unit--vertical) * 6);
|
||||||
margin-top: calc(var(--unit--vertical) * 2);
|
margin-top: calc(var(--unit--vertical) * 2);
|
||||||
padding-bottom: calc(var(--unit--vertical) * 2);
|
padding-bottom: calc(var(--unit--vertical) * 2);
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,6 @@ html {
|
||||||
|
|
||||||
body,
|
body,
|
||||||
#logo {
|
#logo {
|
||||||
max-width: calc(22 * var(--unit--horizontal));
|
|
||||||
padding-left: var(--padding-body) !important;
|
padding-left: var(--padding-body) !important;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,9 @@ tabs:
|
||||||
fields:
|
fields:
|
||||||
subtitle:
|
subtitle:
|
||||||
label: Sous-titre
|
label: Sous-titre
|
||||||
type: text
|
type: writer
|
||||||
|
nodes: false
|
||||||
|
marks: false
|
||||||
edito:
|
edito:
|
||||||
label: Éditorial
|
label: Éditorial
|
||||||
type: writer
|
type: writer
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,5 @@ sections:
|
||||||
label: Auteur
|
label: Auteur
|
||||||
type: users
|
type: users
|
||||||
max: 1
|
max: 1
|
||||||
|
required: true
|
||||||
width: 1/3
|
width: 1/3
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ return array(
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
'panel' => array(
|
'panel' => array(
|
||||||
'menu' => require __DIR__ . '/menu.php',
|
'menu' => require __DIR__ . '/menu.php',
|
||||||
|
'css' => 'assets/css/panel.css'
|
||||||
),
|
),
|
||||||
'routes' => array(
|
'routes' => array(
|
||||||
require __DIR__ . '/routes/virtual-author.php',
|
require __DIR__ . '/routes/virtual-author.php',
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@
|
||||||
href="#main-edito"
|
href="#main-edito"
|
||||||
class="no-line"
|
class="no-line"
|
||||||
>
|
>
|
||||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle()->inline() ?></h2>
|
||||||
<p
|
<p
|
||||||
class="main-edito-btn | toggle-btn toggle-btn--left"
|
class="main-edito-btn | toggle-btn toggle-btn--left"
|
||||||
>édito</p>
|
>éditorial</p>
|
||||||
</a>
|
</a>
|
||||||
<?php endslot() ?>
|
<?php endslot() ?>
|
||||||
<?php endsnippet() ?>
|
<?php endsnippet() ?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue