_sass/addon/commons.scss in jekyll-theme-chirpy-6.3.1 vs _sass/addon/commons.scss in jekyll-theme-chirpy-6.4.0
- old
+ new
@@ -83,11 +83,16 @@
blockquote {
border-left: 5px solid var(--blockquote-border-color);
padding-left: 1rem;
color: var(--blockquote-text-color);
+ display: flex;
+ > p:last-child {
+ margin-bottom: 0;
+ }
+
&[class^='prompt-'] {
border-left: 0;
position: relative;
padding: 1rem 1rem 1rem 3rem;
color: var(--prompt-text-color);
@@ -101,14 +106,10 @@
left: 0.25rem;
margin-top: 0.4rem;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
-
- > p:last-child {
- margin-bottom: 0;
- }
}
@include prompt('tip', '\f0eb', 'regular');
@include prompt('info', '\f06a');
@include prompt('warning', '\f06a');
@@ -549,11 +550,12 @@
height: 100%;
margin-bottom: 1rem;
@extend %rounded;
- &.youtube {
+ &.youtube,
+ &.bilibili {
aspect-ratio: 16 / 9;
}
&.twitch {
aspect-ratio: 310 / 189;
@@ -638,15 +640,15 @@
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.left {
float: left;
- margin: 0.75rem 1rem 1rem 0 !important;
+ margin: 0.75rem 1rem 1rem 0;
}
.right {
float: right;
- margin: 0.75rem 0 1rem 1rem !important;
+ margin: 0.75rem 0 1rem 1rem;
}
/* --- Overriding --- */
/* magnific-popup */