Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
www.fudou6.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liaili
www.fudou6.com
Commits
d6bf883b
Commit
d6bf883b
authored
Jul 30, 2016
by
superman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'express' of gitlab.yanky.cn:liaili/www.fudou6.com into express
parents
38c1ab87
5374abec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
14 deletions
+101
-14
index.css
public/stylesheets/index.css
+43
-7
index.less
public/stylesheets/index.less
+58
-7
No files found.
public/stylesheets/index.css
View file @
d6bf883b
...
...
@@ -6,7 +6,6 @@
padding-bottom
:
160px
;
}
.banner
.banner-box
{
width
:
1150px
;
margin
:
0
auto
;
color
:
#fff
;
}
...
...
@@ -26,7 +25,6 @@
.download
{
position
:
relative
;
padding-top
:
400px
;
width
:
1150px
;
margin
:
0
auto
;
}
.download
.android
,
...
...
@@ -94,8 +92,20 @@
}
/*download end*/
/*character begin*/
@keyframes
stretch-delay
{
0
%,
50
%,
100
%
{
transform
:
scale
(
0
);
opacity
:
0
;
}
5
%,
45
%
{
transform
:
scale
(
1
);
opacity
:
1
;
}
}
.character
ul
{
width
:
1150px
;
margin
:
80px
auto
;
}
.character
ul
li
{
...
...
@@ -111,6 +121,12 @@
left
:
0
;
width
:
100%
;
height
:
100%
;
transform
:
scale
(
0
);
opacity
:
0
;
animation-name
:
stretch-delay
;
animation-duration
:
10s
;
animation-iteration-count
:
infinite
;
animation-fill-mode
:
forwards
;
}
.character
ul
li
>
div
:first-child
h3
{
margin-top
:
50px
;
...
...
@@ -131,6 +147,30 @@
.character
ul
li
>
div
:last-child
h4
{
font-size
:
14px
;
}
.character
ul
li
:nth-child
(
1
)
>
div
:first-child
{
animation-delay
:
0s
;
}
.character
ul
li
:nth-child
(
1
)
>
div
:last-child
{
animation-delay
:
5s
;
}
.character
ul
li
:nth-child
(
2
)
>
div
:first-child
{
animation-delay
:
.25s
;
}
.character
ul
li
:nth-child
(
2
)
>
div
:last-child
{
animation-delay
:
5.25s
;
}
.character
ul
li
:nth-child
(
3
)
>
div
:first-child
{
animation-delay
:
.5s
;
}
.character
ul
li
:nth-child
(
3
)
>
div
:last-child
{
animation-delay
:
5.5s
;
}
.character
ul
li
:nth-child
(
4
)
>
div
:first-child
{
animation-delay
:
.75s
;
}
.character
ul
li
:nth-child
(
4
)
>
div
:last-child
{
animation-delay
:
5.75s
;
}
/* character end */
/* projects begin */
.projects
{
...
...
@@ -147,8 +187,6 @@
}
.projects
>
header
>
div
:first-child
>
div
{
position
:
relative
;
width
:
337.5px
;
margin-right
:
237.5px
;
float
:
right
;
height
:
300px
;
}
...
...
@@ -167,8 +205,6 @@
}
.projects
>
header
>
div
:last-child
>
div
{
position
:
relative
;
width
:
812.5px
;
margin-left
:
-237.5px
;
background-color
:
#2e2e2e
;
height
:
300px
;
}
...
...
public/stylesheets/index.less
View file @
d6bf883b
...
...
@@ -7,7 +7,6 @@
padding-top: 120px;
padding-bottom: 160px;
.banner-box {
width: @container-width;
margin: 0 auto;
color: #fff;
h1 {
...
...
@@ -29,7 +28,6 @@
.download {
position: relative;
padding-top: 400px;
width: @container-width;
margin: 0 auto;
.android,
.iphone {
...
...
@@ -100,9 +98,18 @@
/*download end*/
/*character begin*/
@keyframes stretch-delay {
0%, 50%, 100% {
transform: scale(0);
opacity:0;
}
5%, 45% {
transform: scale(1);
opacity:1;
}
}
.character {
ul {
width: @container-width;
margin: 80px auto;
li {
float: left;
...
...
@@ -116,6 +123,12 @@
left: 0;
width: 100%;
height: 100%;
transform: scale(0);
opacity: 0;
animation-name: stretch-delay;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-fill-mode: forwards;
&:first-child {
h3 {
margin-top: 50px;
...
...
@@ -126,6 +139,7 @@
font-size: 16px;
color: #888;
}
}
&:last-child {
img {
...
...
@@ -140,6 +154,46 @@
}
}
}
&:nth-child(1){
& > div{
&:first-child {
animation-delay: 0s;
}
&:last-child {
animation-delay: 5s;
}
}
}
&:nth-child(2){
& > div{
&:first-child {
animation-delay: .25s;
}
&:last-child {
animation-delay: 5.25s;
}
}
}
&:nth-child(3){
& > div{
&:first-child {
animation-delay: .5s;
}
&:last-child {
animation-delay: 5.5s;
}
}
}
&:nth-child(4){
& > div{
&:first-child {
animation-delay: .75s;
}
&:last-child {
animation-delay: 5.75s;
}
}
}
}
}
}
...
...
@@ -158,8 +212,6 @@
background-color: #111d2b;
& > div {
position: relative;
width: @container-width/4 + 50;
margin-right: @container-width/4 - 50;
float: right;
height: 300px;
.logo {
...
...
@@ -178,8 +230,6 @@
background-color: #2e2e2e;
& > div {
position: relative;
width: @container-width / 4 * 3 - 50;
margin-left: -@container-width/4 + 50;
background-color: #2e2e2e;
height: 300px;
}
...
...
@@ -455,6 +505,7 @@
}
}
}
}
body {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment