Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
pcb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d146138f
authored
Jan 20, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
11
parent
04784142
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
46 deletions
css/common/base.css
css/common/base.less
css/home/home.css
css/home/home.less
index.html
css/common/base.css
View file @
d146138f
...
@@ -159,6 +159,20 @@ html,
...
@@ -159,6 +159,20 @@ html,
body
{
body
{
width
:
100%
;
width
:
100%
;
}
}
.width-1180
{
width
:
1180px
;
margin
:
0
auto
;
}
.ellipsis
{
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
-icab-text-overflow
:
ellipsis
;
-khtml-text-overflow
:
ellipsis
;
-moz-text-overflow
:
ellipsis
;
-webkit-text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.common-header
{
.common-header
{
height
:
90px
;
height
:
90px
;
}
}
...
@@ -331,10 +345,6 @@ body {
...
@@ -331,10 +345,6 @@ body {
}
}
.common-footer
{
.common-footer
{
height
:
342px
;
height
:
342px
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
right
:
0
;
}
}
.common-footer
.footer-top
{
.common-footer
.footer-top
{
height
:
244px
;
height
:
244px
;
...
...
css/common/base.less
View file @
d146138f
...
@@ -134,6 +134,21 @@ html, body {
...
@@ -134,6 +134,21 @@ html, body {
body {
body {
// overflow: hidden;
// overflow: hidden;
}
}
.width-1180 {
width: 1180px;
margin: 0 auto;
}
.ellipsis {
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-icab-text-overflow: ellipsis;
-khtml-text-overflow: ellipsis;
-moz-text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.common-header{
.common-header{
height: 90px;
height: 90px;
&.common-header-b{
&.common-header-b{
...
@@ -319,10 +334,6 @@ body {
...
@@ -319,10 +334,6 @@ body {
}
}
.common-footer {
.common-footer {
height: 342px;
height: 342px;
position: absolute;
bottom: 0;
left:0;
right:0;
.footer-top {
.footer-top {
height: 244px;
height: 244px;
...
...
css/home/home.css
View file @
d146138f
...
@@ -159,6 +159,20 @@ html,
...
@@ -159,6 +159,20 @@ html,
body
{
body
{
width
:
100%
;
width
:
100%
;
}
}
.width-1180
{
width
:
1180px
;
margin
:
0
auto
;
}
.ellipsis
{
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
-icab-text-overflow
:
ellipsis
;
-khtml-text-overflow
:
ellipsis
;
-moz-text-overflow
:
ellipsis
;
-webkit-text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.common-header
{
.common-header
{
height
:
90px
;
height
:
90px
;
}
}
...
@@ -331,10 +345,6 @@ body {
...
@@ -331,10 +345,6 @@ body {
}
}
.common-footer
{
.common-footer
{
height
:
342px
;
height
:
342px
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
right
:
0
;
}
}
.common-footer
.footer-top
{
.common-footer
.footer-top
{
height
:
244px
;
height
:
244px
;
...
@@ -511,24 +521,8 @@ body {
...
@@ -511,24 +521,8 @@ body {
.iconzhuanshi
:before
{
.iconzhuanshi
:before
{
content
:
"\e622"
;
content
:
"\e622"
;
}
}
.width-1180
{
width
:
1180px
;
margin
:
0
auto
;
}
.ellipsis
{
text-overflow
:
ellipsis
;
-o-text-overflow
:
ellipsis
;
-icab-text-overflow
:
ellipsis
;
-khtml-text-overflow
:
ellipsis
;
-moz-text-overflow
:
ellipsis
;
-webkit-text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.home
{
.home
{
min-width
:
1180px
;
min-width
:
1180px
;
position
:
relative
;
padding-bottom
:
342px
;
}
}
.home
.pre-div
,
.home
.pre-div
,
.home
.next-div
{
.home
.next-div
{
...
@@ -622,6 +616,16 @@ body {
...
@@ -622,6 +616,16 @@ body {
width
:
167px
;
width
:
167px
;
height
:
151px
;
height
:
151px
;
background-color
:
#E89721
;
background-color
:
#E89721
;
color
:
#fff
;
text-align
:
center
;
cursor
:
pointer
;
}
.home
.home-header
.width-1180
.header-form
.header-form-content
.header-form-content-r
div
{
font-size
:
40px
;
padding
:
32px
0
17px
;
}
.home
.home-header
.width-1180
.header-form
.header-form-content
.header-form-content-r
p
{
font-size
:
16px
;
}
}
.home
.home-custom-desc
.width-1180
{
.home
.home-custom-desc
.width-1180
{
padding
:
36px
0
;
padding
:
36px
0
;
...
...
css/home/home.less
View file @
d146138f
@import '../common/base.less';
@import '../common/base.less';
@import '../common/font/iconfont.less';
@import '../common/font/iconfont.less';
.width-1180 {
width: 1180px;
margin: 0 auto;
}
.ellipsis {
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-icab-text-overflow: ellipsis;
-khtml-text-overflow: ellipsis;
-moz-text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.home {
.home {
// width: 100%;
// width: 100%;
min-width: 1180px;
min-width: 1180px;
position: relative;
padding-bottom: 342px;
.pre-div,
.pre-div,
.next-div {
.next-div {
position: absolute;
position: absolute;
...
@@ -132,6 +115,16 @@
...
@@ -132,6 +115,16 @@
width: 167px;
width: 167px;
height: 151px;
height: 151px;
background-color:#E89721 ;
background-color:#E89721 ;
color:#fff;
text-align: center;
cursor: pointer;
div{
font-size: 40px;
padding:32px 0 17px;
}
p{
font-size: 16px;
}
}
}
}
}
}
}
...
...
index.html
View file @
d146138f
...
@@ -87,7 +87,10 @@
...
@@ -87,7 +87,10 @@
</div>
</div>
<div
class=
"header-form-content clr"
>
<div
class=
"header-form-content clr"
>
<div
class=
"header-form-content-l fl"
></div>
<div
class=
"header-form-content-l fl"
></div>
<div
class=
"header-form-content-r fr"
></div>
<div
class=
"header-form-content-r fr"
>
<div
class=
"iconfont iconjisuanqi"
></div>
<p>
Quote now
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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