mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
feat(client): add border to inline code (#50693)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
co-authored by
Ahmad Abdolsaheb
parent
70770d51f2
commit
8f62a938ab
@@ -457,6 +457,8 @@ input:focus {
|
||||
border-color: var(--tertiary-color);
|
||||
}
|
||||
code {
|
||||
border: 1px solid var(--secondary-color);
|
||||
padding: 1px 4px;
|
||||
background-color: var(--quaternary-background);
|
||||
color: var(--tertiary-color);
|
||||
border-radius: 0;
|
||||
@@ -555,6 +557,7 @@ hr {
|
||||
code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
pre {
|
||||
|
||||
Reference in New Issue
Block a user