initial
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
/*!
|
||||
* 网站字体及icon
|
||||
* $CDN = hexo-config("CDN") || '//7xs305.com1.z0.glb.clouddn.com/'
|
||||
*/
|
||||
$CDN = hexo-config("CDN") || './fonts/'
|
||||
|
||||
@font-face
|
||||
font-family "HomizioNova"
|
||||
src url($CDN + 'homizio-nova/light.ttf'),url($CDN + 'homizio-nova/light.otf')
|
||||
font-weight normal
|
||||
font-style normal
|
||||
@font-face
|
||||
font-family "HomizioNova"
|
||||
src url($CDN + 'homizio-nova/light_italic.ttf'),url($CDN + 'homizio-nova/light_italic.otf')
|
||||
font-weight normal
|
||||
font-style italic
|
||||
@font-face
|
||||
font-family "HomizioNova"
|
||||
src url($CDN + 'homizio-nova/regular.ttf'),url($CDN + 'homizio-nova/regular.otf')
|
||||
font-weight bold
|
||||
font-style normal
|
||||
@font-face
|
||||
font-family "HomizioNova"
|
||||
src url($CDN + 'homizio-nova/italic.ttf'),url($CDN + 'homizio-nova/italic.otf')
|
||||
font-weight bold
|
||||
font-style italic
|
||||
@font-face
|
||||
font-family 'icomoon'
|
||||
src url($CDN + 'icomoon/icomoon.eot?e2xg5y'), url('./fonts/icomoon/icomoon.eot?e2xg5y')
|
||||
src url($CDN + 'icomoon/icomoon.eot?#iefixe2xg5y') format('embedded-opentype'),
|
||||
url($CDN + 'icomoon/icomoon.woff?e2xg5y') format('woff'),
|
||||
url($CDN + 'icomoon/icomoon.ttf?e2xg5y') format('truetype'),
|
||||
url($CDN + 'icomoon/icomoon.svg?e2xg5y#icomoon') format('svg'),
|
||||
url('./fonts/icomoon/icomoon.eot?#iefixe2xg5y') format('embedded-opentype'),
|
||||
url('./fonts/icomoon/icomoon.woff?e2xg5y') format('woff'),
|
||||
url('./fonts/icomoon/icomoon.ttf?e2xg5y') format('truetype'),
|
||||
url('./fonts/icomoon/icomoon.svg?e2xg5y#icomoon') format('svg')
|
||||
font-weight normal
|
||||
font-style normal
|
||||
[class^="icon-"],[class*=" icon-"]
|
||||
font-family 'icomoon'
|
||||
speak none
|
||||
font-style normal
|
||||
font-weight normal
|
||||
font-variant normal
|
||||
text-transform none
|
||||
line-height 1
|
||||
-webkit-font-smoothing antialiased
|
||||
-moz-osx-font-smoothing grayscale
|
||||
.icon-home:before
|
||||
content "\e900"
|
||||
.icon-office:before
|
||||
content "\e903"
|
||||
.icon-newspaper:before
|
||||
content "\e904"
|
||||
.icon-profile:before
|
||||
content "\e923"
|
||||
.icon-files-empty:before
|
||||
content "\e925"
|
||||
.icon-price-tags:before
|
||||
content "\e936"
|
||||
.icon-envelop:before
|
||||
content "\e945"
|
||||
.icon-bubble:before
|
||||
content "\e96b"
|
||||
.icon-comment:before
|
||||
content "\e96d"
|
||||
.icon-about:before
|
||||
content "\e976"
|
||||
.icon-cogs:before
|
||||
content "\e995"
|
||||
.icon-paragraph-justify:before
|
||||
content "\ea7a"
|
||||
.icon-lab:before
|
||||
content "\ea80"
|
||||
.icon-github:before
|
||||
content "\eab1"
|
||||
@@ -0,0 +1,51 @@
|
||||
/*!
|
||||
* 全局样式
|
||||
*/
|
||||
.container
|
||||
max-width 1180px
|
||||
_width 1180px
|
||||
background-color c-fff
|
||||
margin 0 auto 10px
|
||||
text-left()
|
||||
.home
|
||||
//margin-top 78px
|
||||
background-color c-eee
|
||||
.btn
|
||||
background-color #ff5e52
|
||||
border 0
|
||||
color c-fff
|
||||
opacity .8
|
||||
box-sizing border-box
|
||||
&:hover
|
||||
opacity .75
|
||||
.btn-ok
|
||||
background-color #ff5e52
|
||||
.btn-cancel
|
||||
background-color #51cc87
|
||||
.form-control
|
||||
box-sizing border-box
|
||||
|
||||
.browsehappy
|
||||
padding 8px 0
|
||||
background #fbe3e4
|
||||
color #8a1f11
|
||||
text-align center
|
||||
.loading-mask
|
||||
position fixed
|
||||
top 0
|
||||
right 0
|
||||
left 0
|
||||
bottom 0
|
||||
display block
|
||||
width 100%
|
||||
height 100%
|
||||
background-color rgb(255, 255, 255)
|
||||
opacity .8
|
||||
.loading-icon
|
||||
position relative
|
||||
top 50%
|
||||
left 50%
|
||||
width 50px
|
||||
height 50px
|
||||
margin-top -25px
|
||||
margin-left -25px
|
||||
@@ -0,0 +1,157 @@
|
||||
html
|
||||
font-family sans-serif
|
||||
-ms-text-size-adjust 100%
|
||||
-webkit-text-size-adjust 100%
|
||||
body
|
||||
margin: 0
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary
|
||||
display block
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video
|
||||
display inline-block
|
||||
vertical-align baseline
|
||||
|
||||
audio:not([controls])
|
||||
display none
|
||||
height 0
|
||||
[hidden],
|
||||
template
|
||||
display none
|
||||
a
|
||||
background-color transparent
|
||||
|
||||
a:active,
|
||||
a:hover
|
||||
outline: 0
|
||||
abbr[title]
|
||||
border-bottom 1px dotted
|
||||
|
||||
b,
|
||||
strong
|
||||
font-weight bold
|
||||
dfn
|
||||
font-style italic
|
||||
h1
|
||||
font-size 2em
|
||||
margin 0.67em 0
|
||||
|
||||
mark
|
||||
background #ff0
|
||||
color #000
|
||||
small
|
||||
font-size 80%
|
||||
sub,
|
||||
sup
|
||||
font-size 75%
|
||||
line-height 0
|
||||
position relative
|
||||
vertical-align baseline
|
||||
sup
|
||||
top -0.5em
|
||||
sub
|
||||
bottom -0.25em
|
||||
img
|
||||
border 0
|
||||
svg:not(:root)
|
||||
overflow hidden
|
||||
|
||||
figure
|
||||
margin 1em 40px
|
||||
|
||||
hr
|
||||
-moz-box-sizing content-box
|
||||
box-sizing content-box
|
||||
height 0
|
||||
pre
|
||||
overflow auto
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp
|
||||
font-family monospace, monospace
|
||||
font-size 1em
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea
|
||||
color inherit /* 1 */
|
||||
font inherit /* 2 */
|
||||
margin 0 /* 3 */
|
||||
|
||||
button
|
||||
overflow visible
|
||||
|
||||
button,
|
||||
select
|
||||
text-transform none
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"]
|
||||
-webkit-appearance button /* 2 */
|
||||
cursor pointer /* 3 */
|
||||
|
||||
button[disabled],
|
||||
html input[disabled]
|
||||
cursor default
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner
|
||||
border 0
|
||||
padding 0
|
||||
input
|
||||
line-height normal
|
||||
input[type="checkbox"],
|
||||
input[type="radio"]
|
||||
box-sizing border-box /* 1 */
|
||||
padding 0 /* 2 */
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button
|
||||
height auto
|
||||
|
||||
input[type="search"]
|
||||
-webkit-appearance textfield /* 1 */
|
||||
-moz-box-sizing content-box
|
||||
-webkit-box-sizing content-box /* 2 */
|
||||
box-sizing content-box
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration
|
||||
-webkit-appearance none
|
||||
|
||||
fieldset
|
||||
border 1px solid #c0c0c0
|
||||
margin 0 2px
|
||||
padding 0.35em 0.625em 0.75em
|
||||
legend
|
||||
border 0
|
||||
padding 0
|
||||
textarea
|
||||
overflow auto
|
||||
|
||||
optgroup
|
||||
font-weight: bold
|
||||
|
||||
table
|
||||
border-collapse collapse
|
||||
border-spacing 0
|
||||
td,
|
||||
th
|
||||
padding 0
|
||||
@@ -0,0 +1,48 @@
|
||||
/*!
|
||||
* Reset css
|
||||
*/
|
||||
::selection
|
||||
color c-fff
|
||||
background-color #f99
|
||||
opacity .8
|
||||
::-webkit-scrollbar
|
||||
width 7px
|
||||
height 4px
|
||||
::-webkit-scrollbar-thumb
|
||||
border-radius 4px
|
||||
background rgba(0, 0, 0, .15)
|
||||
::-webkit-scrollbar-track
|
||||
background rgba(0, 0, 0, .06)
|
||||
body
|
||||
font 14px/1.5 "Microsoft Yahei", "微软雅黑", Arial, "宋体"
|
||||
color c-666
|
||||
-webkit-overflow-scrolling touch // iOS下支持弹性滚动
|
||||
-webkit-font-smoothing antialiased // 优化字体渲染、让页面字体更精更清楚
|
||||
-webkit-text-size-adjust 100%
|
||||
-ms-text-size-adjust 100%
|
||||
text-rendering optimizelegibility
|
||||
a
|
||||
color c-666
|
||||
text-decoration none
|
||||
&:link,
|
||||
&:visited,
|
||||
&:active
|
||||
color c-666
|
||||
&:hover
|
||||
color #ff5e52
|
||||
hr
|
||||
border-top 1px solid c-eee
|
||||
.fl
|
||||
float left
|
||||
.fr
|
||||
float right
|
||||
.text-center
|
||||
text-center()
|
||||
.clearfix
|
||||
zoom 1
|
||||
&:after
|
||||
display block
|
||||
width 100%
|
||||
height 0
|
||||
content " "
|
||||
clear both
|
||||
Reference in New Issue
Block a user