@canopy-iiif/app 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,11 +8,12 @@
8
8
 
9
9
  p {
10
10
  line-height: 1.618;
11
- margin-bottom: 1.618rem;
11
+ padding: 0.5rem 0;
12
12
  }
13
13
 
14
14
  ol,
15
15
  ul {
16
+ padding: 0.5rem 0;
16
17
  padding-left: 1.618rem;
17
18
 
18
19
  li {
@@ -116,23 +116,57 @@
116
116
  }
117
117
  }
118
118
 
119
- &--hero-text {
119
+ &--hero-breadcrumb {
120
120
  margin-bottom: 0.618rem;
121
121
 
122
122
  .canopy-interstitial__body {
123
123
  align-items: center;
124
+ display: flex;
125
+ flex-wrap: nowrap;
126
+ flex-direction: row;
127
+ justify-content: space-between;
128
+ padding: 0;
129
+
130
+ p {
131
+ flex-grow: 0;
132
+ }
124
133
  }
125
134
 
126
135
  .canopy-interstitial__panel {
127
- padding: 1.618rem 0 1rem;
136
+ padding: 1rem 1.618rem;
128
137
  }
129
138
 
130
139
  .canopy-interstitial__description {
140
+ font-size: 0.8333rem;
131
141
  color: var(--color-accent-800);
132
- font-size: 0.9222rem;
142
+ font-family: var(--font-mono);
133
143
  }
134
144
  }
135
145
 
146
+ &__breadcrumb {
147
+ display: inline-flex;
148
+ gap: 0.5rem;
149
+ font-size: 0.8333rem;
150
+ }
151
+
152
+ &__breadcrumb a {
153
+ color: inherit;
154
+ text-decoration: none;
155
+ color: var(--color-gray-700);
156
+ }
157
+
158
+ &__breadcrumb a:hover,
159
+ &__breadcrumb a:focus-visible {
160
+ color: var(--color-accent-700);
161
+ outline: none;
162
+ }
163
+
164
+ &__breadcrumb-separator,
165
+ &__breadcrumb-current {
166
+ color: var(--color-gray-900);
167
+ font-weight: 600;
168
+ }
169
+
136
170
  &__slider {
137
171
  position: relative;
138
172
  width: 100%;
@@ -84,10 +84,11 @@
84
84
  }
85
85
  p {
86
86
  line-height: 1.618;
87
- margin-bottom: 1.618rem;
87
+ padding: 0.5rem 0;
88
88
  }
89
89
  ol,
90
90
  ul {
91
+ padding: 0.5rem 0;
91
92
  padding-left: 1.618rem;
92
93
  }
93
94
  ol li,
@@ -1022,18 +1023,45 @@ section[data-footnotes] ul li,
1022
1023
  font-size: 2.618rem;
1023
1024
  }
1024
1025
  }
1025
- .canopy-interstitial--hero-text {
1026
+ .canopy-interstitial--hero-breadcrumb {
1026
1027
  margin-bottom: 0.618rem;
1027
1028
  }
1028
- .canopy-interstitial--hero-text .canopy-interstitial__body {
1029
+ .canopy-interstitial--hero-breadcrumb .canopy-interstitial__body {
1029
1030
  align-items: center;
1031
+ display: flex;
1032
+ flex-wrap: nowrap;
1033
+ flex-direction: row;
1034
+ justify-content: space-between;
1035
+ padding: 0;
1030
1036
  }
1031
- .canopy-interstitial--hero-text .canopy-interstitial__panel {
1032
- padding: 1.618rem 0 1rem;
1037
+ .canopy-interstitial--hero-breadcrumb .canopy-interstitial__body p {
1038
+ flex-grow: 0;
1033
1039
  }
1034
- .canopy-interstitial--hero-text .canopy-interstitial__description {
1040
+ .canopy-interstitial--hero-breadcrumb .canopy-interstitial__panel {
1041
+ padding: 1rem 1.618rem;
1042
+ }
1043
+ .canopy-interstitial--hero-breadcrumb .canopy-interstitial__description {
1044
+ font-size: 0.8333rem;
1035
1045
  color: var(--color-accent-800);
1036
- font-size: 0.9222rem;
1046
+ font-family: var(--font-mono);
1047
+ }
1048
+ .canopy-interstitial__breadcrumb {
1049
+ display: inline-flex;
1050
+ gap: 0.5rem;
1051
+ font-size: 0.8333rem;
1052
+ }
1053
+ .canopy-interstitial__breadcrumb a {
1054
+ color: inherit;
1055
+ text-decoration: none;
1056
+ color: var(--color-gray-700);
1057
+ }
1058
+ .canopy-interstitial__breadcrumb a:hover, .canopy-interstitial__breadcrumb a:focus-visible {
1059
+ color: var(--color-accent-700);
1060
+ outline: none;
1061
+ }
1062
+ .canopy-interstitial__breadcrumb-separator, .canopy-interstitial__breadcrumb-current {
1063
+ color: var(--color-gray-900);
1064
+ font-weight: 600;
1037
1065
  }
1038
1066
  .canopy-interstitial__slider {
1039
1067
  position: relative;