resize css

This commit is contained in:
cppla 2024-08-17 18:50:43 +08:00
parent f290947b2c
commit fc89a76cc2
2 changed files with 34 additions and 18 deletions

@ -103,15 +103,17 @@ tr.odd.expandRow:hover {
}
#month_traffic {
width: 130px;
min-width: 85px;
max-width: 95px;
}
#network {
width: 138px;
min-width: 110px;
}
#cpu, #ram, #hdd {
width: 90px;
min-width: 45px;
max-width: 90px;
}
#ping {
@ -119,6 +121,14 @@ tr.odd.expandRow:hover {
}
@media only screen and (max-width: 1200px) {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#type, #location, #uptime, #ping {
display: none;
visibility: hidden;
@ -129,12 +139,11 @@ tr.odd.expandRow:hover {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#cpu, #ram, #hdd {
width: 50px;
}
#month_traffic, #type, #location, #uptime, #ping {
display: none;
visibility: hidden;
@ -145,12 +154,11 @@ tr.odd.expandRow:hover {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#cpu, #ram, #hdd {
width: 50px;
}
#month_traffic, #type, #location, #uptime, #traffic, #ping {
display: none;
visibility: hidden;

@ -84,15 +84,17 @@ tr.odd.expandRow:hover {
}
#month_traffic {
width: 130px;
min-width: 85px;
max-width: 95px;
}
#network {
width: 138px;
min-width: 110px;
}
#cpu, #ram, #hdd {
width: 90px;
min-width: 45px;
max-width: 90px;
}
#ping {
@ -100,6 +102,14 @@ tr.odd.expandRow:hover {
}
@media only screen and (max-width: 1200px) {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#type, #location, #uptime, #ping {
display: none;
visibility: hidden;
@ -110,12 +120,11 @@ tr.odd.expandRow:hover {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#cpu, #ram, #hdd {
width: 50px;
}
#month_traffic, #type, #location, #uptime, #ping {
display: none;
visibility: hidden;
@ -126,12 +135,11 @@ tr.odd.expandRow:hover {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#cpu, #ram, #hdd {
width: 50px;
}
#month_traffic, #type, #location, #uptime, #traffic, #ping {
display: none;
visibility: hidden;