mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2026-04-13 09:49:39 +02:00
In this PR we move all of the CSS and JavaScript assets from the public assets directory to a new directory in the project root. The main reason for this is that I would like to believe this makes them easier to find. Since all CSS and JS is bundled with each page anyways there is no need to access these directly from a public directory. The main argument against this I think would be "transparency". We already run this site with `display_php_source=true` in Vegvisir (so page source code can be inspected by appending `.php` to the end of a url. But there is of course no reason to trust that it's the actual source code. Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/72
16 lines
No EOL
270 B
CSS
16 lines
No EOL
270 B
CSS
/* # Overrides */
|
|
|
|
:root {
|
|
--primer-color-accent: 3, 255, 219;
|
|
--color-accent: rgb(var(--primer-color-accent));
|
|
--hue-accent: 90deg;
|
|
}
|
|
|
|
vv-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--padding);
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
overflow-x: initial;
|
|
} |