Skip to content

Commit 2e8f12f

Browse files
committed
add theme
1 parent a6bf81f commit 2e8f12f

File tree

5 files changed

+9
-22
lines changed

5 files changed

+9
-22
lines changed

public/static/img/theme2.jpg

-108 KB
Loading

public/static/img/theme3.jpg

380 KB
Loading

public/static/img/theme4.jpg

-474 KB
Binary file not shown.

src/assets/css/themes.styl

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,26 @@ $t2-base-color = #fe7c01;
33
$t3-base-color = #6e7786;
44

55
.theme1 {
6-
width: 92%;
7-
background-color: #fff;
6+
width: 90%;
7+
background: #fff;
88
margin: 0 auto 20px auto;
99
padding: 10px 0;
10+
overflow: hidden;
1011
}
1112

1213
.theme2 {
13-
width: 92%;
14-
background-color: #fff;
14+
width: 90%;
15+
background: #fff;
1516
margin: 0 auto 20px auto;
1617
padding: 10px 0;
18+
overflow: hidden;
1719
}
1820

1921
.theme3 {
20-
width: 92%;
21-
background-color: #fff;
22-
margin: 0 auto 20px auto;
23-
padding: 10px 0;
24-
}
25-
26-
.theme4 {
2722
position: relative;
2823
width: 92%;
2924
background-color: #fff;
30-
margin: -50px auto 20px auto;
25+
margin: 0 auto 20px auto;
3126
padding: 10px 0;
3227
box-shadow: 5px 5px 10px 0 rgba(116, 116, 116, 0.6), -5px 5px 10px 0 rgba(116, 116, 116, 0.6);
3328
}

src/assets/json/page-config.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,14 @@
1818
"value": "theme2",
1919
"name": "主题2",
2020
"banner": "static/img/theme2.jpg",
21-
"background": "#fe7c01",
22-
"contentWidth": "90%",
21+
"background": "#707988",
22+
"contentWidth": "80%",
2323
"borderRadius": true
2424
},
2525
{
2626
"value": "theme3",
2727
"name": "主题3",
2828
"banner": "static/img/theme3.jpg",
29-
"background": "#707988",
30-
"contentWidth": "80%",
31-
"borderRadius": true
32-
},
33-
{
34-
"value": "theme4",
35-
"name": "主题4",
36-
"banner": "static/img/theme4.jpg",
3729
"background": "#ffffff",
3830
"contentWidth": "90%",
3931
"borderRadius": true

0 commit comments

Comments
 (0)