1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/stylesheets/utilities.scss
Mike Surowiec d76c16da19 Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00

106 lines
1.8 KiB
SCSS

.color-unset {
color: unset;
}
.line-break-anywhere {
line-break: anywhere;
}
.transition-200 {
transition: 200ms;
}
.rotate-180 {
transform: rotateX(180deg);
}
.min-h-screen {
min-height: 100vh;
}
/* Print utilities
------------------------------------------------------------------------------*/
@media print {
.no-print {
display: none;
}
}
/* Opacity utilities
------------------------------------------------------------------------------*/
.opacity-0 {
opacity: 0;
}
.opacity-60 {
opacity: 0.6;
}
.opacity-70 {
opacity: 0.7;
}
.opacity-100 {
opacity: 1;
}
/* Text utilities
------------------------------------------------------------------------------*/
.underline-dashed {
padding-bottom: $spacer-1;
background-image: linear-gradient(
to right,
var(--color-auto-gray-3) 50%,
transparent 0%
);
background-repeat: repeat-x;
background-position: bottom;
background-size: 10px 1px;
}
/* List utilities
------------------------------------------------------------------------------*/
.list-style-inside {
list-style: inside;
}
/* Hover utilities
------------------------------------------------------------------------------*/
.hover\:color-bg-info:hover {
background: var(--color-bg-info);
}
/* Z-Index utilities
------------------------------------------------------------------------------*/
.-z-1 {
z-index: -1;
}
.z-1 {
z-index: 1;
}
.z-2 {
z-index: 2;
}
/* Gradient utilities
------------------------------------------------------------------------------*/
.fade-tertiary-left {
background: linear-gradient(to right, var(--color-bg-tertiary), transparent);
}
.fade-tertiary-right {
background: linear-gradient(to left, var(--color-bg-tertiary), transparent);
}
.fade-tertiary-bottom {
background: linear-gradient(to top, var(--color-bg-tertiary), transparent);
}
.outline-none {
outline: none;
}