Skip to content

Commit

Permalink
[css] <pre> overflow fix + common styling (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave authored Aug 9, 2024
1 parent d959211 commit 98391a9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 25 deletions.
17 changes: 13 additions & 4 deletions www/assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ article time {
margin-top: -1.5em;
}

article .more {
/* font-size: smaller; */
}

dialog::backdrop {
backdrop-filter: blur(5px);
}
Expand Down Expand Up @@ -176,6 +172,19 @@ figure {
text-align: center;
}

pre {
overflow: scroll;
background-color: var(--bg-banner);
padding: 0.5em 1em;
}

pre code {
background-color: transparent;
font-family: monospace;
font-weight: normal;
padding: 0;
}

figure figcaption,
figure img {
margin: auto;
Expand Down
6 changes: 0 additions & 6 deletions www/content/articles/ergol_sous_swaywm.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ author = "steeve"
tags = ["communauté"]
+++

<style>
code { font-family: monospace; }
pre { background-color: #6684; padding: 0.5em 2em; }
pre > code { background-color: transparent; padding: 0; }
</style>

Vous utilisez SwayWM et vous voulez passer à Ergo-L ? C’est par ici !\

Cet article vous guide étape par étape pour configurer Ergo-L sur votre système, que ce soit pour tous vos claviers ou pour un clavier spécifique. Avec quelques lignes de configuration, vous pourrez profiter pleinement de cette disposition optimisée.
Expand Down
3 changes: 0 additions & 3 deletions www/content/articles/vim_pour_les_ergonautes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ tags = ["communauté", "vim"]
+++

<style>
code { font-family: monospace; }
pre { background-color: var(--bg-accent); padding: 0.5em 2em; }
pre > code { background-color: transparent; padding: 0; }
/* blockquote { border-left: 2px solid var(--fg-accent); padding-left: 1em; } */
blockquote { background-color: var(--bg-accent); margin: 0; padding: .5em 2em .5em 3em; position: relative; }
blockquote::before { content: "»"; font-size: 2em; position: absolute; top: 0.7em; left: 0.5em; }
Expand Down
2 changes: 1 addition & 1 deletion www/content/claviers/arsenik/ergol_iso.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/arsenik/ergol_isoa.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/installation/angle_mod.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions www/content/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ jsScripts = ["/js/keebs.js"]
footer = "propulsé par [x-keyboard](https://onedeadkey.github.io/x-keyboard)"
+++


<style>
dt { font-weight: bold; }
dd p { margin: 0.2em 0; }
code { font-family: monospace; }
pre { background-color: #6684; padding: 0.5em 1em; }
pre code { background-color: transparent; font-weight: normal; }
</style>

{{<x-keyboard name="Ergo‑L" data="ergol" class="odk">}}


Expand Down

0 comments on commit 98391a9

Please sign in to comment.