water.css/docs/style.css

141 lines
2.2 KiB
CSS
Raw Normal View History

html {
scroll-behavior: smooth;
}
#js-producthunt {
margin-top: 1rem;
}
.version-select {
overflow: hidden;
}
.version-select__snippet h3 {
margin: 1rem 2.5rem 1rem 0;
}
2020-05-27 21:10:50 -05:00
/* Make the ✔ / ❌ Emoji appear next to the button */
.version-select__snippet__btn {
position: relative;
margin: 0 2px 0 auto;
overflow: visible;
}
2020-05-27 21:10:50 -05:00
.version-select__snippet__btn span {
position: absolute;
left: -2rem;
display: inline-block;
transform: scale(1.3);
}
.version-select__options > label {
white-space: pre;
}
2020-05-27 21:10:50 -05:00
.version-select__options > label:not(:last-of-type) {
margin-right: 1rem;
}
2020-05-27 21:10:50 -05:00
.version-select__options__additional,
.version-select__options__additional > *:not(summary) {
display: block;
margin: 1rem 0;
}
2020-05-27 21:10:50 -05:00
.version-select__options__additional summary {
outline: none;
cursor: pointer;
font-weight: 600;
}
2020-05-27 21:10:50 -05:00
.version-select__options__additional summary:hover span,
.version-select__options__additional summary:focus span {
text-decoration: underline;
}
.version-select__info caption {
text-align: left;
}
2020-05-27 21:10:50 -05:00
.version-select__info th {
border: none;
vertical-align: top;
width: 35%;
}
2019-05-31 00:36:55 +02:00
body > footer {
padding-top: 2rem;
2019-05-31 00:36:55 +02:00
display: flex;
justify-content: flex-end;
align-items: flex-end;
}
.row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
2020-05-27 21:10:50 -05:00
.emoji {
/* Use proper Emoji instead of plain Unicode chars */
2020-05-27 21:10:50 -05:00
font-family:
'Segoe UI Emoji',
'Apple Color Emoji',
'Noto Color Emoji',
system-ui,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
Fira Sans,
Droid Sans,
Helvetica Neue,
sans-serif;
}
2020-05-27 21:10:50 -05:00
.opacity-4 {
opacity: 0.4;
}
2020-05-27 21:10:50 -05:00
.opacity-7 {
opacity: 0.76;
}
2020-05-27 21:10:50 -05:00
.tooltip {
position: relative;
cursor: help;
}
2020-05-27 21:10:50 -05:00
.tooltip::after {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 100%;
border-width: 0 0 1.5px;
border-style: dotted;
}
/* For the bounce transitions of code snippet and copy success Emoji */
.v-enter,
.v-leave-to {
transform: scale(0) !important;
}
2020-05-27 21:10:50 -05:00
.v-enter-active,
.v-leave-active {
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
2020-05-27 21:10:50 -05:00
[v-cloak] > * {
display: none;
}
2020-05-27 21:10:50 -05:00
[v-cloak]::after {
content: 'Version picker is loading...';
}