@import 'themify-icons'; $error-color: #CC2222; @mixin link-button { background-color: var(--button-base); padding: 10px 30px; color: var(--form-text); margin-right: 6px; margin-bottom: 6px; border: none; border-radius: 6px; outline: none; &:hover { background-color: var(--button-hover); text-decoration: none; transition: background-color var(--animation-duration) linear,border-color var(--animation-duration) linear,color var(--animation-duration) linear,box-shadow var(--animation-duration) linear,transform var(--animation-duration) ease; } } :root { --links: var(--text-bright); } a.social-share { display: inline-block; width: 2vh; height: 2vh; color: transparent; margin-left: 0.5rem; &.reddit { background-image: url('../images/reddit.svg'); } &.twitter { background-image: url('../images/twitter.svg'); } &.linkedin { background-image: url('../images/linkedin.svg'); } &.hackernews { background-image: url('../images/hackernews.svg'); } background-size: contain; } ul { list-style-type: none; padding-inline-start: 0; &.form-errors { color: $error-color; font-style: italic; } } nav { display: grid; grid-template-columns: minmax(320px, 70%) repeat(auto-fill, 15%); text-align: right; justify-content: space-between; a:first-child { text-align: left; } } section#hero { margin: 2vh 0; padding: 1rem 2rem; text-align: center; background-color: var(--background-alt); a { display: block; } } section.account.profile-data { img.profile { clip-path: circle(); max-width: 200px; max-height: 200px; margin: 20px; } form[name=account] { input, textarea { width: 100%; } } } div.profile.basic-data { span { display: block; } } div.quiz-progress-tracker { padding-top: 3vh; label { display: block; text-align: right; } progress { width: 100%; } } form.quiz { label { font-weight: 600; color: var(--text-bright); margin-top: 1em; } } div.quiz-actions { margin-top: 4vh; display: flex; justify-content: space-between; align-items: center; } div.call-to-action { padding: 1em; text-align: center; text-transform: uppercase; a { @include link-button; } } div.response-history, div.user-response { summary { display: flex; justify-content: space-between; align-items: center; .actions { display: flex; text-align: right; align-items: center; &::hover { text-decoration: none; } } } span.alternative { &.user-answer { font-weight: 900; } &.user-acceptable, &.partner-acceptable { &::after { content: "✓"; color: green; } } &.partner-unacceptable { &::after { content: "❌"; color: red; } } } } div.answer-check { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin: 5vh auto; .user-avatar { display: block; margin-bottom: 2vh; font-size: 150%; text-transform: uppercase; } q { display: block; margin-top: 2vh; border-left: none; padding: 3em 5em; font-weight: 600; } }