.impersonate {
    --start-colour: var(--accent-colour);
    --end-colour: var(--background-colour);
    background-image: repeating-linear-gradient(-45deg, var(--start-colour), var(--start-colour) 10px, var(--end-colour) 10px, var(--end-colour) 20px);
    height: 30px;
}

.impersonate-content {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.impersonate-user {
    padding: 4px 10px;
    background-color: #222d;
}
.impersonate-user-link {
    color: var(--user-colour);
    text-decoration: none;
}
.impersonate-user-link:hover,
.impersonate-user-link:focus {
    text-decoration: underline;
}
.impersonate-user-avatar {
    display: inline-block;
}

.impersonate-options {
    display: flex;
}
.impersonate-options-link {
    width: 30px;
    height: 30px;
    line-height: 29px;
    text-align: center;
    font-size: 1.5em;
    background-color: #222d;
    display: block;
    color: var(--text-colour);
    text-decoration: none;
    transition: background-color .1s;
}
.impersonate-options-link:focus,
.impersonate-options-link:hover {
    background-color: #555d;
}
.impersonate-options-link:active {
    background-color: #333d;
}
