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
4d43586f
Commit
4d43586f
authored
Jul 30, 2016
by
liaili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5
parent
cf4a4110
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 @
4d43586f
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
padding-bottom
:
160px
;
padding-bottom
:
160px
;
}
}
.banner
.banner-box
{
.banner
.banner-box
{
width
:
1150px
;
margin
:
0
auto
;
margin
:
0
auto
;
color
:
#fff
;
color
:
#fff
;
}
}
...
@@ -26,7 +25,6 @@
...
@@ -26,7 +25,6 @@
.download
{
.download
{
position
:
relative
;
position
:
relative
;
padding-top
:
400px
;
padding-top
:
400px
;
width
:
1150px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.download
.android
,
.download
.android
,
...
@@ -84,8 +82,20 @@
...
@@ -84,8 +82,20 @@
}
}
/*download end*/
/*download end*/
/*character begin*/
/*character begin*/
@keyframes
stretch-delay
{
0
%,
50
%,
100
%
{
transform
:
scale
(
0
);
opacity
:
0
;
}
5
%,
45
%
{
transform
:
scale
(
1
);
opacity
:
1
;
}
}
.character
ul
{
.character
ul
{
width
:
1150px
;
margin
:
80px
auto
;
margin
:
80px
auto
;
}
}
.character
ul
li
{
.character
ul
li
{
...
@@ -101,6 +111,12 @@
...
@@ -101,6 +111,12 @@
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
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
{
.character
ul
li
>
div
:first-child
h3
{
margin-top
:
50px
;
margin-top
:
50px
;
...
@@ -121,6 +137,30 @@
...
@@ -121,6 +137,30 @@
.character
ul
li
>
div
:last-child
h4
{
.character
ul
li
>
div
:last-child
h4
{
font-size
:
14px
;
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 */
/* character end */
/* projects begin */
/* projects begin */
.projects
{
.projects
{
...
@@ -137,8 +177,6 @@
...
@@ -137,8 +177,6 @@
}
}
.projects
>
header
>
div
:first-child
>
div
{
.projects
>
header
>
div
:first-child
>
div
{
position
:
relative
;
position
:
relative
;
width
:
337.5px
;
margin-right
:
237.5px
;
float
:
right
;
float
:
right
;
height
:
300px
;
height
:
300px
;
}
}
...
@@ -157,8 +195,6 @@
...
@@ -157,8 +195,6 @@
}
}
.projects
>
header
>
div
:last-child
>
div
{
.projects
>
header
>
div
:last-child
>
div
{
position
:
relative
;
position
:
relative
;
width
:
812.5px
;
margin-left
:
-237.5px
;
background-color
:
#2e2e2e
;
background-color
:
#2e2e2e
;
height
:
300px
;
height
:
300px
;
}
}
...
...
public/stylesheets/index.less
View file @
4d43586f
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
padding-top: 120px;
padding-top: 120px;
padding-bottom: 160px;
padding-bottom: 160px;
.banner-box {
.banner-box {
width: @container-width;
margin: 0 auto;
margin: 0 auto;
color: #fff;
color: #fff;
h1 {
h1 {
...
@@ -29,7 +28,6 @@
...
@@ -29,7 +28,6 @@
.download {
.download {
position: relative;
position: relative;
padding-top: 400px;
padding-top: 400px;
width: @container-width;
margin: 0 auto;
margin: 0 auto;
.android,
.android,
.iphone {
.iphone {
...
@@ -87,9 +85,18 @@
...
@@ -87,9 +85,18 @@
/*download end*/
/*download end*/
/*character begin*/
/*character begin*/
@keyframes stretch-delay {
0%, 50%, 100% {
transform: scale(0);
opacity:0;
}
5%, 45% {
transform: scale(1);
opacity:1;
}
}
.character {
.character {
ul {
ul {
width: @container-width;
margin: 80px auto;
margin: 80px auto;
li {
li {
float: left;
float: left;
...
@@ -103,6 +110,12 @@
...
@@ -103,6 +110,12 @@
left: 0;
left: 0;
width: 100%;
width: 100%;
height: 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 {
&:first-child {
h3 {
h3 {
margin-top: 50px;
margin-top: 50px;
...
@@ -113,6 +126,7 @@
...
@@ -113,6 +126,7 @@
font-size: 16px;
font-size: 16px;
color: #888;
color: #888;
}
}
}
}
&:last-child {
&:last-child {
img {
img {
...
@@ -127,6 +141,46 @@
...
@@ -127,6 +141,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;
}
}
}
}
}
}
}
}
}
...
@@ -145,8 +199,6 @@
...
@@ -145,8 +199,6 @@
background-color: #111d2b;
background-color: #111d2b;
& > div {
& > div {
position: relative;
position: relative;
width: @container-width/4 + 50;
margin-right: @container-width/4 - 50;
float: right;
float: right;
height: 300px;
height: 300px;
.logo {
.logo {
...
@@ -165,8 +217,6 @@
...
@@ -165,8 +217,6 @@
background-color: #2e2e2e;
background-color: #2e2e2e;
& > div {
& > div {
position: relative;
position: relative;
width: @container-width / 4 * 3 - 50;
margin-left: -@container-width/4 + 50;
background-color: #2e2e2e;
background-color: #2e2e2e;
height: 300px;
height: 300px;
}
}
...
@@ -435,6 +485,7 @@
...
@@ -435,6 +485,7 @@
}
}
}
}
}
}
}
}
body {
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