This will keep browsers from caching files that have changed. I've also added SRI information to the <script> and <link> elements for browsers to verify resources. Squashed commit of the following: commitf3fcb16388
Author: Eryn Wells <eryn@erynwells.me> Date: Tue Nov 8 17:47:42 2022 -0800 Remove static/styles/root.css commit53a30624a0
Author: Eryn Wells <eryn@erynwells.me> Date: Tue Nov 8 17:47:26 2022 -0800 Add back the basic table styles that got ditched when root.css was moved to assets/styles commit294fa8343b
Author: Eryn Wells <eryn@erynwells.me> Date: Tue Nov 8 17:45:38 2022 -0800 Get all the fingerprinting done! - Add partials in the resources folder for each of the major resources of my site - Consolidate .css and .js files via resources.Concat where possible commitd0b223fa33
Author: Eryn Wells <eryn@erynwells.me> Date: Mon Nov 7 08:36:39 2022 -0800 All the template updates for fingerprinting commit1751abadac
Author: Eryn Wells <eryn@erynwells.me> Date: Mon Nov 7 08:36:27 2022 -0800 Add secure_asset.html template commit94ea8068c9
Author: Eryn Wells <eryn@erynwells.me> Date: Mon Nov 7 08:35:48 2022 -0800 Move a bunch of scripts and CSS to assets so they can be processed with Hugo Pipes Use Pipes to fingerprint and add SLI information to <script> and <link> tags.
64 lines
1.2 KiB
CSS
64 lines
1.2 KiB
CSS
:root {
|
|
--rect-fill: rgba(var(--mid-blue), 0.1);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--rect-fill: rgb(var(--mid-blue), 0.9);
|
|
}
|
|
}
|
|
|
|
svg.railroad-diagram path {
|
|
stroke-width: 2;
|
|
stroke: var(--html-color);
|
|
fill: none;
|
|
}
|
|
|
|
svg.railroad-diagram text {
|
|
font-family: var(--font-family-monospace);
|
|
text-anchor: middle;
|
|
white-space: pre;
|
|
fill: var(--html-color);
|
|
}
|
|
|
|
svg.railroad-diagram text.diagram-text {
|
|
font-size: 11px;
|
|
}
|
|
|
|
svg.railroad-diagram text.diagram-arrow {
|
|
font-size: 16px;
|
|
}
|
|
|
|
svg.railroad-diagram text.label {
|
|
text-anchor: start;
|
|
}
|
|
|
|
svg.railroad-diagram text.comment {
|
|
font: italic 12px var(--font-family-monospace);
|
|
}
|
|
|
|
svg.railroad-diagram g.non-terminal text {
|
|
/*font-style: italic;*/
|
|
}
|
|
|
|
svg.railroad-diagram rect {
|
|
stroke-width: 2;
|
|
stroke: var(--html-color);
|
|
fill: var(--rect-fill);
|
|
}
|
|
|
|
svg.railroad-diagram rect.group-box {
|
|
stroke: gray;
|
|
stroke-dasharray: 10 5;
|
|
fill: none;
|
|
}
|
|
|
|
svg.railroad-diagram path.diagram-text {
|
|
stroke-width: 2;
|
|
stroke: var(--html-color);
|
|
fill: var(--html-background-color);
|
|
cursor: help;
|
|
}
|
|
|
|
svg.railroad-diagram g.diagram-text:hover path.diagram-text {
|
|
fill: var(--rect-fill);
|
|
}
|