Skip to content

Commit

Permalink
[MSKINS-261] Make linked code have some colors as plain links
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Dec 12, 2024
1 parent a72dd1c commit 57fc817
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/resources/css/maven-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,8 @@ h5 > code {
.table td {
text-align: revert;
}

/* linked code must be styled in same color as plain links */
a > code {
color: #0088cc;
}
2 changes: 1 addition & 1 deletion src/site/markdown/sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ date: 2011-11-07

Regular font\. _Italic_ font\. **Bold** font\. `Monospaced` font\.

<a id="Anchor"></a>Anchor\. Links: [to Anchor](#Anchor), [to http:](http://www.pixware.fr), [to https:](https://www.pixware.fr), [to file:](file:///tmp), [to ftp:](ftp://ftp.apache.org), [to e\-mail](mailto:dev@maven.apach.org), [to \.asc](http://unknown.asc), [to \.jpg](http://unknown.jpg), [to \.jpeg](http://unknown.jpeg), [to \.gif](http://unknown.gif), [to \.png](http://unknown.png), [to \.tar\.gz](http://unknown.tar.gz), [to \.zip](http://unknown.zip), [to \.md5](http://unknown.md5), [to \.sha1](http://unknown.sha1)\.
<a id="Anchor"></a>Anchor\. Links: [to Anchor](#Anchor), [to http:](http://www.pixware.fr), [to https:](https://www.pixware.fr), [to file:](file:///tmp), [to ftp:](ftp://ftp.apache.org), [to e\-mail](mailto:dev@maven.apach.org), [to \.asc](http://unknown.asc), [to \.jpg](http://unknown.jpg), [to \.jpeg](http://unknown.jpeg), [to \.gif](http://unknown.gif), [to \.png](http://unknown.png), [to \.tar\.gz](http://unknown.tar.gz), [to \.zip](http://unknown.zip), [to \.md5](http://unknown.md5), [to \.sha1](http://unknown.sha1), [`from code to http`](http://www.pixware.fr)\.

Basic icons = Success, Warning, Error, Info:

Expand Down

0 comments on commit 57fc817

Please sign in to comment.