mod-base 1.0.15 → 1.0.16

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.16
4
+
5
+ - Adding default styling for superscripts and subscripts (`<sup>` & `<sub>`).
6
+
3
7
  ## 1.0.15
4
8
 
5
9
  - Dark-mode updates: background-color, color & filters for new selectors in form, radiobuttons, header and featured-block
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -171,3 +171,19 @@ img {
171
171
  :before {
172
172
  box-sizing: border-box;
173
173
  }
174
+
175
+ sub,
176
+ sup {
177
+ font-size: 70%;
178
+ line-height: 0;
179
+ position: relative;
180
+ vertical-align: baseline;
181
+ }
182
+
183
+ sub {
184
+ bottom: -.25em;
185
+ }
186
+
187
+ sup {
188
+ top: -.5em;
189
+ }