Skip to content

Commit

Permalink
Add figcaption background to protip module.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbirchard committed Aug 14, 2024
1 parent e24cb2d commit c329154
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/built/page.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/post.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions src/scss/kg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,13 @@ make sure they look good, and are given a bit of extra spacing. */
border-radius: 4px;

.kg-callout-emoji {
font-size: 1.15em !important;
margin-bottom: 5px;
line-height: 1.2em;
font-size: 1.1em !important;
background: #cc9b457a;
padding: 12px;
width: 117%;
margin: -20px -26px 16px;
letter-spacing: .1px;

&::after {
content: "Protip";
Expand All @@ -317,7 +322,7 @@ make sure they look good, and are given a bit of extra spacing. */
}

.kg-callout-text {
color: #694503;
color: #dc9c5ca1;
font-size: 1em !important;

a {
Expand Down
6 changes: 3 additions & 3 deletions src/scss/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
}

.series-toc {
border-bottom: 1px solid #eaeaea;
border-bottom: 1px solid #d2d5d8;
margin: 20px 0 0;
overflow: hidden;
padding: 0 0 20px;
Expand Down Expand Up @@ -332,7 +332,7 @@
}

@media(max-width: $mobile-breakpoint) {
line-height: 1.2;
line-height: 1.1;
}

&::before {
Expand Down Expand Up @@ -767,4 +767,4 @@
&:hover {
cursor: zoom-out;
}
}
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4488,9 +4488,9 @@ terser-webpack-plugin@^5.3.10:
terser "^5.26.0"

terser@^5.26.0:
version "5.31.5"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.5.tgz#e48b7c65f32d2808e7dad803e4586a0bc3829b87"
integrity sha512-YPmas0L0rE1UyLL/llTWA0SiDOqIcAQYLeUj7cJYzXHlRTAnMSg9pPe4VJ5PlKvTrPQsdVFuiRiwyeNlYgwh2Q==
version "5.31.6"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.6.tgz#c63858a0f0703988d0266a82fcbf2d7ba76422b1"
integrity sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==
dependencies:
"@jridgewell/source-map" "^0.3.3"
acorn "^8.8.2"
Expand Down Expand Up @@ -4614,9 +4614,9 @@ [email protected]:
extsprintf "^1.2.0"

watchpack@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.1.tgz#29308f2cac150fa8e4c92f90e0ec954a9fed7fff"
integrity sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==
version "2.4.2"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.2.tgz#2feeaed67412e7c33184e5a79ca738fbd38564da"
integrity sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==
dependencies:
glob-to-regexp "^0.4.1"
graceful-fs "^4.1.2"
Expand Down

0 comments on commit c329154

Please sign in to comment.