Skip to content

Commit

Permalink
CRISTAL-450: Code block are not styled
Browse files Browse the repository at this point in the history
* Added styles for code blocks
  • Loading branch information
tkrieck committed Feb 5, 2025
1 parent a4272eb commit a7f0a18
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions skin/src/vue/c-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,21 @@ TODO: these rules about opening and closing the sidebar should be better organiz
display: block;
}

/*
WIKI STYLES
TODO: Discuss and move them to a more appropriate place
*/

/*CODE*/
:deep(.box) {
:deep(.code) {
font-family: var(--cr-font-mono);
background: var(--cr-color-neutral-100);
border-radius: var(--cr-border-radius-medium);
padding: var(--cr-spacing-small);
}
}

/*LINKS*/

:deep(.content a) {
Expand Down Expand Up @@ -316,11 +331,10 @@ TODO: these rules about opening and closing the sidebar should be better organiz
}
}
}

/*
WIKI STYLES
TODO: Discuss and move them to a more appropriate place
END WIKI STYLES
*/

@container xwCristal (max-width: 600px) {
:deep(.wrapper.sidebar-is-collapsed) {
&:has(.main-sidebar.is-visible) {
Expand Down

0 comments on commit a7f0a18

Please sign in to comment.