mirror of
https://github.com/towalink/wgfrontend.git
synced 2025-04-19 00:45:15 +00:00
No longer display footer if scrolling is needed
This commit is contained in:
parent
447c71f827
commit
8a979e674a
@ -10,6 +10,12 @@ html {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
@ -115,12 +121,11 @@ header h2 img {
|
||||
.user {
|
||||
color: blue;
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
padding: 10px 250px;
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
@ -170,7 +175,6 @@ section {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
.table, .table-row {
|
||||
display: block;
|
||||
@ -183,11 +187,7 @@ section {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: #dddddd;
|
||||
color: blue;
|
||||
@ -207,14 +207,14 @@ footer {
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
header {
|
||||
flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
header h2 {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
section {
|
||||
flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user