@myst-theme/styles 0.14.3 → 0.15.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @myst-theme/styles@0.14.3 build
2
+ > @myst-theme/styles@0.15.1 build
3
3
  > tailwindcss -m -i ./app.css -o ../docs/public/tailwind.css
4
4
 
5
5
  Browserslist: caniuse-lite is outdated. Please run:
@@ -8,4 +8,4 @@ Browserslist: caniuse-lite is outdated. Please run:
8
8
 
9
9
  Rebuilding...
10
10
 
11
- Done in 3415ms.
11
+ Done in 3816ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.15.1
4
+
5
+ ## 0.15.0
6
+
7
+ ### Patch Changes
8
+
9
+ - b356191: Fix justified landing-page block layout
10
+
3
11
  ## 0.14.3
4
12
 
5
13
  ## 0.14.2
package/app.css CHANGED
@@ -10,6 +10,7 @@
10
10
  @import './math.css';
11
11
  @import './cross-references.css';
12
12
  @import './block-styles.css';
13
+ @import './landing-pages.css';
13
14
  @import './jupyter.css';
14
15
  @import './tasklists.css';
15
16
  @import './sphinx.css';
package/button.css CHANGED
@@ -1,9 +1,8 @@
1
- a.button {
1
+ a.button,
2
+ cite.button a {
2
3
  @apply px-4 py-2 font-bold rounded no-underline;
3
- }
4
- a.button {
5
4
  @apply text-white bg-blue-500 whitespace-nowrap;
6
- }
7
- a.button:hover {
8
- @apply bg-blue-700;
5
+ &:hover {
6
+ @apply bg-blue-700;
7
+ }
9
8
  }
@@ -0,0 +1,28 @@
1
+ /* CSS rules for grid configuration of landing pages */
2
+ @layer components {
3
+ .grid-area-subtitle {
4
+ grid-area: subtitle;
5
+ }
6
+ .grid-area-title {
7
+ grid-area: title;
8
+ }
9
+ .grid-area-body {
10
+ grid-area: body;
11
+ }
12
+ .grid-area-links {
13
+ grid-area: links;
14
+ }
15
+ .grid-areas-just-narrow {
16
+ grid-template-areas:
17
+ 'subtitle subtitle subtitle'
18
+ 'title title title'
19
+ 'body body body'
20
+ 'links links links';
21
+ }
22
+ .grid-areas-just-wide {
23
+ grid-template-areas:
24
+ 'subtitle subtitle subtitle'
25
+ 'title . links'
26
+ 'body body body';
27
+ }
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.14.3",
3
+ "version": "0.15.1",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {