Skip to content

Commit

Permalink
Finishing up - Theme for multiple zoom factors and (some) mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
pverberne committed Nov 21, 2023
1 parent fadde35 commit c26f514
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 34 deletions.
26 changes: 20 additions & 6 deletions asset/css/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
Reason for splitting: Keep track and portability.
*/





@media screen and (max-width: 600px),
screen and (max-height: 600px) {

Expand All @@ -27,8 +31,11 @@ screen and (max-height: 600px) {
}

h3 {
font-size: 1.4rem;
font-size: 1.0rem;
margin: 0.2rem;
font-size: 1.0rem;
line-height: 29px;

}

h4 {
Expand Down Expand Up @@ -78,8 +85,8 @@ screen and (max-height: 600px) {

header.scroll #site-header-title {
position: relative;
top: 21px;
left: -20px;
top: 36px;
left: 0px;
}

header #top-bar #institution-logo img {
Expand Down Expand Up @@ -206,7 +213,7 @@ screen and (max-height: 600px) {
}


.item-set #search-page h2:nth-of-type(1) {
.item-set #search-page h2:nth-of-type(1) {
margin: 0;
font-size: 1.2em;
}
Expand All @@ -225,11 +232,18 @@ screen and (max-height: 600px) {
padding: 1em;
}

ul.resource-list .resource h4
{
ul.resource-list .resource h4 {
font-size: 1.2em;
line-height: 1.2em;
margin-bottom: 0.3em;
}

ul.resource-list .resource h4 a, ul.resource-list .resource h5 a {
text-underline-offset: 3px !important;
}




.item-set #search-page .resource-list .resource-metadata h4 {
font-size: 1.1em;
Expand Down
4 changes: 4 additions & 0 deletions asset/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,10 @@
vertical-align: middle;
margin-right: 7.5px
}
.item-set .metadata .resource-link img{
height: 45px;
}

#item-page-properties .resource-link img{
height: 45px;
}
Expand Down
29 changes: 1 addition & 28 deletions config/theme.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[info]
name = "UM Theme"
version = "4.1.0"
version = "4.1.1"
date = "November 2023"
author = "Peter Verberne - Maastricht University Library"
description = "A responsive theme for both Omeka-S v3.x and v4.x with some configuration controls"
Expand Down Expand Up @@ -60,33 +60,6 @@ elements.footerBar.options.label = "Footer-bar > Text (HTML)"
elements.footerBar.options.info = "HTML content to appear in the lowest bar in footer"
elements.footerBar.attributes.value = "Text for footerbar"




;elements.textOrLogo.name = "textOrLogo"
;elements.textOrLogo.type = "Laminas\Form\Element\Radio"
;elements.textOrLogo.options.label = "Header > Use Site Title (No Logo)"
;elements.textOrLogo.attributes.value = 0
;elements.textOrLogo.attributes.value_options = "Yes","No"

;elements.nav_depth.name = "nav_depth"
;elements.nav_depth.type = "Number"
;elements.nav_depth.options.label = "Menu > Navigation Depth"
;elements.nav_depth.options.info = "Maximum number of levels to show in the site's top navigation bar. Set to 0 to show all levels."
;elements.nav_depth.attributes.min = 0
;elements.nav_depth.attributes.value = 0

;elements.menuFeaturedPageTitle.name = "menuFeaturedPageTitle"
;elements.menuFeaturedPageTitle.type = "Laminas\Form\Element\Text"
;elements.menuFeaturedPageTitle.options.label = "Menu > Featured Page Name"
;elements.menuFeaturedPageTitle.attributes.value = "About Us"

;elements.menuFeaturedPageLink.name = "menuFeaturedPageLink"
;elements.menuFeaturedPageLink.type = "Laminas\Form\Element\Text"
;elements.menuFeaturedPageLink.options.label = "Menu > Featured Page Slug"
;elements.menuFeaturedPageLink.options.info = "Provide only the page slug, not the full URL. Do not include /page either."
;elements.menuFeaturedPageLink.attributes.value = "about"

elements.cover_vh.name = "cover_vh"
elements.cover_vh.type = "Number"
elements.cover_vh.options.label = "Homepage > Cover Image Height"
Expand Down

0 comments on commit c26f514

Please sign in to comment.