Skip to content

Commit 1a47ae4

Browse files
committed
фиксы
1 parent 608dc5b commit 1a47ae4

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

assets/css/style.css

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,6 +1658,15 @@ main {
16581658
text-decoration: underline;
16591659
}
16601660

1661+
1662+
.platforms-grid {
1663+
display: grid;
1664+
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
1665+
gap: 2rem;
1666+
max-width: 1200px;
1667+
margin: 2rem auto;
1668+
}
1669+
16611670
/* Mobile Responsive Styles */
16621671

16631672
/* Tablet Breakpoint */
@@ -2017,6 +2026,12 @@ main {
20172026
.outro ol {
20182027
padding-left: 1rem;
20192028
}
2029+
2030+
.platforms-grid {
2031+
grid-template-columns: 1fr;
2032+
gap: 1.5rem;
2033+
margin: 1.5rem auto;
2034+
}
20202035
}
20212036

20222037
/* Small Mobile Breakpoint */
@@ -2568,7 +2583,6 @@ main {
25682583
border: 1px solid var(--border-color);
25692584
border-radius: var(--border-radius);
25702585
padding: 0;
2571-
margin-bottom: 2rem;
25722586
box-shadow: var(--shadow-md);
25732587
transition: var(--transition);
25742588
overflow: hidden;
@@ -2771,23 +2785,6 @@ main {
27712785
box-shadow: var(--shadow-md);
27722786
}
27732787

2774-
.platform-section {
2775-
background: var(--bg-card);
2776-
border: 1px solid var(--border-color);
2777-
border-radius: 8px;
2778-
padding: 0;
2779-
margin-bottom: 1.5rem;
2780-
box-shadow: var(--shadow-sm);
2781-
transition: var(--transition);
2782-
overflow: hidden;
2783-
}
2784-
2785-
.platform-section:hover {
2786-
transform: translateY(-2px);
2787-
box-shadow: var(--shadow-md);
2788-
border-color: var(--primary-color);
2789-
}
2790-
27912788
.platform-header {
27922789
padding: 1rem 1.5rem;
27932790
background: var(--bg-secondary);

download.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ OS Engine — это общее название для платформ с от
2222

2323
## Популярные платформы OS Engine
2424

25+
<div class="platforms-grid">
2526
{% for project in site.data.projects %}
2627
<div class="platform-section">
2728
<div class="platform-header">
@@ -79,6 +80,7 @@ OS Engine — это общее название для платформ с от
7980
</div>
8081
</div>
8182
{% endfor %}
83+
</div>
8284

8385
## Как выбрать платформу
8486

0 commit comments

Comments
 (0)