Browse Source

metadata formatting

master
rdrew 3 weeks ago
parent
commit
818a36f067
  1. 75
      css/components/islandora_mods.css

75
css/components/islandora_mods.css

@ -1,5 +1,5 @@
h3.tl-headline-date { h3.tl-headline-date {
color: #333 !important; color: #333 !important;
} }
.tl-timeline a { .tl-timeline a {
text-decoration: none; text-decoration: none;
@ -42,7 +42,7 @@ h3.tl-headline-date {
color: #333; color: #333;
} }
.tl-text h2.tl-headline { .tl-text h2.tl-headline {
font-size: 2rem; font-size: 2rem;
} }
.tl-slidenav-previous .tl-slidenav-title, .tl-slidenav-previous .tl-slidenav-title,
.tl-slidenav-next .tl-slidenav-title { .tl-slidenav-next .tl-slidenav-title {
@ -54,11 +54,59 @@ font-size: 2rem;
font-family: var(--font-sans) !important; font-family: var(--font-sans) !important;
} }
h2.tl-headline { h2.tl-headline {
color: #333 !important; color: #333 !important;
} }
h2.tl-headline:hover { h2.tl-headline:hover {
color: #fff !important; color: #fff !important;
} }
/* ============================================================
Browse page
============================================================ */
.newspaper-browse .views-row {
display: flex;
align-items: center;
gap: 1em;
border-bottom: 1px solid #ccc;
padding-bottom: 2em;
margin-block: 2em;
h3 {
margin: 0 0 0.5em;
}
.views-field-thumbnail__target-id {
width: 150px; /* whatever fixed width you want */
flex-shrink: 0; /* prevents the image from shrinking */
}
.views-field-title {
flex: 1; /* takes up all remaining space */
min-width: 0; /* prevents text overflow issues */
}
}
.views-view-newspaper-issues {
/* display: flex; */
border: 1px solid #ccc;
padding: 0.5em;
display: inline-block;
background: #f5f5f5;
.views-row {
}
}
details.views-view-newspaper-group li.views-row {
display: flex;
}
details.views-view-newspaper-group {
}
ul.views-view-newspaper-issues
.views-field-field-media-use
.field-content:after {
content: " : ";
}
ul.views-view-newspaper-issues .views-field-field-media-use .field-content {
width: 10em;
}
/* ============================================================ /* ============================================================
COLLECTION GRID COLLECTION GRID
============================================================ */ ============================================================ */
@ -266,6 +314,9 @@ form#views-exposed-form-newspapers-view-block-1 {
text-decoration: none; text-decoration: none;
} }
} }
ul.views-view-newspaper-issues {
columns: 3;
}
/* ============================================================ /* ============================================================
BROWSE PAGE BROWSE PAGE
============================================================ */ ============================================================ */
@ -344,20 +395,20 @@ article .text-content img {
font-family: var(--font-serif) !important; font-family: var(--font-serif) !important;
} }
.newspaper-browse a { .newspaper-browse a {
text-decoration: none; text-decoration: none;
} }
.tl-slider-container-mask { .tl-slider-container-mask {
background: #F8F8F8; background: #f8f8f8;
border: 1px solid #ccc; border: 1px solid #ccc;
border-top: 0; border-top: 0;
} }
.tl-text { .tl-text {
background: #fff; background: #fff;
border: 1px solid #ccc; border: 1px solid #ccc;
} }
button.tl-menubar-button { button.tl-menubar-button {
color: #737373; color: #737373;
} }
.tl-timenav { .tl-timenav {
border: 1px solid #ccc; border: 1px solid #ccc;
} }

Loading…
Cancel
Save