Publicly available code that's used in the course
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
571 B

// Codes
code {
@include label-base();
@include label-variant($code-color, $black);
font-size: 85%;
pre {
border-radius: $border-radius;
color: $white;
position: relative;
background-color: $black;
&::before {
color: $gray-color;
content: attr(data-lang);
font-size: $font-size-sm;
position: absolute;
right: $layout-spacing;
top: $unit-h;
code {
color: inherit;
display: block;
line-height: 1.5;
overflow-x: auto;
padding: 1rem;
width: 100%;
font-family: $mono-font-family !important;