Skip to content

Commit 590b725

Browse files
authored
drop beam from index page to avoid design conflict with JB (#14)
1 parent e7647ef commit 590b725

File tree

2 files changed

+10
-47
lines changed

2 files changed

+10
-47
lines changed

docs/css/index.css

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,17 +323,18 @@ footer .footer__copyright a, footer .footer__copyright a:hover {
323323
}
324324

325325
.first-page {
326-
min-height: max(100vh + 50px, 700px);
326+
min-height: 560px;
327327
box-sizing: border-box;
328328
font-size: 1.75em;
329329
text-align: center;
330-
color: #19191C;
330+
color: #fff;
331+
background-color: #6059f7;
331332
margin-top: -56px;
332333
position: relative;
333334
}
334335

335336
.first-page .first-page__inner {
336-
padding-top: 140px;
337+
padding-top: 120px;
337338
max-width: 924px;
338339
margin-right: auto;
339340
margin-left: auto;
@@ -350,7 +351,7 @@ footer .footer__copyright a, footer .footer__copyright a:hover {
350351
}
351352

352353
.first-page .first-page__vk_logo {
353-
margin-top: 90px;
354+
margin-top: 30px;
354355
font-size: 0;
355356
vertical-align: top;
356357
}
@@ -398,12 +399,12 @@ footer .footer__copyright a, footer .footer__copyright a:hover {
398399
}
399400

400401
.first-page .first-page__download-button {
401-
color: #fff;
402+
color: #19191C;
402403
display: inline-block;
403404
line-height: 48px;
404405
font-size: 12pt;
405406
font-weight: 300;
406-
background: rgb(39, 40, 44);
407+
background: #fff;
407408
padding: 0 40px;
408409
border-radius: 24px;
409410
margin-bottom: 20px;
@@ -417,7 +418,7 @@ footer .footer__copyright a, footer .footer__copyright a:hover {
417418
}
418419

419420
.first-page .first-page__download-button:hover {
420-
background-color: rgba(59, 62, 67, 0.7);
421+
background-color: rgba(255, 255, 255, 0.7);
421422
}
422423

423424
.chapter {

docs/index.html

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -42,57 +42,19 @@
4242
</div>
4343
</header>
4444

45-
<div class="c-beam">
46-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1313 1156" id="beam">
47-
<defs>
48-
<linearGradient x1="43.164%" y1="98.551%" x2="56.703%" y2="13.241%" id="beam-1_a">
49-
<stop stop-color="#FF6C93" offset="0%"></stop>
50-
<stop stop-color="#FF438B" offset="100%"></stop>
51-
</linearGradient>
52-
<linearGradient x1="44.733%" y1="13.063%" x2="57.576%" y2="87.809%" id="beam-1_b">
53-
<stop stop-color="#FF318C" offset="0%"></stop>
54-
<stop stop-color="#FF438B" offset="100%"></stop>
55-
</linearGradient>
56-
<linearGradient x1="10.542%" y1="44.612%" x2="82.212%" y2="56.679%" id="beam-1_c">
57-
<stop stop-color="#FF318C" offset="0%"></stop>
58-
<stop stop-color="#765AF8" offset="100%"></stop>
59-
</linearGradient>
60-
<linearGradient x1="7.476%" y1="49.697%" x2="91.046%" y2="50.357%" id="beam-1_d">
61-
<stop stop-color="#B345F1" offset="0%"></stop>
62-
<stop stop-color="#765AF8" offset="100%"></stop>
63-
</linearGradient>
64-
<linearGradient x1="7.447%" y1="51.203%" x2="82.257%" y2="46.892%" id="beam-1_e">
65-
<stop stop-color="#B345F1" offset="0%"></stop>
66-
<stop stop-color="#F445F1" offset="100%"></stop>
67-
</linearGradient>
68-
</defs>
69-
<g fill-rule="nonzero" fill="none">
70-
<path fill="url(#beam-1_a)" d="M692.8 1200H740l147.5-252.4-45.4-30.8z"
71-
transform="translate(0 -44)"></path>
72-
<path fill="url(#beam-1_b)" d="M550 554.5l282 468.4 55.5-75.3-267.4-456.9-91.2-21.6z"
73-
transform="translate(0 -44)"></path>
74-
<path fill="url(#beam-1_c)" d="M1167.9 728.9l-96.3 189.4-474-290.6-47.6-73.2-21.1-85.4 91.2 21.6z"
75-
transform="translate(0 -44)"></path>
76-
<path fill="url(#beam-1_d)" d="M0 520l54.1 188.6 1017.5 209.7 96.3-189.4z"
77-
transform="translate(0 -44)"></path>
78-
<path fill="url(#beam-1_e)" d="M740 0h661v231.2L54.1 708.6 0 520z" transform="translate(0 -44)"></path>
79-
</g>
80-
</svg>
81-
</div>
82-
8345
<div class="first-page">
8446

8547
<div class="first-page__inner">
8648
<h1 class="first-page__title">
8749
<span>Mod</span><span style="margin-left: -3px;">ulite</span>
8850
</h1>
89-
<p class="first-page__description">Честная модульность внутри PHP</p>
51+
<p class="first-page__description">Честные модули внутри PHP</p>
9052
<div class="first-page__download-block">
9153
<a href="install.html" class="first-page__download-button">Установить</a>
9254
</div>
9355
<div class="first-page__vk_logo">
9456
<svg fill="none" height="48" viewBox="0 0 48 48" width="48" xmlns="http://www.w3.org/2000/svg">
95-
<path clip-rule="evenodd" fill-rule="evenodd" fill="#000"
57+
<path clip-rule="evenodd" fill-rule="evenodd" fill="#fff"
9658
d="m3.37413 3.37413c-3.37413 3.37413-3.37413 8.80467-3.37413 19.66587v1.92c0 10.8612 0 16.2917 3.37413 19.6659 3.37413 3.3741 8.80467 3.3741 19.66587 3.3741h1.92c10.8612 0 16.2917 0 19.6659-3.3741 3.3741-3.3742 3.3741-8.8047 3.3741-19.6659v-1.92c0-10.8612 0-16.29174-3.3741-19.66587-3.3742-3.37413-8.8047-3.37413-19.6659-3.37413h-1.92c-10.8612 0-16.29174 0-19.66587 3.37413zm4.72587 11.22607c.26 12.48 6.4999 19.9799 17.4399 19.9799h.6202v-7.14c4.02.4 7.0597 3.34 8.2797 7.14h5.6802c-1.56-5.68-5.6602-8.82-8.2202-10.02 2.56-1.48 6.16-5.0799 7.02-9.9599h-5.1601c-1.12 3.96-4.4396 7.5599-7.5996 7.8999v-7.8999h-5.1602v13.8399c-3.2-.8-7.2399-4.6799-7.4199-13.8399z"/>
9759
</svg>
9860
</div>

0 commit comments

Comments
 (0)