forked from Rosetta/landing
Добавлена докуметация по RCC
This commit is contained in:
114
src/pages/RccPage.module.css
Normal file
114
src/pages/RccPage.module.css
Normal file
@@ -0,0 +1,114 @@
|
||||
.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 {
|
||||
color: light-dark(var(--mantine-color-orange-8), var(--mantine-color-orange-3));
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.note {
|
||||
margin: 18px 0;
|
||||
border: 1px solid light-dark(var(--mantine-color-orange-3), var(--mantine-color-orange-9));
|
||||
border-left: 3px solid var(--mantine-color-orange-6);
|
||||
background: light-dark(var(--mantine-color-orange-0), rgba(253, 126, 20, 0.1));
|
||||
color: light-dark(var(--mantine-color-orange-9), var(--mantine-color-orange-2));
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user