Browse Source

Don't break words in code lines

master
angristan 10 months ago
parent
commit
46efb03afc
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      assets/built/custom.css
  2. +1
    -1
      assets/built/custom.css.map
  3. +6
    -0
      assets/css/custom.css

+ 1
- 1
assets/built/custom.css View File

@@ -1,2 +1,2 @@
@font-face{font-family:Source Sans Pro;font-style:normal;font-weight:400;src:url(../fonts/source-sans-pro-v11-latin-regular.eot);src:local("Source Sans Pro Regular"),local("SourceSansPro-Regular"),url(../fonts/source-sans-pro-v11-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/source-sans-pro-v11-latin-regular.woff2) format("woff2"),url(../fonts/source-sans-pro-v11-latin-regular.woff) format("woff"),url(../fonts/source-sans-pro-v11-latin-regular.ttf) format("truetype"),url(../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro) format("svg")}.post-card-excerpt,.post-full-content,.post-full-content h5,.site-header-content .author-meta,.subscribe-overlay-description{font-family:Source Sans Pro,Georgia,serif}.post-full-content{font-size:1.9rem}.post-full-content h2{margin:.5em 0;font-size:3rem}#isso-thread{padding:0 100px!important}@media (max-width:1170px){#isso-thread{padding:5vw 7vw 0!important}}@media (max-width:500px){#isso-thread{padding:0!important}}.post-full-footer{padding:3vw 0}@media (min-width:900px){.floating-header{height:50px}}.post-template .post-content>p:first-child{font-size:inherit;line-height:inherit}.site-footer{padding-bottom:20px}.author-card-name{padding:0 0 5px}.post-full-content img,.post-full-content video{margin:.5em auto}.post-full-content pre{margin:0 0 2em}.post-full-header{padding:3vw}@media (max-width:500px){.post-full-header{padding:10vw 3vw 8vw}}.post-full-image{display:block;margin:auto}.post-full-image img{height:100%!important}@media (max-width:500px){.post-full-image{height:100%!important}}.post-full-content:after,.post-full-content:before{display:none}@media (max-width:500px){.post-full-content{padding:30px 0 0}}.floating-header-blog-title{margin-right:1px}.isso-comment-footer svg{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.isso-comment-footer .downvote svg{-webkit-transform:translateY(-5px) translateX(3px);transform:translateY(-5px) translateX(3px)}.isso-comment-footer .reply{display:inline-block;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.isso-comment-footer .votes{display:inline-block;-webkit-transform:translateY(2px);transform:translateY(2px)}.kg-image-card figcaption{margin:0}code,kbd,pre,samp{font-family:Menlo,DejaVu Sans Mono,Liberation Mono,Consolas,Ubuntu Mono,Courier New,andale mono,lucida console,monospace}.post-full-content h4{font-size:2.4rem}.avatar img{border-radius:10px}.kg-image-card figcaption{margin-top:10px}
@font-face{font-family:Source Sans Pro;font-style:normal;font-weight:400;src:url(../fonts/source-sans-pro-v11-latin-regular.eot);src:local("Source Sans Pro Regular"),local("SourceSansPro-Regular"),url(../fonts/source-sans-pro-v11-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/source-sans-pro-v11-latin-regular.woff2) format("woff2"),url(../fonts/source-sans-pro-v11-latin-regular.woff) format("woff"),url(../fonts/source-sans-pro-v11-latin-regular.ttf) format("truetype"),url(../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro) format("svg")}.post-card-excerpt,.post-full-content,.post-full-content h5,.site-header-content .author-meta,.subscribe-overlay-description{font-family:Source Sans Pro,Georgia,serif}.post-full-content{font-size:1.9rem}.post-full-content h2{margin:.5em 0;font-size:3rem}#isso-thread{padding:0 100px!important}@media (max-width:1170px){#isso-thread{padding:5vw 7vw 0!important}}@media (max-width:500px){#isso-thread{padding:0!important}}.post-full-footer{padding:3vw 0}@media (min-width:900px){.floating-header{height:50px}}.post-template .post-content>p:first-child{font-size:inherit;line-height:inherit}.site-footer{padding-bottom:20px}.author-card-name{padding:0 0 5px}.post-full-content img,.post-full-content video{margin:.5em auto}.post-full-content pre{margin:0 0 2em}.post-full-header{padding:3vw}@media (max-width:500px){.post-full-header{padding:10vw 3vw 8vw}}.post-full-image{display:block;margin:auto}.post-full-image img{height:100%!important}@media (max-width:500px){.post-full-image{height:100%!important}}.post-full-content:after,.post-full-content:before{display:none}@media (max-width:500px){.post-full-content{padding:30px 0 0}}.floating-header-blog-title{margin-right:1px}.isso-comment-footer svg{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.isso-comment-footer .downvote svg{-webkit-transform:translateY(-5px) translateX(3px);transform:translateY(-5px) translateX(3px)}.isso-comment-footer .reply{display:inline-block;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.isso-comment-footer .votes{display:inline-block;-webkit-transform:translateY(2px);transform:translateY(2px)}.kg-image-card figcaption{margin:0}code,kbd,pre,samp{font-family:Menlo,DejaVu Sans Mono,Liberation Mono,Consolas,Ubuntu Mono,Courier New,andale mono,lucida console,monospace}.post-full-content h4{font-size:2.4rem}.avatar img{border-radius:10px}.kg-image-card figcaption{margin-top:10px}.post-full-content p code{word-break:inherit}
/*# sourceMappingURL=custom.css.map */

+ 1
- 1
assets/built/custom.css.map
File diff suppressed because it is too large
View File


+ 6
- 0
assets/css/custom.css View File

@@ -203,3 +203,9 @@ samp {
.kg-image-card figcaption {
margin-top: 10px;
}

/* Don't break words in code lines */

.post-full-content p code {
word-break: inherit;
}

Loading…
Cancel
Save