File size: 1,544 Bytes
273a5fb 0e11834 273a5fb 0e11834 273a5fb 0e11834 273a5fb 0e11834 273a5fb 0e11834 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
/* Вертикальная схема стилей */
.flowchart-container {
display: flex;
justify-content: center;
padding: 2rem 0;
}
.flowchart {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
.node {
width: 180px;
padding: 0.75rem;
border-radius: 8px;
text-align: center;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
color: white;
position: relative;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.node:hover {
transform: scale(1.05);
}
.connector {
height: 30px;
width: 2px;
background: #4a5568;
margin: 0 auto;
position: relative;
}
.connector::after {
content: '';
position: absolute;
bottom: 0;
left: -4px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 10px solid #4a5568;
}
.branch {
display: flex;
gap: 2rem;
}
.branch-connector {
position: relative;
}
.branch-connector::before {
content: '';
position: absolute;
top: 0;
left: 50%;
width: 2px;
height: 15px;
background: #4a5568;
}
.decision-point {
border: 2px dashed white;
}
@media (max-width: 768px) {
.node {
width: 140px;
font-size: 0.8rem;
}
.branch {
flex-direction: column;
gap: 1rem;
}
.branch-connector::before {
height: 1px;
width: 100%;
left: 0;
top: 50%;
}
}
|