style tweaks for code and code blocks

This commit is contained in:
Are0h 2020-09-05 10:23:15 -07:00
parent 762fcbfbad
commit 2acaaaacbc
2 changed files with 18 additions and 1 deletions

View file

@ -10,7 +10,9 @@ module.exports = {
default_bg: '/assets/images/global/default-bg.jpg', default_bg: '/assets/images/global/default-bg.jpg',
default_avi: '/assets/images/global/default-avi.png', default_avi: '/assets/images/global/default-avi.png',
content: content:
"<img src='/assets/images/global/default-avi.png'><br>The path of the <a href='#'>righteous</a> man is beset on ALL sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee.", "<img src='/assets/images/global/default-avi.png'><br>The path of the <a href='#'>righteous</a> man is beset on ALL sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. <code>And I will strike down upon thee with great vengeance</code> and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee." +
'<pre><code>' +
"server { listen 80; server_name yourcoolassdomain.com; location / { proxy_pass https://127.0.0.1:2314; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } </code></pre>",
bucket: [{ item: 'one' }, { item: 'two' }, { item: 'three' }], bucket: [{ item: 'one' }, { item: 'two' }, { item: 'three' }],
tag_list: [{ title: 'Swaggy Disgust', slug: 'swaggy-disgust', path: '2020/06' }], tag_list: [{ title: 'Swaggy Disgust', slug: 'swaggy-disgust', path: '2020/06' }],
meta: { meta: {

View file

@ -25,6 +25,21 @@ a
&:hover &:hover
border-bottom 1px solid $secondary border-bottom 1px solid $secondary
code
background $black
color $highlight
border-radius 3px
padding 3px
pre
background $black
color $highlight
border-radius 3px
padding 3px
code
color $secondary
background none
svg.icons svg.icons
width 25px width 25px
fill $white fill $white