mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web: only underline links on hover
This commit is contained in:
parent
b15db20347
commit
56f11fcb8f
2 changed files with 10 additions and 2 deletions
|
@ -20,7 +20,7 @@ pre, code {
|
|||
font-family: "Fira Code", monospace;
|
||||
}
|
||||
|
||||
button {
|
||||
button, a.button {
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
background: none;
|
||||
|
@ -36,6 +36,14 @@ button {
|
|||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
||||
&:hover:not(.button) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
--primary-color: #00c853;
|
||||
--primary-color-light: #92ffc0;
|
||||
|
|
|
@ -167,7 +167,7 @@ export class Lightbox extends Component<LightboxProps> {
|
|||
<button onClick={this.zoomIn}><ZoomInIcon/></button>
|
||||
<button onClick={this.rotateLeft}><RotateLeftIcon/></button>
|
||||
<button onClick={this.rotateRight}><RotateRightIcon/></button>
|
||||
<a href={this.props.src} target="_blank" rel="noopener noreferrer">
|
||||
<a className="button" href={this.props.src} target="_blank" rel="noopener noreferrer">
|
||||
<DownloadIcon/>
|
||||
</a>
|
||||
<button onClick={this.props.onClose}><CloseIcon/></button>
|
||||
|
|
Loading…
Add table
Reference in a new issue