water.css/docs/style.css
2022-01-22 12:45:38 -06:00

81 lines
1.5 KiB
CSS
Executable file

#product-hunt {
margin-top: 1rem;
}
#link-snippet-headline {
margin: 1rem 2.5rem 1rem 0;
}
/* Make the feedback Emoji appear next to the button */
#copy-button {
position: relative;
margin-right: 2px;
overflow: visible;
}
#copy-button-feedback {
position: absolute;
left: -2rem;
display: inline-block;
transform: scale(1.3);
}
#link-snippet-container {
overflow: hidden;
display: grid;
/* stylelint-disable */
-ms-display: grid;
-ms-grid-columns: 1fr;
/* stylelint-enable */
}
#link-snippet-container > pre {
overflow: hidden;
grid-column: 1;
grid-row: 1;
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1) 220ms;
}
/* This is a really *really* evil hack to get around a half-char of overflow. */
@media only screen and (min-width: 840px) {
#link-snippet-container > pre > code {
overflow: hidden;
}
}
#link-snippet-container > pre[hidden] {
display: block;
visibility: hidden;
transform: scale(0);
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1), visibility 0ms 220ms;
}
#theme-form > label:not(:last-of-type) {
margin-right: 1rem;
}
#version-info th {
width: 35%;
}
body > footer {
text-align: right;
}
.row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
/* Hmmm yes great class name */
.top-theme-form {
padding: 10px 0;
top: 0;
width: 100%;
position: sticky;
margin-top: -20px;
z-index: 999;
background: var(--background-body);
}