Skip to content

Commit 36cde35

Browse files
2.6.0
1 parent bc86bdd commit 36cde35

File tree

3 files changed

+64
-8
lines changed

3 files changed

+64
-8
lines changed

dist/saratoga.css

Lines changed: 61 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,16 @@ li {
146146

147147
.kicker {
148148
color: var(--secondary-text-color);
149-
font-size: 0.667rem;
149+
font: 0.667rem/1em var(--sans);
150150
font-weight: bold;
151151
text-transform: uppercase;
152+
line-height: 1em;
152153
}
153154

154155
time, .time, .byline {
155156
display: inline-block;
156157
color: var(--secondary-text-color);
157-
font: 0.778rem/1.1em var(--sans);
158+
font: 0.778rem/1em var(--sans);
158159
}
159160

160161
.byline a {
@@ -1647,7 +1648,7 @@ footer {
16471648
*/
16481649
.story-body {
16491650
display: flow-root;
1650-
font: var(--story-font, 18px/2em var(--serif));
1651+
font-family: var(--story-font, var(--serif));
16511652
color: var(--story-text-color, var(--text-color));
16521653
background-color: var(--story-background-color, var(--paper-color));
16531654
--header-family: var(--story-subhead-family, var(--sans));
@@ -2477,6 +2478,63 @@ footer {
24772478
justify-self: end;
24782479
}
24792480
}
2481+
/**
2482+
* Author byline
2483+
*/
2484+
.author-byline {
2485+
display: grid;
2486+
gap: var(--byline-gap, 5px);
2487+
font-size: var(--byline-font-size, 14px);
2488+
font-family: var(--header-family);
2489+
color: var(--byline-color, var(--darkgray));
2490+
}
2491+
2492+
.author-name,
2493+
.article-details .viafoura {
2494+
font-weight: bold;
2495+
}
2496+
2497+
.article-details {
2498+
display: flex;
2499+
flex-wrap: wrap;
2500+
justify-content: flex-start;
2501+
overflow: hidden;
2502+
gap: 5px var(--space);
2503+
--link-color: var(--darkgray);
2504+
--line-offset: calc(var(--gap) / 2);
2505+
--line-thickness: 1px;
2506+
--line-color: #d9d9d9;
2507+
}
2508+
2509+
.article-details > * {
2510+
position: relative;
2511+
line-height: normal;
2512+
}
2513+
2514+
.article-details > *::before {
2515+
content: "";
2516+
position: absolute;
2517+
background-color: var(--line-color);
2518+
inline-size: var(--line-thickness);
2519+
block-size: 100vh;
2520+
inset-block-start: 0;
2521+
inset-inline-start: calc(var(--line-offset) * -1);
2522+
z-index: 1;
2523+
}
2524+
2525+
.article-details .comments {
2526+
display: inline-flex;
2527+
gap: 5px;
2528+
}
2529+
2530+
.article-details .comments > svg {
2531+
display: inline-block;
2532+
align-self: center;
2533+
height: 1em;
2534+
padding-top: 2px;
2535+
--fill-color: var(--byline-color);
2536+
}
2537+
24802538
/**
24812539
* Timeline
24822540
*/
@@ -3307,9 +3365,7 @@ custom-digest {
33073365
*/
33083366
.viafoura {
33093367
--dark-text-on-default-color: #0F1521;
3310-
color: #0F1521;
33113368
font-family: "Noto Sans", sans-serif;
3312-
font-size: 16px;
33133369
}
33143370

33153371
.viafoura p,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "saratoga-design-system",
3-
"version": "2.5.7",
3+
"version": "2.6.0",
44
"scripts": {
55
"build": "npx sass --no-source-map builds:dist",
66
"version": "npm run build && git add -A dist",

0 commit comments

Comments
 (0)