mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-06 04:21:51 +00:00
修复 footer 显示位置错误的问题
This commit is contained in:
parent
d54a7bf818
commit
a66b755aa3
@ -1,3 +1,16 @@
|
||||
html{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body{
|
||||
height:100%; /*使内容高度和body一样*/
|
||||
margin-bottom:-80px;/*向上缩减80像素,不至于footer超出屏幕可视范围*/
|
||||
}
|
||||
|
||||
.main{
|
||||
padding-bottom: 120px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@ -6,8 +19,7 @@ img {
|
||||
.footer {
|
||||
left: 0;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
height: 80px
|
||||
}
|
||||
|
||||
label {
|
||||
|
@ -1,3 +1,4 @@
|
||||
@import url("global.css");
|
||||
@import url("bootstrap/bootstrap.min.css");
|
||||
@import url("bootstrap/todc-bootstrap.min.css");
|
||||
@import url("codeMirror/codemirror.css");
|
||||
|
Loading…
Reference in New Issue
Block a user