forked from Rosetta/landing
120 lines
2.8 KiB
CSS
120 lines
2.8 KiB
CSS
.code {
|
|
margin: 18px 0;
|
|
padding: 16px;
|
|
border: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-5));
|
|
border-radius: var(--mantine-radius-xs);
|
|
background: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
|
|
color: light-dark(var(--mantine-color-gray-8), var(--mantine-color-dark-0));
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
overflow-x: auto;
|
|
white-space: pre;
|
|
}
|
|
|
|
.pipeline {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin: 22px 0;
|
|
}
|
|
|
|
.pipeline > span:nth-child(odd) {
|
|
padding: 14px;
|
|
border: 1px solid light-dark(var(--mantine-color-blue-2), var(--mantine-color-blue-9));
|
|
border-radius: var(--mantine-radius-xs);
|
|
background: light-dark(var(--mantine-color-blue-0), rgba(25, 113, 194, 0.12));
|
|
color: light-dark(var(--mantine-color-blue-9), var(--mantine-color-blue-1));
|
|
font-size: var(--mantine-font-size-sm);
|
|
font-weight: 650;
|
|
line-height: 1.45;
|
|
text-align: center;
|
|
}
|
|
|
|
.pipeline > span:nth-child(even) {
|
|
color: var(--mantine-color-blue-6);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.step {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr);
|
|
gap: 16px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.step:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.stepNumber {
|
|
display: grid;
|
|
width: 34px;
|
|
height: 34px;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
background: var(--mantine-color-blue-6);
|
|
color: var(--mantine-color-white);
|
|
font-size: var(--mantine-font-size-sm);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.stepBody {
|
|
min-width: 0;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-5));
|
|
}
|
|
|
|
.step:last-child .stepBody {
|
|
padding-bottom: 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.subheading {
|
|
margin: 3px 0 12px;
|
|
color: light-dark(var(--mantine-color-dark-8), var(--mantine-color-dark-0));
|
|
font-size: 17px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.important {
|
|
padding: 0 0.14em;
|
|
border-radius: 2px;
|
|
background: light-dark(rgba(250, 82, 82, 0.13), rgba(250, 82, 82, 0.2));
|
|
color: light-dark(var(--mantine-color-red-9), var(--mantine-color-red-2));
|
|
font-weight: inherit;
|
|
box-decoration-break: clone;
|
|
-webkit-box-decoration-break: clone;
|
|
}
|
|
|
|
.note {
|
|
margin: 18px 0;
|
|
border: 1px solid light-dark(var(--mantine-color-red-3), var(--mantine-color-red-9));
|
|
border-left: 3px solid var(--mantine-color-red-6);
|
|
background: light-dark(var(--mantine-color-red-0), rgba(250, 82, 82, 0.1));
|
|
color: light-dark(var(--mantine-color-gray-8), var(--mantine-color-dark-0));
|
|
}
|
|
|
|
@media (max-width: 48em) {
|
|
.pipeline {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.pipeline > span:nth-child(even) {
|
|
transform: rotate(90deg);
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 36em) {
|
|
.step {
|
|
grid-template-columns: 28px minmax(0, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.stepNumber {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
}
|