Skip to content

Commit

Permalink
light theme + mobile view (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave authored Jul 20, 2024
1 parent d829402 commit d032afa
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 168 deletions.
44 changes: 15 additions & 29 deletions www/content/claviers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,22 @@ hideSummaryOfChildPages = true
+++

<style>
.toc th { text-align: left; font-weight: normal; }
.toc td { text-align: center; padding: 0 1em; }
.toc ul { margin: 0; }
.toc ul ul { display: flex; flex-direction: row; padding: 0; }
.toc li li { flex: 1; list-style-type: none; margin: 1em 1em 0 0; text-align: center; }
@media (max-width: 480px) {
.toc ul ul { flex-direction: column; }
.toc li li img { width: 240px; }
}
</style>
<table class="highlight toc">
<tr>
<th colspan="3">
• [full-size][] : les claviers historiques
</th>
</tr>
<tr>
<th colspan="3">
• [compacts][] : les géométries ergonomiques par excellence !
</th>
</tr>
<tr>
<td> [![4×6](compacts/4x6.svg)][4×6] </td>
<td> [![3×6](compacts/3x6.svg)][3×6] </td>
<td> [![3×5](compacts/3x5.svg)][3×5] </td>
</tr>
<tr>
<td> [4×6][] </td>
<td> [3×6][] </td>
<td> [3×5][] </td>
</tr>
<!-- <tr> -->
<!-- <th colspan="3"> -->
<!-- • [Arsenik][] : pour utiliser un clavier standard comme un 3×5 -->
<!-- </th> -->
<!-- </tr> -->
</table>
:::{.toc .highlight}
- [full-size][] : les claviers historiques
- [compacts][] : les géométries ergonomiques par excellence !
- [![](compacts/4x6.svg)][4×6] <br> [4×6][]
- [![](compacts/3x6.svg)][3×6] <br> [3×6][]
- [![](compacts/3x5.svg)][3×5] <br> [3×5][]
<!-- - [Arsenik][] : pour utiliser un clavier standard comme un 3×5 -->
:::


Contraintes matérielles
Expand Down
41 changes: 8 additions & 33 deletions www/content/claviers/compacts/3x5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions www/content/claviers/compacts/3x5_ergol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 8 additions & 33 deletions www/content/claviers/compacts/3x6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions www/content/claviers/compacts/3x6_ergol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 8 additions & 33 deletions www/content/claviers/compacts/4x6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions www/content/claviers/compacts/4x6_ergol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions www/content/claviers/compacts/func.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/content/claviers/compacts/hrm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 16 additions & 25 deletions www/content/claviers/compacts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,20 @@ plutôt que déplacer les doigts. Le gain de confort est **très** significatif.

<!--more-->

<style> .toc td { text-align: center; padding: 0 1em; } </style>
<table class="highlight toc">
<colgroup>
<col width="34%" />
<col width="33%" />
<col width="33%" />
</colgroup>
<tr>
<td> [![4×6](4x6.svg)][4×6] </td>
<td> [![3×6](3x6.svg)][3×6] </td>
<td> [![3×5](3x5.svg)][3×5] </td>
</tr>
<tr>
<td> [4×6][] </td>
<td> [3×6][] </td>
<td> [3×5][] </td>
</tr>
<tr>
<td> facilité et polyvalence </td>
<td> le 1DFH par essence </td>
<td> la <i lang="en">red pill</i> </td>
</tr>
</table>
<style>
.toc ul { display: flex; flex-direction: row; margin 0; padding: 0; }
.toc li { flex: 1; list-style-type: none; margin: 0 1em; text-align: center; }
@media (max-width: 480px) {
.toc ul { flex-direction: column; }
.toc li { margin: 1em 0; }
.toc li img { width: 240px; }
}
</style>
:::{.toc .highlight}
- [4×6][] <br> [![](4x6.svg)][4×6] <br> facile et polyvalent
- [3×6][] <br> [![](3x6.svg)][3×6] <br> 1DFH par essence
- [3×5][] <br> [![](3x5.svg)][3×5] <br> la <i lang="en">red pill</i>
:::


Layer « NavNum »
Expand All @@ -48,7 +39,7 @@ Pour celles et ceux qui utilisent les touches de fonction, un demi-layer peut
![couche « F1…12 »](func.svg)


[4×6]{id="kbd_4x6"} : facilité et polyvalence
[4×6]{id="kbd_4x6"} : facile et polyvalent
--------------------------------------------------------------------------------

### Géométrie
Expand Down Expand Up @@ -81,7 +72,7 @@ par pouce. Les claviers 4×6+2 comme le ZSA Voyager reposent sur l’utilisation
[homerow-mods][], qui ne sont pas du tout à la portée des débutant·e·s.


[3×6]{id="kbd_3x6"} : le [1DFH][] par essence
[3×6]{id="kbd_3x6"} : [1DFH][] par essence
--------------------------------------------------------------------------------

Avec un peu d’habitude en [4×6][], on réalise que les chiffres sont plus
Expand Down
Loading

0 comments on commit d032afa

Please sign in to comment.