erynwells.me/assets/styles/development.css

78 lines
1.5 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: 12px;
padding: 0.5rem;
position: fixed;
left: 12px;
bottom: 12px;
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: 0;
border-color: rgb(var(--dk-gray));
display: block;
margin-block-start: 0.5em;
margin-inline-start: 1em;
width: 100%;
}
#debug-page-info > details > table > tbody {
border: 1px solid;
}
#debug-page-info > details > table > tbody + tbody {
border-top: 1px solid;
}
#debug-page-info > details > table > tbody > tr > td {
border: 1px dotted;
border-left: 1px solid;
padding: 0.3em;
}
#debug-page-info > details > table > tbody > tr:nth-child(even) {
background-color: var(--separator-color);
}
.photo-params.debug {
width: 100%;
}