OnlineJudge/static/src/css/global.css
2015-10-13 11:03:51 +08:00

65 lines
1.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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');
}
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
font-family: "source_code_pro", Georgia, STHeiti, "Microsoft Yahei", SimSun, "Droid Sans";
}
html {
height: 100%;
}
body {
height: 100%; /*使内容高度和body一样*/
margin-bottom: -80px; /*向上缩减80像素不至于footer超出屏幕可视范围*/
}
.main {
padding-bottom: 120px;
}
img {
max-width: 100%;
height: auto;
}
.footer {
left: 0;
right: 0;
height: 80px
}
label {
font-size: 16px;
}
[ms-controller] {
display: none
}
.right {
float: right;
}
pre, code {
font-family: "source_code_pro";
background-color: white;
white-space: pre-wrap;
word-wrap: break-word;
}
.CodeMirror-code{
font-family: "source_code_pro";
background-color: white;
}