post
This commit is contained in:
parent
24d6d2a757
commit
40024cb2fb
3 changed files with 43 additions and 28 deletions
|
|
@ -34,13 +34,15 @@ body:has(.content) > footer {
|
||||||
|
|
||||||
.topics {
|
.topics {
|
||||||
font-size: clamp(1.5em, 4vw, 3em);
|
font-size: clamp(1.5em, 4vw, 3em);
|
||||||
max-height: 100%;
|
max-height: 80vh;
|
||||||
column-width: 300px;
|
column-width: 300px;
|
||||||
column-gap: clamp(20px, 4vw, 60px);
|
column-gap: clamp(20px, 4vw, 60px);
|
||||||
column-fill: auto;
|
column-fill: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topics li:first-child {
|
.topics li:first-child {
|
||||||
|
|
@ -106,43 +108,57 @@ ul {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body:has(#repo-list) .content,
|
||||||
body:has(.topics:only-child) .content {
|
body:has(.topics:only-child) .content {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body:has(#repo-list) .topics,
|
||||||
body:has(.topics:only-child) .topics {
|
body:has(.topics:only-child) .topics {
|
||||||
column-width: 300px;
|
column-width: 350px;
|
||||||
column-fill: auto;
|
column-fill: auto;
|
||||||
|
height: calc(100vh - 200px);
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: auto;
|
||||||
|
max-height: calc(100vh - 200px);
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
body:has(#repo-list) .posts {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
body:has(.content) {
|
body:has(.content) {
|
||||||
height: 100vh;
|
height: auto;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
body:has(.content) > .main {
|
||||||
|
display: block;
|
||||||
|
min-height: calc(100vh - 200px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex-direction: column;
|
display: block;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
gap: 40px;
|
height: auto;
|
||||||
justify-content: flex-start;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.topics {
|
.topics {
|
||||||
font-size: 2em;
|
font-size: 1.8em;
|
||||||
column-width: unset;
|
|
||||||
column-count: 1;
|
column-count: 1;
|
||||||
max-height: unset;
|
max-height: none;
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.posts {
|
.posts {
|
||||||
font-size: 1.5em;
|
font-size: 1.4em;
|
||||||
text-align: left;
|
margin-top: 30px;
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic a {
|
.topic a {
|
||||||
|
display: block;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
footer {
|
footer {
|
||||||
flex-direction: column;
|
flex-direction: row;
|
||||||
gap: 15px;
|
gap: 15px;
|
||||||
}
|
}
|
||||||
.footer-links-left,
|
.footer-links-left,
|
||||||
|
|
@ -41,11 +41,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
|
footer {
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
.footer-links-left,
|
.footer-links-left,
|
||||||
.footer-links-right {
|
.footer-links-right {
|
||||||
flex-direction: column;
|
flex-direction: row;
|
||||||
gap: 10px;
|
gap: 15px;
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ I use my color scheme [midnight.nvim](/git/midnight.nvim.html) on macOS and linu
|
||||||
4. [ungoogled-chromium](https://github.com/ungoogled-software/ungoogled-chromium)
|
4. [ungoogled-chromium](https://github.com/ungoogled-software/ungoogled-chromium)
|
||||||
5. [swaywm](https://swaywm.org/)
|
5. [swaywm](https://swaywm.org/)
|
||||||
6. [rofi](https://github.com/davatorium/rofi)
|
6. [rofi](https://github.com/davatorium/rofi)
|
||||||
7. [fzf](https://github.com/junegunn/fzf)
|
7. [tmux](https://github.com/tmux/tmux/wiki)
|
||||||
8. [tmux](https://github.com/tmux/tmux/wiki)
|
8. [fzf](https://github.com/junegunn/fzf)
|
||||||
9. [ripgrep](https://github.com/BurntSushi/ripgrep)
|
9. [ripgrep](https://github.com/BurntSushi/ripgrep)
|
||||||
10. [zsh](https://www.zsh.org/)
|
10. [zsh](https://www.zsh.org/)
|
||||||
|
|
||||||
|
|
@ -39,16 +39,12 @@ As of November 28, 2025, I've created [this script](https://github.com/barrett-r
|
||||||
4. ungoogled-chromium: I folded and used the default system theme which automatically reads and updates according to the system environment
|
4. ungoogled-chromium: I folded and used the default system theme which automatically reads and updates according to the system environment
|
||||||
5. swaywm (linux): sway reads from a symlink'ed theme file `sed`ed, updated and reloaded by the script
|
5. swaywm (linux): sway reads from a symlink'ed theme file `sed`ed, updated and reloaded by the script
|
||||||
6. rofi: `config.rasi` also reads from a symlink'ed theme files that is updated and reloaded by the script
|
6. rofi: `config.rasi` also reads from a symlink'ed theme files that is updated and reloaded by the script
|
||||||
7. fzf insert here - read from symlinked file?/cat?
|
7. tmux: `tmux.conf` reads from symlink'ed theme files that are automatically reloaded with `source-file`
|
||||||
8. tmux: `tmux.conf` reads from symlink'ed theme files that are automatically reloaded with `source-file`
|
|
||||||
|
|
||||||
## failures
|
## failures
|
||||||
|
|
||||||
Unfortunately, the following programs I've found nearly impossible to dynamically reload:
|
Unfortunately, the following programs I've found nearly impossible to dynamically reload:
|
||||||
|
|
||||||
9. ripgrep: I use the default theme.
|
8. fzf: Overwriting fzf's themes, from the interactive shell `fzf` binary to `fzf-{cd,file}-widget` to integration with [fzf-lua](https://github.com/ibhagwan/fzf-lua/), I found this potentially doable but just _way too complex_. Feel free to investigate yourself--I'm going with the default theme.
|
||||||
|
9. ripgrep: I use the default theme. The ripgrep global configuration file does not support environment variables, exterminating the option to provide a `${THEME}`-based path in the global configuration file.
|
||||||
- The ripgrep global configuration file does not support environment variables, exterminating the option to provide a `${THEME}`-based path in the global configuration file.
|
|
||||||
- I'm also not willing to write an alias wrapper. I don't like to stray too far from the defaults.
|
|
||||||
|
|
||||||
10. zsh: it's impossible to update `$THEME` across all existing shells (simply a limit of posix). However, all affected _programs_ will read the proper `$THEME`--I'm fine compromising here.
|
10. zsh: it's impossible to update `$THEME` across all existing shells (simply a limit of posix). However, all affected _programs_ will read the proper `$THEME`--I'm fine compromising here.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue