2015-10-13 03:03:51 +00:00
|
|
|
|
@font-face{
|
|
|
|
|
font-family: 'source_code_pro';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-stretch: normal;
|
|
|
|
|
src: url('/static/css/fonts/source_code_pro/EOT/SourceCodePro-Regular.eot') format('embedded-opentype'),
|
|
|
|
|
url('/static/css/fonts/source_code_pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2') format('woff2'),
|
|
|
|
|
url('/static/css/fonts/source_code_pro/WOFF/OTF/SourceCodePro-Regular.otf.woff') format('woff'),
|
|
|
|
|
url('/static/css/fonts/source_code_pro/OTF/SourceCodePro-Regular.otf') format('opentype'),
|
|
|
|
|
url('/static/css/fonts/source_code_pro/TTF/SourceCodePro-Regular.ttf') format('truetype');
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-16 05:25:23 +00:00
|
|
|
|
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
|
2015-10-13 03:03:51 +00:00
|
|
|
|
font-family: "source_code_pro", Georgia, STHeiti, "Microsoft Yahei", SimSun, "Droid Sans";
|
2015-09-16 05:25:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
2015-08-07 09:11:20 +00:00
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-16 05:25:23 +00:00
|
|
|
|
body {
|
|
|
|
|
height: 100%; /*使内容高度和body一样*/
|
|
|
|
|
margin-bottom: -80px; /*向上缩减80像素,不至于footer超出屏幕可视范围*/
|
2015-08-07 09:11:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
2015-09-16 05:25:23 +00:00
|
|
|
|
.main {
|
2015-08-07 09:11:20 +00:00
|
|
|
|
padding-bottom: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-06 15:47:28 +00:00
|
|
|
|
img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
2015-08-07 09:11:20 +00:00
|
|
|
|
height: 80px
|
2015-08-06 15:47:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
font-size: 16px;
|
2015-08-07 11:46:46 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ms-controller] {
|
|
|
|
|
display: none
|
2015-08-15 05:54:30 +00:00
|
|
|
|
}
|
|
|
|
|
|
2015-09-16 05:25:23 +00:00
|
|
|
|
.right {
|
2015-08-15 05:54:30 +00:00
|
|
|
|
float: right;
|
2015-08-15 11:49:58 +00:00
|
|
|
|
}
|
|
|
|
|
|
2015-09-16 05:25:23 +00:00
|
|
|
|
|
2015-10-13 03:03:51 +00:00
|
|
|
|
pre, code {
|
|
|
|
|
font-family: "source_code_pro";
|
2015-09-17 03:18:11 +00:00
|
|
|
|
background-color: white;
|
2015-10-13 03:03:51 +00:00
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-wrap: break-word;
|
2015-09-16 05:25:23 +00:00
|
|
|
|
}
|
2015-09-17 13:21:03 +00:00
|
|
|
|
|
|
|
|
|
.CodeMirror-code{
|
2015-10-13 03:03:51 +00:00
|
|
|
|
font-family: "source_code_pro";
|
2015-09-17 13:21:03 +00:00
|
|
|
|
background-color: white;
|
|
|
|
|
}
|