From 858555ae84518922aa0715c405ae6192ba873335 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 15 Jun 2020 11:00:24 -0400 Subject: [PATCH] Update inline code bg --- _drafts/2020-06-07-32u4-usart.md | 11 +++++++++++ _posts/2020-06-05-32u4-upload.md | 2 +- assets/css/main.css | 21 +++++++++++++++------ 3 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 _drafts/2020-06-07-32u4-usart.md diff --git a/_drafts/2020-06-07-32u4-usart.md b/_drafts/2020-06-07-32u4-usart.md new file mode 100644 index 0000000..fa22728 --- /dev/null +++ b/_drafts/2020-06-07-32u4-usart.md @@ -0,0 +1,11 @@ +--- +layout: post +title: "Giving an ATmega32u4 UART capability" +description: "Sometimes a CPU has too many extra features" +date: 2020-06-07 14:15:00 +categories: avr 32u4 usart lowlevel +redirect_from: + - /post/61f9kjlf/ + - /61f9kjlf/ +--- + diff --git a/_posts/2020-06-05-32u4-upload.md b/_posts/2020-06-05-32u4-upload.md index d9dc3c9..06db530 100644 --- a/_posts/2020-06-05-32u4-upload.md +++ b/_posts/2020-06-05-32u4-upload.md @@ -3,7 +3,7 @@ layout: post title: "Flashing code to a 32u4 chip" description: "Notes for my future self" date: 2020-06-05 13:23:00 -categories: avr 32u4 +categories: avr 32u4 lowlevel redirect_from: - /post/65f9kjl4/ - /65f9kjl4/ diff --git a/assets/css/main.css b/assets/css/main.css index dbebde5..ae876a8 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -280,10 +280,10 @@ a h5 { background-color: #fff; } -.title.container{ - text-align:center; - padding-top:15px; - padding-bottom:15px; +.title.container { + text-align: center; + padding-top: 15px; + padding-bottom: 15px; padding-left: 20px; font-family: 'IBM Plex Sans', sans-serif; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.19); @@ -292,8 +292,8 @@ a h5 { background-color: #fff; } -.post-date{ - color:rgba(182, 182, 182, 0.602); +.post-date { + color: rgba(182, 182, 182, 0.602); } #advert { @@ -516,4 +516,13 @@ pre { display: block; height: 40px; margin-top: -40px; +} + +code.highlighter-rouge { + padding-left: 6px; + padding-right: 6px; + overflow: auto; + background-color: #f6f8fa; + border-radius: 3px; + color: #212529; } \ No newline at end of file