You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
1.6 KiB
CSS

h2,
h3 {
font-weight: normal;
font-size: 32px;
margin: 0;
}
.instrument {
max-height: 100vh;
max-width: 100vw;
width: 100%;
object-fit: contain;
margin: 0 auto;
display: block;
position: relative;
}
.new-snippet {
display: flex;
}
.snippets {
width: 100%;
padding: 0;
}
.snippets li {
display: flex;
width: 100%;
font-size: 32px;
padding: 8px;
}
.snippets li > * {
flex-shrink: 0;
}
.snippets li:nth-child(even) {
background: #efefef;
}
.snippets li button {
background-color: white;
border: 1px solid currentColor;
padding: 4px;
width: 32px;
height: 32px;
display: inline-block;
}
.snippets li button svg {
width: 100%;
height: 100%;
}
.download {
margin-left: auto;
margin-right: 16px;
}
.snippets .description {
margin: 0 8px;
flex-shrink: 1;
}
.print {
background: none;
border: 1px solid currentColor;
background-color: white;
padding: 0px;
}
.print svg {
width: 32px;
height: 32px;
display: inline-block;
}
/* svg #params,
svg #sockets {
display: none;
} */
.instrument .cables {
position: absolute;
top: 0;
left: 0;
}
main {
font-size: 24px;
line-height: 1.2;
}
.meta > * {
border: 1px solid currentColor;
padding: 16px;
}
.meta h2 {
margin: 0;
}
.meta > * + * {
margin-top: 16px;
}
.meta .date {
margin-top: 16px;
opacity: 0.5;
}
.patch-text {
padding: 8px;
display: inline-block;
white-space: pre-wrap;
line-height: 1;
font-size: 18px;
background-color: rgba(200, 200, 200, 0.5);
max-width: 60ch;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
align-items: flex-start;
}
.grid .instrument {
grid-column: 2 / span 2;
border: 1px solid currentColor;
}