Browse Source

type tweaks

master
rdrew 1 day ago
parent
commit
da9eed0ad2
  1. 4
      css/base/base.css
  2. 33
      css/components/islandora_mods.css
  3. 2
      css/components/landing_page.css

4
css/base/base.css

@ -102,13 +102,13 @@ h2 {
}
h3 {
font-size: 1.25rem;
font-size: 1.1rem;
line-height: var(--sp1-5);
}
@media (min-width: 43.75rem) {
h3 {
font-size: 1.5rem;
font-size: 1.25rem;
line-height: var(--sp2);
}
}

33
css/components/islandora_mods.css

@ -250,6 +250,7 @@ nav.pager {
.person--layout img {
width: 100%;
border: 1px solid #ccc;
border-bottom: 0;
}
.person--layout .field.field--name-field-dates {
@ -523,12 +524,11 @@ h1 {
float: none;
}
.field {
display: flex;
line-height: 1;
}
.field__label,
.field__item,
.field__items {
font-size: 1rem;
}
}
@ -542,6 +542,22 @@ h1 {
/* margin-left: 0.7em; */
}
@media ((min-width: 600px)) {
.book .node__content,
.people_metadata {
.field--label-inline .field__label,
.field--label-inline .field__items {
float: none;
}
.field {
display: flex;
line-height: 1;
}
.field__label,
.field__item,
.field__items {
font-size: 1.1rem;
}
}
.field.field--name-field-organization {
/* display: flex; */
/* place-items: flex-start; */
@ -558,3 +574,16 @@ h1 {
margin: 0.5em 0;
}
.person--left {
background: #444;
color: #fff;
.field:not(:last-child) {
/* margin-block-end: var(--sp2); */
margin-block-end: 0;
}
.person--details {
padding: 0.5rem 0 0.7rem;
line-height: 1;
}
}

2
css/components/landing_page.css

@ -247,7 +247,7 @@ nav#block-olivesbooks-landingpagemenu {
text-decoration: none;
color: #fff;
transition: all 0.2s linear;
font-size: 0.8rem;
font-size: 0.75rem;
padding: 5px 5px 0;
text-align: center;
}

Loading…
Cancel
Save