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.
67 lines
1.3 KiB
CSS
67 lines
1.3 KiB
CSS
/* development.css
|
|
* Some styles for development UI.
|
|
* Eryn Wells <eryn@erynwells.me>
|
|
*/
|
|
|
|
details:has(.photo-params.debug) {
|
|
margin-block-end: var(--body-item-spacing);
|
|
}
|
|
|
|
.draft {
|
|
color: red;
|
|
display: inline-block;
|
|
font-family: 'SF Pro', sans-serif;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
letter-spacing: 3px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.draft:before {
|
|
content: "[";
|
|
}
|
|
|
|
.draft:after {
|
|
content: "]";
|
|
}
|
|
|
|
#debug-page-info {
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--separator-color);
|
|
border-radius: 6px;
|
|
box-shadow: 4px 5px 5px var(--box-shadow-color);
|
|
font-size: 1.75rem;
|
|
padding: 0.5rem;
|
|
position: fixed;
|
|
left: 2rem;
|
|
bottom: 2rem;
|
|
width: max-content;
|
|
}
|
|
|
|
#debug-page-info > details {
|
|
margin: 0.5rem;
|
|
}
|
|
|
|
#debug-page-info > summary {
|
|
font-family: var(--font-family-heading);
|
|
}
|
|
|
|
#debug-page-info > details > table {
|
|
border-collapse: collapse;
|
|
display: block;
|
|
margin-block-start: 0.5em;
|
|
margin-inline-start: 1em;
|
|
}
|
|
|
|
#debug-page-info > details > table > tbody > tr > td {
|
|
border: 1px solid rgb(var(--dk-gray));
|
|
padding: 0.3em;
|
|
}
|
|
|
|
#debug-page-info > details > table > tbody > tr:nth-child(even) {
|
|
background-color: var(--separator-color);
|
|
}
|
|
|
|
.photo-params.debug {
|
|
width: 100%;
|
|
}
|