codekart
Version:
Web application framework for Node.js
296 lines (295 loc) • 6.28 kB
CSS
@charset "utf-8";
/* 全局样式 */
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 1em;
font-weight: normal;
text-decoration: none;
cursor: default;
}
body {
margin: 0;
padding: 0;
background-color: #fff;
color: #000;
word-wrap: break-word;
vertical-align: baseline;
-webkit-text-size-adjust: none;
font-family: Microsoft YaHei, "微软雅黑", Lucida, Verdana, Hiragino Sans GB, STHeiti, WenQuanYi Micro Hei, Droid Sans Fallback, SimSun, sans-serif;
font-weight: 400;
}
::selection {
color: #fff;
background-color: #666;
text-shadow: none;
}
::-moz-selection {
color: #fff;
background-color: #666;
text-shadow: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
h1 {
font-size: 36px;
line-height: 36px;
}
h2 {
font-size: 30px;
line-height: 30px;
}
h3 {
font-size: 25px;
line-height: 25px;
}
h4 {
font-size: 21px;
line-height: 21px;
}
h5 {
font-size: 18px;
line-height: 18px;
}
h6 {
font-size: 15px;
line-height: 15px;
}
.clear {
clear: both;
font-size: 1px;
width: 1px;
height: 0;
visibility: hidden;
margin-top: 0px;
*margin-top: -1px;
line-height: 0;
}
b,
i,
u {
font-weight: normal;
font-style: normal;
}
/* Default Link */
a:link,
a:visited {
color: inherit;
text-decoration: none;
outline-style: none;
}
a:active,
a:hover {
color: inherit;
text-decoration: none;
cursor: pointer;
}
/* 动画 */
/* webfont 自定义字体 */
@font-face {
font-family: 'jojoinIconFont';
src: url('<%webfont%>/jojoin-icon.eot');
src: url('<%webfont%>/jojoin-icon.eot?#iefix') format('embedded-opentype'), url('<%webfont%>/jojoin-icon.woff') format('woff'), url('<%webfont%>/jojoin-icon.ttf') format('truetype'), url('<%webfont%>/jojoin-icon.svg#jojoinIconFont') format('svg');
font-weight: normal;
font-style: normal;
}
.font-icon {
font-family: 'jojoinIconFont', Microsoft YaHei, "微软雅黑", Lucida, Verdana, Hiragino Sans GB, STHeiti, WenQuanYi Micro Hei, Droid Sans Fallback, SimSun, sans-serif;
}
.font-title {
font-family: Georgia, "Times New Roman", Times, "Kai", "Kaiti SC", "KaiTi", "BiauKai", "楷体", "楷体_GB2312", serif;
}
.font-title-icon {
font-family: 'jojoinIconFont', Georgia, "Times New Roman", Times, "Kai", "Kaiti SC", "KaiTi", "BiauKai", "楷体", "楷体_GB2312", serif;
}
/**
* 主页面样式
*/
body {
background: #ddd;
}
.forkme {
position: absolute;
top: 0;
right: 0px;
display: block;
width: 149px;
height: 149px;
background: url("/cssimg/codekart/forkme.png") center;
}
.wrap {
width: 100%;
max-width: 800px;
margin: auto;
}
.header {
width: 100%;
border-top: 6px solid #46483e;
}
.header .wrap {
padding: 10px 0;
}
.wrapbtn {
cursor: pointer;
text-align: center;
text-shadow: 0 1px 1px #333;
background-color: #3bb3e0;
padding: 10px;
position: relative;
font-family: 'Open Sans', sans-serif;
font-size: 12px;
text-decoration: none;
color: #fff;
border: solid 1px #186f8f;
background-image: linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -o-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -moz-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -webkit-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -ms-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2ca0ca), color-stop(1, #3eb8e5));
-webkit-box-shadow: inset 0px 1px 0px #7fd2f1, 0px 1px 0px #fff;
-moz-box-shadow: inset 0px 1px 0px #7fd2f1, 0px 1px 0px #fff;
box-shadow: inset 0px 1px 0px #7fd2f1, 0px 1px 0px #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
.wrapbtn:before {
background-color: #ccd0d5;
content: "";
display: block;
position: absolute;
width: 100%;
height: 100%;
padding: 8px;
left: -8px;
top: -8px;
z-index: -1;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff;
-moz-box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff;
-o-box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff;
box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff;
}
.wrapbtn:active {
padding-bottom: 9px;
padding-left: 10px;
padding-right: 10px;
padding-top: 11px;
top: 1px;
background-image: linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -o-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -moz-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -webkit-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -ms-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3eb8e5), color-stop(1, #2ca0ca));
}
.getstart {
width: 268px;
margin: 18px auto;
}
.intro {
background: #f6f6f6;
color: #666;
text-shadow: 0 1px 0 #fff;
border-radius: 10px;
}
.intro p {
padding: 16px 25px;
font-size: 14px;
}
.intro p b {
font-weight: bold;
}
.nav {
padding: 10px 0;
}
.nav a {
display: inline-block;
min-width: 220px;
margin: 18px;
font-size: 12px;
line-height: 17px;
}
.nav a img {
float: left;
margin-right: 10px;
}
.nav a b {
color: #666;
font-weight: bold;
}
.nav a p {
color: #999;
}
.nav a * {
cursor: pointer;
}
.nav a:hover b {
color: #000;
}
.nav a:hover p {
color: #555;
}
.paper {
background: #f0f0f0;
color: #666;
text-shadow: 0 1px 0 #fff;
border-radius: 10px;
}
.paper p {
padding: 0 30px;
font-size: 13px;
text-indent: 26px;
}
.paper .ready {
padding: 25px;
list-style: none;
}
.paper .ready h3 {
font-size: 15px;
font-weight: 900;
color: #555;
}
.paper .ready li {
font-size: 13px;
margin: 10px 0 10px 16px;
}
.thx a {
display: inline-block;
margin: 18px;
}
.thx a * {
cursor: pointer;
}
.info {
background: #f0f0f0;
color: #666;
text-shadow: 0 1px 0 #fff;
border-radius: 10px;
font-size: 13px;
}
.info p {
margin: 0 25px;
}
.info p a {
color: #78b43c;
}
.info p a:hover {
text-decoration: underline;
}
.info .li {
font-size: 12px;
}