mirror of
https://github.com/tabler/tabler.git
synced 2026-08-13 23:02:23 +04:00
47 lines
666 B
SCSS
47 lines
666 B
SCSS
.example {
|
|
padding: 2rem;
|
|
border: 1px solid $border-color;
|
|
border-radius: 3px 3px 0 0;
|
|
font-size: px2rem(15px);
|
|
}
|
|
|
|
.example-bg {
|
|
background: $body-bg;
|
|
}
|
|
|
|
.example + .highlight {
|
|
border-top: none;
|
|
margin-top: 0;
|
|
border-radius: 0 0 3px 3px;
|
|
}
|
|
|
|
.highlight {
|
|
margin: 1rem 0 2rem;
|
|
border: 1px solid $border-color;
|
|
border-radius: 3px;
|
|
font-size: px2rem(15px);
|
|
max-height: 20rem;
|
|
overflow: auto;
|
|
background: #fcfcfc;
|
|
}
|
|
|
|
.highlight pre {
|
|
margin-bottom: 0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.example-column {
|
|
margin: 0 auto;
|
|
|
|
>.card:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.example-column-1 {
|
|
max-width: 20rem;
|
|
}
|
|
|
|
.example-column-2 {
|
|
max-width: 40rem;
|
|
} |