@healthcatalyst/catalyst-docfx-template 1.0.140 → 1.0.142

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcatalyst/catalyst-docfx-template",
3
- "version": "1.0.140",
3
+ "version": "1.0.142",
4
4
  "license": "MIT",
5
5
  "description": "A DocFX Template patching the Default template.",
6
6
  "publishConfig": {
package/styles/main.css CHANGED
@@ -2018,4 +2018,23 @@ article .tabGroup > ul > li {
2018
2018
  .release-notes summary::before {
2019
2019
  right: 15px;
2020
2020
  }
2021
- }
2021
+ }
2022
+
2023
+ /* ===== VIDEO LIBRARY - VIMEO ===== */
2024
+
2025
+ .video-grid {
2026
+ display: grid;
2027
+ grid-template-columns: repeat(3, 1fr);
2028
+ gap: 1rem;
2029
+ }
2030
+
2031
+ @media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
2032
+ @media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
2033
+
2034
+ .video-wrap { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; border-radius: 6px; }
2035
+ .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
2036
+ .video-caption { margin-top: 0.5rem; font-size: 1.25rem; color: #333; }
2037
+
2038
+ .poster-btn,.poster{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;background:none;cursor:pointer;}
2039
+ .poster img{width:100%;height:100%;object-fit:cover;display:block;}
2040
+ .play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,0.6);display:flex;align-items:center;justify-content:center;color:white;font-size:24px;pointer-events:none;}