Styles added for Reading time plugin

This commit is contained in:
pmoreno 2023-04-17 20:30:08 +02:00
parent 87aeb60935
commit 2bc11992d4
4 changed files with 25 additions and 3 deletions

13
assets/css/main.css Normal file → Executable file
View file

@ -1405,7 +1405,7 @@ hr.major {
font-weight: 400;
letter-spacing: 0.25em;
text-transform: uppercase;
white-space: nowrap;
white-space: wrap;
}
.author .name {
-moz-transition: border-bottom-color 0.2s ease;
@ -2298,6 +2298,17 @@ ul.posts article header > :last-child {
text-transform: uppercase;
white-space: nowrap;
}
.post > header .meta .reading-time {
color: #2e2e2e;
display: block;
font-family: "Raleway", Helvetica, sans-serif;
font-size: 0.6em;
font-weight: 400;
letter-spacing: 0em;
margin-top: 0.5em;
text-transform: uppercase;
white-space: wrap;
}
.post > a.image.featured {
overflow: hidden;
}

2
assets/css/main.min.css vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
assets/sass/components/_author.scss Normal file → Executable file
View file

@ -17,7 +17,7 @@
font-weight: _font(weight-heading);
letter-spacing: _font(kerning-heading);
text-transform: uppercase;
white-space: nowrap;
white-space: wrap;
.name {
@include vendor('transition', 'border-bottom-color #{_duration(transition)} ease');

11
assets/sass/components/_post.scss Normal file → Executable file
View file

@ -70,6 +70,17 @@
text-transform: uppercase;
white-space: nowrap;
}
.reading-time {
color: _palette(fg);
display: block;
font-family: _font(family-heading);
font-size: 0.6em;
font-weight: _font(weight);
letter-spacing: _font(no-kerning);
margin-top: 0.5em;
text-transform: uppercase;
white-space: wrap;
}
}
}