Skip to content
Discussion options

You must be logged in to vote

@osdiab A neater solution

export const proseCss = css({
 "& a:not(:first-child)": { marginBlockStart: "1em" },
 "& p, & h1, & h2, & h3, & h4, & h5, & h6": {
    color: "primaryText",
    textDecoration: "underline",
    display: "inline-block",
    cursor: "pointer",
    fontWeight: "semibold",
    border: "none",
    background: "none",
    transition: "color 0.1s linear",
    _hover: { color: "primaryHighlight" },
 }
})

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@osdiab
Comment options

@anubra266
Comment options

Answer selected by osdiab
@osdiab
Comment options

@anubra266
Comment options

@osdiab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants