mirror of
https://github.com/EDeev/mospoly-helper.git
synced 2026-06-15 19:11:11 +03:00
525 lines
No EOL
9.4 KiB
CSS
525 lines
No EOL
9.4 KiB
CSS
/* Database Structure */
|
||
.database-structure {
|
||
padding: 5rem 0;
|
||
background-color: var(--bg-secondary);
|
||
}
|
||
|
||
.database-tables {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 2rem;
|
||
margin: 3rem 0;
|
||
}
|
||
|
||
.table-card {
|
||
background-color: var(--bg-color);
|
||
border-radius: var(--border-radius-lg);
|
||
padding: 1.75rem;
|
||
box-shadow: var(--shadow-md);
|
||
transition: transform var(--transition-normal);
|
||
}
|
||
|
||
.table-card:hover {
|
||
transform: translateY(-5px);
|
||
}
|
||
|
||
.table-card h3 {
|
||
font-size: 1.1rem;
|
||
color: var(--primary-color);
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.table-card p {
|
||
font-size: 0.95rem;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.database-features {
|
||
background-color: var(--bg-color);
|
||
border-radius: var(--border-radius-lg);
|
||
padding: 2rem;
|
||
box-shadow: var(--shadow-md);
|
||
margin-bottom: 3rem;
|
||
}
|
||
|
||
.database-features h3 {
|
||
font-size: 1.25rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.database-features ul {
|
||
list-style-type: none;
|
||
padding: 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
|
||
.database-features li {
|
||
position: relative;
|
||
padding-left: 1.75rem;
|
||
font-size: 0.95rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.database-features li::before {
|
||
content: '✓';
|
||
position: absolute;
|
||
left: 0;
|
||
color: var(--accent-color);
|
||
font-weight: bold;
|
||
}
|
||
|
||
.database-diagram {
|
||
max-width: 900px;
|
||
margin: 0 auto;
|
||
border-radius: var(--border-radius-lg);
|
||
overflow: hidden;
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
.database-diagram img {
|
||
width: 100%;
|
||
height: auto;
|
||
display: block;
|
||
}
|
||
|
||
.image-caption {
|
||
display: block;
|
||
padding: 0.75rem;
|
||
text-align: center;
|
||
background-color: var(--bg-tertiary);
|
||
color: var(--text-tertiary);
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.database-features ul {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}/* Стили для страницы О проекте */
|
||
|
||
/* Page Hero */
|
||
.page-hero {
|
||
padding: 8rem 0 4rem;
|
||
background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f7ff 100%);
|
||
text-align: center;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.page-hero::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-image: url('../images/pattern.svg');
|
||
background-size: cover;
|
||
opacity: 0.1;
|
||
z-index: 1;
|
||
}
|
||
|
||
.page-hero .container {
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.page-subtitle {
|
||
font-size: 1.25rem;
|
||
color: var(--text-secondary);
|
||
max-width: 700px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
/* About Intro */
|
||
.about-intro {
|
||
padding: 5rem 0;
|
||
}
|
||
|
||
.about-content {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4rem;
|
||
}
|
||
|
||
.about-text {
|
||
flex: 1;
|
||
}
|
||
|
||
.about-text p {
|
||
font-size: 1.125rem;
|
||
color: var(--text-secondary);
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.about-image {
|
||
flex: 1;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.about-image img {
|
||
max-width: 100%;
|
||
height: auto;
|
||
border-radius: var(--border-radius-lg);
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
/* Accessibility Info */
|
||
.accessibility-info {
|
||
padding: 5rem 0;
|
||
background-color: var(--bg-secondary);
|
||
}
|
||
|
||
.info-blocks {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 2rem;
|
||
margin-top: 3rem;
|
||
}
|
||
|
||
.info-block {
|
||
background-color: var(--bg-color);
|
||
border-radius: var(--border-radius-lg);
|
||
padding: 2rem;
|
||
box-shadow: var(--shadow-md);
|
||
transition: transform var(--transition-normal);
|
||
}
|
||
|
||
.info-block:hover {
|
||
transform: translateY(-5px);
|
||
}
|
||
|
||
.info-icon {
|
||
width: 64px;
|
||
height: 64px;
|
||
background-color: var(--secondary-color);
|
||
border-radius: 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.info-icon img {
|
||
width: 32px;
|
||
height: 32px;
|
||
}
|
||
|
||
.info-block h3 {
|
||
margin-bottom: 1rem;
|
||
font-size: 1.25rem;
|
||
}
|
||
|
||
.info-block p {
|
||
color: var(--text-secondary);
|
||
font-size: 1rem;
|
||
}
|
||
|
||
/* Project Goals */
|
||
.project-goals {
|
||
padding: 5rem 0;
|
||
}
|
||
|
||
.goals-content {
|
||
display: flex;
|
||
gap: 4rem;
|
||
margin-top: 3rem;
|
||
}
|
||
|
||
.goal-main, .goals-list {
|
||
flex: 1;
|
||
}
|
||
|
||
.goal-main {
|
||
background-color: var(--bg-secondary);
|
||
border-radius: var(--border-radius-lg);
|
||
padding: 2.5rem;
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.goal-main h3 {
|
||
color: var(--primary-color);
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.goal-main p {
|
||
font-size: 1.125rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.goals-list h3 {
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.goals-list ul {
|
||
list-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
.goals-list li {
|
||
position: relative;
|
||
padding-left: 2rem;
|
||
margin-bottom: 1rem;
|
||
font-size: 1.05rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.goals-list li::before {
|
||
content: '✓';
|
||
position: absolute;
|
||
left: 0;
|
||
color: var(--accent-color);
|
||
font-weight: bold;
|
||
}
|
||
|
||
/* Project Architecture */
|
||
.project-architecture {
|
||
padding: 5rem 0;
|
||
background-color: var(--bg-secondary);
|
||
}
|
||
|
||
.section-intro {
|
||
font-size: 1.125rem;
|
||
color: var(--text-secondary);
|
||
max-width: 800px;
|
||
margin: 0 auto 3rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.architecture-diagram {
|
||
max-width: 900px;
|
||
margin: 0 auto 4rem;
|
||
border-radius: var(--border-radius-lg);
|
||
overflow: hidden;
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
.architecture-description {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 2rem;
|
||
}
|
||
|
||
.arch-component {
|
||
background-color: var(--bg-color);
|
||
border-radius: var(--border-radius-md);
|
||
padding: 1.5rem;
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.arch-component h3 {
|
||
color: var(--primary-color);
|
||
font-size: 1.1rem;
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.arch-component p {
|
||
color: var(--text-secondary);
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
/* Unique Features */
|
||
.unique-features {
|
||
padding: 5rem 0;
|
||
}
|
||
|
||
.features-comparison {
|
||
max-width: 800px;
|
||
margin: 3rem auto;
|
||
}
|
||
|
||
.features-table {
|
||
width: 100%;
|
||
border-radius: var(--border-radius-lg);
|
||
overflow: hidden;
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.table-row {
|
||
display: flex;
|
||
}
|
||
|
||
.table-row:nth-child(odd) {
|
||
background-color: var(--bg-color);
|
||
}
|
||
|
||
.table-row:nth-child(even) {
|
||
background-color: var(--bg-secondary);
|
||
}
|
||
|
||
.table-header {
|
||
background-color: var(--primary-color) !important;
|
||
color: white;
|
||
font-weight: var(--font-weight-bold);
|
||
}
|
||
|
||
.table-cell {
|
||
flex: 1;
|
||
padding: 1rem 1.5rem;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.feature-name {
|
||
justify-content: flex-start;
|
||
font-weight: var(--font-weight-medium);
|
||
}
|
||
|
||
.check {
|
||
color: var(--accent-color);
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.cross {
|
||
color: #e11d48;
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.partial {
|
||
color: #f59e0b;
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.features-note {
|
||
max-width: 800px;
|
||
margin: 2rem auto 0;
|
||
text-align: center;
|
||
color: var(--text-secondary);
|
||
font-size: 1rem;
|
||
}
|
||
|
||
/* Practical Significance */
|
||
.practical-significance {
|
||
padding: 5rem 0;
|
||
background-color: var(--bg-secondary);
|
||
}
|
||
|
||
.significance-points {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 2rem;
|
||
margin-top: 3rem;
|
||
}
|
||
|
||
.point-card {
|
||
background-color: var(--bg-color);
|
||
border-radius: var(--border-radius-lg);
|
||
padding: 2rem;
|
||
box-shadow: var(--shadow-md);
|
||
display: flex;
|
||
flex-direction: column;
|
||
height: 100%;
|
||
}
|
||
|
||
.point-icon {
|
||
width: 64px;
|
||
height: 64px;
|
||
background-color: var(--secondary-color);
|
||
border-radius: 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.point-icon img {
|
||
width: 32px;
|
||
height: 32px;
|
||
}
|
||
|
||
.point-card h3 {
|
||
font-size: 1.1rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.point-card p {
|
||
font-size: 0.95rem;
|
||
color: var(--text-secondary);
|
||
flex-grow: 1;
|
||
}
|
||
|
||
/* Responsive Styles */
|
||
@media (max-width: 1024px) {
|
||
.about-content {
|
||
gap: 3rem;
|
||
}
|
||
|
||
.goals-content {
|
||
gap: 3rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.about-content {
|
||
flex-direction: column-reverse;
|
||
}
|
||
|
||
.about-image {
|
||
margin-bottom: 2rem;
|
||
}
|
||
|
||
.goals-content {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.table-row {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.table-header {
|
||
display: none;
|
||
}
|
||
|
||
.table-cell {
|
||
padding: 0.75rem;
|
||
}
|
||
|
||
.feature-name {
|
||
background-color: var(--primary-light);
|
||
color: white;
|
||
padding: 0.75rem;
|
||
font-weight: var(--font-weight-medium);
|
||
border-top-left-radius: var(--border-radius-sm);
|
||
border-top-right-radius: var(--border-radius-sm);
|
||
}
|
||
|
||
.table-cell:not(.feature-name) {
|
||
border-bottom: 1px solid var(--bg-tertiary);
|
||
}
|
||
|
||
.table-cell:nth-child(2)::before {
|
||
content: 'EasyAccess: ';
|
||
margin-right: 0.5rem;
|
||
font-weight: var(--font-weight-medium);
|
||
}
|
||
|
||
.table-cell:nth-child(3)::before {
|
||
content: 'Другие решения: ';
|
||
margin-right: 0.5rem;
|
||
font-weight: var(--font-weight-medium);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 576px) {
|
||
.page-hero {
|
||
padding: 6rem 0 3rem;
|
||
}
|
||
|
||
.page-subtitle {
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
.info-blocks, .architecture-description, .significance-points {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.goal-main, .goals-list {
|
||
padding: 1.5rem;
|
||
}
|
||
} |