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 {
|
||||
max-width: calc(18 * var(--unit--horizontal));
|
||||
scroll-margin-block-start: calc(var(--unit--vertical) * 6);
|
||||
margin-top: calc(var(--unit--vertical) * 2);
|
||||
padding-bottom: calc(var(--unit--vertical) * 2);
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ html {
|
|||
|
||||
body,
|
||||
#logo {
|
||||
max-width: calc(22 * var(--unit--horizontal));
|
||||
padding-left: var(--padding-body) !important;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ tabs:
|
|||
fields:
|
||||
subtitle:
|
||||
label: Sous-titre
|
||||
type: text
|
||||
type: writer
|
||||
nodes: false
|
||||
marks: false
|
||||
edito:
|
||||
label: Éditorial
|
||||
type: writer
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ sections:
|
|||
label: Auteur
|
||||
type: users
|
||||
max: 1
|
||||
required: true
|
||||
width: 1/3
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ return array(
|
|||
'debug' => true,
|
||||
'panel' => array(
|
||||
'menu' => require __DIR__ . '/menu.php',
|
||||
'css' => 'assets/css/panel.css'
|
||||
),
|
||||
'routes' => array(
|
||||
require __DIR__ . '/routes/virtual-author.php',
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@
|
|||
href="#main-edito"
|
||||
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
|
||||
class="main-edito-btn | toggle-btn toggle-btn--left"
|
||||
>édito</p>
|
||||
>éditorial</p>
|
||||
</a>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue