Browse Source

Make repo package list pages responsive

Signed-off-by: falkTX <falktx@falktx.com>
pull/19/head
falkTX 3 years ago
parent
commit
f519845e2a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 26 additions and 1 deletions
  1. +1
    -1
      css/style.fluid.css
  2. +25
    -0
      includes/header.php

+ 1
- 1
css/style.fluid.css View File

@@ -31,7 +31,7 @@
text-align: center;
}

@media only screen and (min-width: 540px) {
@media only screen and (min-width: 541px) {
.responsive-item {
margin: 15px;
}


+ 25
- 0
includes/header.php View File

@@ -128,6 +128,31 @@ if (false && $PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE !=
.repository-package > div:first-child {
padding-top: calc(0.5em + 0.5px);
}
@media only screen and (max-width: 540px) {
.repository-package {
flex-direction: column;
width: 100%;
}
.repository-package > div:first-child {
padding-top: 0;
text-align: center;
}
.repository-package table {
width: 100%;
margin-left: 10%;
}
.repository-package tr > td:first-child {
width: 100px;
}
.img_clickable {
margin-bottom: 5px;
}
}
@media only screen and (max-width: 380px) {
.repository-package table {
margin-left: 5%;
}
}
tr {
vertical-align: top;
}


Loading…
Cancel
Save