mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
ui(resources): style markdown links
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { darken, lighten } from "polished"
|
||||||
import styled, { css } from "styled-components"
|
import styled, { css } from "styled-components"
|
||||||
import {
|
import {
|
||||||
BASE_FONT_SIZE,
|
BASE_FONT_SIZE,
|
||||||
@@ -94,4 +95,16 @@ export const MarkdownWrapper = styled.div`
|
|||||||
color: #d1529d;
|
color: #d1529d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: ${props => props.theme.main.link};
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: ${props =>
|
||||||
|
props.theme.name === "dark"
|
||||||
|
? lighten(0.15, props.theme.main.link)
|
||||||
|
: darken(0.15, props.theme.main.link)};
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user