Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorLaurence Stant <laurence.stant@diamond.ac.uk>2020-04-20 04:32:17 +0300
committerGitHub <noreply@github.com>2020-04-20 04:32:17 +0300
commitc4d368264231b3cf5130a2a2bf806756eafbdccc (patch)
treee82d7f80fddb6fe40105a1f9a59c04bd5f543c52 /assets
parent4c77300eebfb2e5521954edb37ec79afd62fd92f (diff)
Update _publication.scss
Added media query to complement the full/half pgrid-item dynamic resizing on loading.
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/pages/_publication.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/assets/sass/pages/_publication.scss b/assets/sass/pages/_publication.scss
index 33e4649..1a1b6b0 100644
--- a/assets/sass/pages/_publication.scss
+++ b/assets/sass/pages/_publication.scss
@@ -205,6 +205,13 @@
width: 49.5%;
}
+@media only screen and (max-width:769px) {
+ .pgrid-sizer,
+ .pgrid-item {
+ width: 100%;
+ }
+}
+
.pgrid-item {
float: left;
border-radius: 0.25rem;
@@ -218,4 +225,4 @@
.pgrid-item img {
display: block;
max-width: 100%;
-} \ No newline at end of file
+}