Skip to content

Commit

Permalink
Styling alterations for Item Sets
Browse files Browse the repository at this point in the history
  • Loading branch information
pverberne committed Apr 20, 2023
1 parent 6d1ef19 commit bf3522c
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ In order to use, derive or co-develop this theme, it is highly recommended to al
that are developed in coöperation with the metadata specialists at Maastricht University. Use of this vocabulary tries to enhance good data exchange in
the field of (digital) heritage collections and humanities and good indexing and crawlability in Google.

Known issue: paging is not working correctly in Advanced Search module in test- and production environment.

## Acknowledgements
Adapted from the [Omeka-S-ExploreGrid-Theme](https://github.com/hxsllc/Omeka-S-theme-ExploreGrid) by [hxsllc](https://github.com/hxsllc).
Expand Down
25 changes: 24 additions & 1 deletion asset/css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,27 @@ a.search-view-type svg.icon{
/* clear:both; */
/* justify-content: center; */
/* padding: 29px 0; */
}
}

aside.search-facets h3, h4{

margin: 0;
}

aside.search-facets h4
{
font-size:1em;
}
.search-facets-active {
margin:0;
list-style: none;
padding-left: 0;
}
.search-facets-active li {
display: inline-block;
font-size: 1em !important;
margin: 0 !important;
padding: 0 !important;
vertical-align: top;
}

25 changes: 22 additions & 3 deletions asset/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1321,19 +1321,38 @@
padding:1em 0;

}

.item-set .metadata .property{
padding:0 1em;
margin:0;
}
.item-set .metadata .property h5{
font-size: 1.2em;
margin: 0.2rem 0;
font-size: 20px;
font-size: 1.0em;
/* margin: 0.2rem 0; */
/* font-size: 20px; */
}
.item-set .metadata .property .values{
line-height:1.4em
}

.item-set .metadata .property{
padding:0 1em;
width:100%;
margin:0;
}
.item-set .metadata .property h5{
margin:0; float:left;
width: 25%;
display:block;
}
.item-set .metadata .property .values{
margin:0; float:left;
width: 75%;
display:block;
}



#item-set-part>h3:nth-of-type(1){
font-size: 1.2em;
font-weight: normal;
Expand Down
2 changes: 1 addition & 1 deletion config/theme.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[info]
name = "UM Theme"
version = "2.0.0"
version = "2.0.1"
author = "Peter Verberne - Maastricht University Library"
description = "A responsive theme for Omeka-S v3.x with some configuration controls"
theme_link = "https://github.com/MaastrichtU-Library/omekas-theme-um"
Expand Down

0 comments on commit bf3522c

Please sign in to comment.