mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Fix code colors and add support for linked code
This commit is contained in:
@@ -604,7 +604,6 @@ section.main .content .markdown pre {
|
||||
section.main .content .markdown code {
|
||||
/* enclosed by single backtick (`) */
|
||||
padding: .15em .5em;
|
||||
color: #a10c31;
|
||||
border-radius: 2px;
|
||||
}
|
||||
section.main .content .markdown pre {
|
||||
@@ -624,6 +623,12 @@ section.main .content .markdown pre code {
|
||||
padding: 0;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
section.main .content .markdown a code {
|
||||
color: #428bca !important;
|
||||
}
|
||||
section.main .content .markdown a code:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
section.main .content .markdown p {
|
||||
/* Invoked by line break */
|
||||
font-size: 1rem;
|
||||
|
Reference in New Issue
Block a user