Skip to content

Commit 6bd5e48

Browse files
committed
adjust homepage style & delete extra image
1 parent ff0a264 commit 6bd5e48

30 files changed

+34
-11
lines changed

layouts/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h2 class="section-title">{{ .subtitle }}</h2>
1414

1515
<img class="section-img11 float float11" src="/assets/1-1.svg" alt="">
1616
<img class="section-img12 float float12" src="/assets/1-2.svg" alt="">
17-
<img class="section-img13 float float13"src="/assets/1-3.svg" alt="">
17+
<img class="section-img13"src="/assets/1-3.svg" alt="">
1818
</div>
1919

2020
<img class="section-img14" src="/assets/1-4.svg" alt="">

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1 class="logo">
2121
<a href="#">
2222
<img class="logo1" src="/assets/logo-new.svg" alt="openPitrix" />
23-
<img class="mobile-show logo2" src="/assets/logo2-new.svg" alt="openPitrix" />
23+
<img class="logo2" src="/assets/logo2-new.svg" alt="openPitrix" />
2424
</a>
2525
</h1>
2626
<button class="menu-btn mobile-show"></button>

static/assets/2-1.png

-3.92 KB
Binary file not shown.

static/assets/2-2.png

-2.42 KB
Binary file not shown.

static/assets/2-3.png

-4.18 KB
Binary file not shown.

static/assets/2-4.png

-1.65 KB
Binary file not shown.

static/assets/2-5.png

-4.53 KB
Binary file not shown.

static/assets/2-6.png

-99.7 KB
Binary file not shown.

static/assets/3-1.png

-17.5 KB
Binary file not shown.

static/assets/3-2.png

-24.5 KB
Binary file not shown.

static/assets/4-1.png

-247 KB
Binary file not shown.

static/assets/4-2.png

-234 KB
Binary file not shown.

static/assets/5-1.png

-314 KB
Binary file not shown.

static/assets/5-2.png

-280 KB
Binary file not shown.

static/assets/6-1.png

-7.67 KB
Binary file not shown.

static/assets/6-2.png

-418 Bytes
Binary file not shown.

static/assets/6-3.png

-13.5 KB
Binary file not shown.

static/assets/6-4.png

-8.93 KB
Binary file not shown.

static/assets/6-5.png

-101 KB
Binary file not shown.

static/assets/6-6.png

-19.2 KB
Binary file not shown.

static/assets/6-7.png

-19.8 KB
Binary file not shown.

static/assets/6-8.png

-19.5 KB
Binary file not shown.

static/assets/6-9.png

-24.6 KB
Binary file not shown.

static/assets/7-0.png

-39.1 KB
Binary file not shown.

static/assets/7-1.png

-780 KB
Binary file not shown.

static/assets/7-2.png

-9.49 KB
Binary file not shown.

static/assets/7-3.png

-3.79 KB
Binary file not shown.

static/css/common.css

+23-4
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,27 @@ body {
122122
top: 0;
123123
width: 100%;
124124
z-index: 1000;
125-
background-color: transparent;
126-
transition: background-color .2s ease-in-out;
125+
background: transparent;
126+
transition: background-image .2s ease-in-out;
127+
}
128+
.header .logo2 {
129+
display: none;
127130
}
128131
.header-fix {
129-
background-color: #fff;
132+
background: linear-gradient(to left, #794db3, #854fb9 32%, #484999);
133+
box-shadow: 0 4px 20px 0 rgba(119, 133, 146, 0.3), 0 2px 8px 0 rgba(62, 82, 101, 0.2);
134+
}
135+
.header.header-fix .logo1 {
136+
display: none;
130137
}
138+
.header.header-fix .logo2 {
139+
display: block;
140+
}
141+
.header.header-fix .menu li a {
142+
color: #fff;
143+
font-weight: 400;
144+
}
145+
131146
.menu-wrapper {
132147
float: right;
133148
}
@@ -147,13 +162,17 @@ body {
147162
text-align: left;
148163
text-decoration: none;
149164
transition: opacity .2s ease-in-out;
165+
outline: none;
150166
}
151167
.menu li a:hover {
152-
opacity: 0.8;
168+
opacity: 1;
153169
}
154170
.menu li a:active {
155171
opacity: 1;
156172
}
173+
.menu li a:focus {
174+
opacity: 1;
175+
}
157176

158177
/* footer */
159178
footer {

static/css/index.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,10 @@
505505
width: 58px;
506506
height: 58px;
507507
margin: 0 auto 44px;
508-
background: transparent url('/assets/8-1.svg') no-repeat center;
508+
background-color: transparent;
509+
background-image: url('/assets/8-1.svg');
510+
background-repeat: no-repeat;
511+
background-size: 100%;
509512
}
510513

511514
.eighth .section-case ul li:nth-child(2) i {

static/css/mobile_index.css

+5-4
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@
211211
display: block;
212212
line-height: 0.21rem;
213213
padding: 0.12rem 0.3rem;
214+
color: #300E56 !important;
214215
font-size: 0.18rem;
215-
font-weight: normal;
216+
font-weight: 400;
216217
opacity: 0.6;
217218
}
218219

@@ -424,7 +425,7 @@
424425
}
425426

426427
/* section.fifth */
427-
.main .fifth .container{
428+
.main .fifth .container {
428429
min-height: 3.04rem;
429430
padding: 0.2rem 0 5.2rem;
430431
}
@@ -433,8 +434,8 @@
433434
padding: 0 0.5rem;
434435
}
435436
.main .fifth .section-title-icon {
436-
top: -0.18rem;
437-
left: 0.5rem;
437+
top: -0.2rem;
438+
left: 0.1rem;
438439
width: 0.34rem;
439440
height: 0.34rem;
440441
}

0 commit comments

Comments
 (0)