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:
@@ -48,7 +48,6 @@ code, pre {
|
||||
code {
|
||||
/* enclosed by single backtick (`) */
|
||||
padding: .15em .5em;
|
||||
color: darken(#d01040, 10%);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
@@ -71,6 +70,13 @@ pre code {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
a code {
|
||||
color: @accent !important;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Body text
|
||||
//
|
||||
|
@@ -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