diff options
author | guangmean <angularcorp@outlook.com> | 2019-04-09 10:21:18 +0300 |
---|---|---|
committer | guangmean <angularcorp@outlook.com> | 2019-04-09 10:21:18 +0300 |
commit | 658c185abca6b1a980953887ac1a54da152a7d88 (patch) | |
tree | 59e424dda6ef9481e80fac55ec6a4b18516d6d3f | |
parent | 8b6eda593cf5f70ab267e748953d53cb528c85f8 (diff) |
Highlight compatible of long line
-rw-r--r-- | static/css/diello.css | 5 | ||||
-rwxr-xr-x | static/css/main.css | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/static/css/diello.css b/static/css/diello.css index b9ef7c4..8ff32f5 100644 --- a/static/css/diello.css +++ b/static/css/diello.css @@ -176,8 +176,9 @@ footer { /******************highlight.js override*************/ .hljs { - background : rgba(51, 51, 51, 0.5); + background : rgba(255, 255, 255, 0.2); + width : 800px; color : #ccc; font-family : Museo100; - border-radius : 10px; + border-radius : 16px; } diff --git a/static/css/main.css b/static/css/main.css index 30c46b7..999d78f 100755 --- a/static/css/main.css +++ b/static/css/main.css @@ -231,6 +231,11 @@ textarea { flex-basis : 98%; padding : 0 16px; } + + .hljs { + width : 90vw; + } + } @media print, |