|
|
|
@ -3,30 +3,31 @@
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
display: block;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples {
|
|
|
|
|
.snippets {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples li {
|
|
|
|
|
.snippets li {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples li > * {
|
|
|
|
|
.snippets li > * {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
.samples li:nth-child(even) {
|
|
|
|
|
.snippets li:nth-child(even) {
|
|
|
|
|
background: #efefef;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples li button {
|
|
|
|
|
.snippets li button {
|
|
|
|
|
background-color: white;
|
|
|
|
|
border: 1px solid currentColor;
|
|
|
|
|
padding: 4px;
|
|
|
|
@ -35,7 +36,7 @@
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples li button svg {
|
|
|
|
|
.snippets li button svg {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
@ -45,7 +46,7 @@
|
|
|
|
|
margin-right: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.samples .description {
|
|
|
|
|
.snippets .description {
|
|
|
|
|
margin: 0 8px;
|
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
}
|
|
|
|
@ -73,3 +74,21 @@ svg #sockets {
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
border: 2px solid currentColor;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
margin: 32px 0;
|
|
|
|
|
max-width: 40ch;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta .date {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|