2019-05-30 22:13:57 +02:00
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
#js-producthunt {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select {
|
2019-05-31 03:31:15 +02:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-06-07 15:03:26 +02:00
|
|
|
|
|
|
|
.version-select__snippet h3 {
|
2019-05-30 22:13:57 +02:00
|
|
|
margin: 1rem 2.5rem 1rem 0;
|
|
|
|
}
|
|
|
|
/* Make the ✔ / ❌ Emoji appear next to the button */
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select__snippet__btn {
|
2019-05-30 22:13:57 +02:00
|
|
|
position: relative;
|
2019-06-07 15:03:26 +02:00
|
|
|
margin: 0 2px 0 auto;
|
2019-05-30 22:13:57 +02:00
|
|
|
overflow: visible;
|
|
|
|
}
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select__snippet__btn span {
|
2019-05-30 22:13:57 +02:00
|
|
|
position: absolute;
|
|
|
|
left: -2rem;
|
|
|
|
display: inline-block;
|
|
|
|
transform: scale(1.3);
|
|
|
|
}
|
2019-06-07 15:03:26 +02:00
|
|
|
|
|
|
|
.version-select__options > label {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
2019-06-07 15:27:55 +02:00
|
|
|
.version-select__options > label:first-child {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
2019-06-09 00:06:01 +02:00
|
|
|
.version-select__options__additional {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-06-09 00:33:30 +02:00
|
|
|
margin: 1rem 0;
|
2019-06-07 15:03:26 +02:00
|
|
|
}
|
2019-06-09 00:06:01 +02:00
|
|
|
.version-select__options__additional > *:not(summary) {
|
2019-06-07 15:03:26 +02:00
|
|
|
display: block;
|
2019-06-09 00:33:30 +02:00
|
|
|
margin-top: 1rem;
|
2019-06-09 00:06:01 +02:00
|
|
|
}
|
|
|
|
.version-select__options__additional summary {
|
2019-06-07 15:03:26 +02:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.version-select__options__additional summary:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2019-06-09 00:06:01 +02:00
|
|
|
.version-select__options__additional summary:hover span,
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select__options__additional summary:focus span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2019-05-30 22:13:57 +02:00
|
|
|
/* Fixed layout so columns don't jump when content changes */
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select__info {
|
2019-05-30 22:13:57 +02:00
|
|
|
table-layout: fixed;
|
|
|
|
}
|
2019-06-07 15:03:26 +02:00
|
|
|
.version-select__info caption {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.version-select__info th {
|
2019-05-30 22:13:57 +02:00
|
|
|
border: none;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 35%;
|
|
|
|
}
|
|
|
|
|
2019-05-31 00:36:55 +02:00
|
|
|
body > footer {
|
2019-05-31 02:37:45 +02:00
|
|
|
padding-top: 2rem;
|
2019-05-31 00:36:55 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-05-30 22:13:57 +02:00
|
|
|
/* Used for (Links / ProductHunt) and (Installation / Copy-Button) rows */
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Use proper Emoji instead of plain Unicode chars */
|
|
|
|
.emoji {
|
|
|
|
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;
|
|
|
|
}
|
2019-06-09 01:56:38 +02:00
|
|
|
.opacity-4 {
|
2019-05-31 03:31:15 +02:00
|
|
|
opacity: 0.4;
|
2019-05-31 00:15:50 +02:00
|
|
|
}
|
2019-06-09 01:56:38 +02:00
|
|
|
.opacity-7 {
|
|
|
|
opacity: 0.76;
|
|
|
|
}
|
2019-06-07 15:03:26 +02:00
|
|
|
.tooltip {
|
|
|
|
position: relative;
|
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
.tooltip::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: -4px;
|
|
|
|
width: 100%;
|
|
|
|
border-width: 0 0 1.5px;
|
|
|
|
border-style: dotted;
|
|
|
|
}
|
2019-05-30 22:13:57 +02:00
|
|
|
|
|
|
|
/* For the bounce transitions of code snippet and copy success Emoji */
|
|
|
|
.v-enter,
|
|
|
|
.v-leave-to {
|
2019-05-31 01:18:06 +02:00
|
|
|
transform: scale(0) !important;
|
2019-05-30 22:13:57 +02:00
|
|
|
}
|
|
|
|
.v-enter-active,
|
|
|
|
.v-leave-active {
|
|
|
|
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
|
|
}
|
2019-05-31 03:31:15 +02:00
|
|
|
[v-cloak] > * {
|
2019-05-30 22:13:57 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-31 01:28:24 +02:00
|
|
|
[v-cloak]::after {
|
2019-05-30 22:13:57 +02:00
|
|
|
content: 'Version picker is loading...';
|
|
|
|
}
|