Fix preview comments in isso

This commit is contained in:
Arkadiusz Wieczorek 2022-01-10 13:46:09 +01:00
parent dfe6095224
commit 861744330d
9 changed files with 18 additions and 14 deletions

View File

@ -1,2 +1,2 @@
a,abbr,acronym,address,applet,article,aside,audio,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,ul,var,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}img{max-width:100%}html{box-sizing:border-box;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:inherit}a{background-color:transparent}a:active,a:hover{outline:0}b,strong{font-weight:700}dfn,em,i{font-style:italic}h1{margin:.67em 0;font-size:2em}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}mark{background-color:#fdffb6}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;color:inherit;font:inherit}button{overflow:visible;border:none}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input:focus{outline:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}legend{padding:0;border:0}textarea{overflow:auto}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}html{overflow-y:scroll;font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{overflow-x:hidden}body{color:#313b3f;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:1.6rem;line-height:1.6em;font-weight:400;font-style:normal;letter-spacing:0;text-rendering:optimizeLegibility;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on}::-moz-selection{text-shadow:none;background:#cbeafb}::selection{text-shadow:none;background:#cbeafb}hr{position:relative;display:block;width:100%;margin:2.5em 0 3.5em;padding:0;height:1px;border:0;border-top:1px solid #e3e9ed}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{margin:0;padding:0;border:0}textarea{resize:vertical}blockquote,dl,ol,p,ul{margin:0 0 1.5em}ol,ul{padding-left:1.3em;padding-right:1.5em}ol ol,ol ul,ul ol,ul ul{margin:.5em 0 1em}ul{list-style:disc}ol{list-style:decimal}ol,ul{max-width:100%}li{margin:.5em 0;padding-left:.3em;line-height:1.6em}dt{float:left;margin:0 20px 0 0;width:120px;color:#15171a;font-weight:500;text-align:right}dd{margin:0 0 5px;text-align:left}blockquote{margin:1.5em 0;padding:0 1.6em;border-left:.5em solid #e5eff5}blockquote p{margin:.8em 0;font-size:1.2em;font-weight:300}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;opacity:.8}blockquote small:before{content:"\2014 \00A0"}blockquote cite{font-weight:700}blockquote cite a{font-weight:400}a{color:#26a8ed;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,h5,h6{margin-top:0;line-height:1.15;font-weight:600;text-rendering:optimizeLegibility}h1{margin:0 0 .5em;font-size:5.5rem;font-weight:600}@media (max-width:500px){h1{font-size:2.2rem}}h2{margin:1.5em 0 .5em;font-size:2.2rem}@media (max-width:500px){h2{font-size:1.8rem}}h3{margin:1.5em 0 .5em;font-size:1.8rem;font-weight:500}@media (max-width:500px){h3{font-size:1.7rem}}h4{margin:1.5em 0 .5em;font-size:1.6rem;font-weight:500}h5,h6{margin:1.5em 0 .5em;font-size:1.4rem;font-weight:500}.isso-postbox>.form-wrapper>.auth-section .post-action>input:hover{background-color:#ddd}.isso-postbox>.form-wrapper>.auth-section .input-wrapper input{padding:.5rem;max-width:100%;border-radius:3px;background-color:#fff;line-height:1.4em;border:1px solid rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.1);margin-right:.5rem;color:#666}.isso-comment>div.text-wrapper>.isso-comment-header .author{font-weight:700;color:#666}.isso-postbox>.form-wrapper>.auth-section .post-action>input{padding:.5rem 1rem!important;border-radius:2px;border:1px solid #ccc;background-color:#ddd;cursor:pointer;outline:0;line-height:1.4em;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#222}#isso-thread>h4{color:#777;font-weight:700}
a,abbr,acronym,address,applet,article,aside,audio,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,ul,var,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}img{max-width:100%}html{box-sizing:border-box;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:inherit}a{background-color:transparent}a:active,a:hover{outline:0}b,strong{font-weight:700}dfn,em,i{font-style:italic}h1{margin:.67em 0;font-size:2em}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}mark{background-color:#fdffb6}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;color:inherit;font:inherit}button{overflow:visible;border:none}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input:focus{outline:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}legend{padding:0;border:0}textarea{overflow:auto}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}html{overflow-y:scroll;font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{overflow-x:hidden}body{color:#313b3f;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:1.6rem;line-height:1.6em;font-weight:400;font-style:normal;letter-spacing:0;text-rendering:optimizeLegibility;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on}::-moz-selection{text-shadow:none;background:#99d6ff}::selection{text-shadow:none;background:#99d6ff}hr{position:relative;display:block;width:100%;margin:2.5em 0 3.5em;padding:0;height:1px;border:0;border-top:1px solid #e3e9ed}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{margin:0;padding:0;border:0}textarea{resize:vertical}blockquote,dl,ol,p,ul{margin:0 0 1.5em}ol,ul{padding-left:1.3em;padding-right:1.5em}ol ol,ol ul,ul ol,ul ul{margin:.5em 0 1em}ul{list-style:disc}ol{list-style:decimal}ol,ul{max-width:100%}li{margin:.5em 0;padding-left:.3em;line-height:1.6em}dt{float:left;margin:0 20px 0 0;width:120px;color:#15171a;font-weight:500;text-align:right}dd{margin:0 0 5px;text-align:left}blockquote{margin:1.5em 0;padding:0 1.6em;border-left:.5em solid #e5eff5}blockquote p{margin:.8em 0;font-size:1.2em;font-weight:300}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;opacity:.8}blockquote small:before{content:"\2014 \00A0"}blockquote cite{font-weight:700}blockquote cite a{font-weight:400}a{color:#008ae6;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,h5,h6{margin-top:0;line-height:1.15;font-weight:600;text-rendering:optimizeLegibility}h1{margin:0 0 .5em;font-size:5.5rem;font-weight:600}@media (max-width:500px){h1{font-size:2.2rem}}h2{margin:1.5em 0 .5em;font-size:2.2rem}@media (max-width:500px){h2{font-size:1.8rem}}h3{margin:1.5em 0 .5em;font-size:1.8rem;font-weight:500}@media (max-width:500px){h3{font-size:1.7rem}}h4{margin:1.5em 0 .5em;font-size:1.6rem;font-weight:500}h5,h6{margin:1.5em 0 .5em;font-size:1.4rem;font-weight:500}.isso-postbox>.form-wrapper>.auth-section .post-action>input:hover{background-color:#ddd}.isso-postbox>.form-wrapper>.auth-section .input-wrapper input{padding:.5rem;max-width:100%;border-radius:3px;background-color:#fff;line-height:1.4em;border:1px solid rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.1);margin-right:.5rem;color:#666}.isso-comment>div.text-wrapper>.isso-comment-header .author{font-weight:700;color:#666}.isso-postbox>.form-wrapper>.auth-section .post-action>input{padding:.5rem 1rem!important;border-radius:2px;border:1px solid #ccc;background-color:#ddd;cursor:pointer;outline:0;line-height:1.4em;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#222}#isso-thread>h4{color:#777;font-weight:700}
/*# sourceMappingURL=global.css.map */

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
.isso-postbox>.form-wrapper>.auth-section .post-action>input:hover{background-color:#ddd}.isso-postbox>.form-wrapper>.auth-section .input-wrapper input{padding:.5rem;max-width:100%;border-radius:3px;background-color:#fff;line-height:1.4em;border:1px solid rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.1);margin-right:.5rem;color:#222}.isso-comment>div.text-wrapper>.isso-comment-header .author{font-weight:700;color:#222}.isso-postbox>.form-wrapper>.auth-section .post-action>input{padding:.5rem 1rem!important;border-radius:2px;border:1px solid #ccc;background-color:#ddd;cursor:pointer;outline:0;line-height:1.4em;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#222}#isso-thread>h4{color:#777;font-weight:700}#isso-thread img{border-radius:50%}#isso-thread .textarea{color:#222}
.isso-postbox>.form-wrapper>.auth-section .post-action>input:hover{background-color:#ddd}.isso-postbox>.form-wrapper>.auth-section .input-wrapper input{padding:.5rem;max-width:100%;border-radius:3px;background-color:#fff;line-height:1.4em;border:1px solid rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.1);margin-right:.5rem;color:#222}.isso-postbox .textarea{color:#222}.isso-postbox .preview{color:#000}.isso-comment>div.text-wrapper>.isso-comment-header .author{font-weight:700;color:#222}.isso-postbox>.form-wrapper>.auth-section .post-action>input{padding:.5rem 1rem!important;border-radius:2px;border:1px solid #ccc;background-color:#ddd;cursor:pointer;outline:0;line-height:1.4em;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#222}#isso-thread>h4{color:#777;font-weight:700}#isso-thread img{border-radius:50%}
/*# sourceMappingURL=isso.css.map */

View File

@ -1 +1 @@
{"version":3,"sources":["isso.css"],"names":[],"mappings":"AAAA,mEACI,qBACJ,CAEA,+DACI,aAAe,CACf,cAAe,CACf,iBAAkB,CAClB,qBAAsB,CACtB,iBAAkB,CAClB,+BAAoC,CACpC,mCAAwC,CACxC,kBAAoB,CACpB,UACJ,CAEA,4DACI,eAAiB,CACjB,UACJ,CAEA,6DACI,4BAA+B,CAC/B,iBAAkB,CAClB,qBAAsB,CACtB,qBAAsB,CACtB,cAAe,CACf,SAAU,CACV,iBAAkB,CAClB,mCAAwC,CACxC,UACJ,CAEA,gBACI,UAAW,CACX,eACJ,CAEA,iBACI,iBACJ,CAEA,uBACI,UACJ","file":"isso.css","sourcesContent":[".isso-postbox > .form-wrapper > .auth-section .post-action > input:hover {\n background-color: #ddd;\n}\n\n.isso-postbox > .form-wrapper > .auth-section .input-wrapper input {\n padding: 0.5rem;\n max-width: 100%;\n border-radius: 3px;\n background-color: #fff;\n line-height: 1.4em;\n border: 1px solid rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n margin-right: 0.5rem;\n color: #222;\n}\n\n.isso-comment > div.text-wrapper > .isso-comment-header .author {\n font-weight: bold;\n color: #222;\n}\n\n.isso-postbox > .form-wrapper > .auth-section .post-action > input {\n padding: 0.5rem 1rem !important;\n border-radius: 2px;\n border: 1px solid #ccc;\n background-color: #ddd;\n cursor: pointer;\n outline: 0;\n line-height: 1.4em;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n color: #222;\n}\n\n#isso-thread > h4 {\n color: #777;\n font-weight: bold;\n}\n\n#isso-thread img {\n border-radius: 50%;\n}\n\n#isso-thread .textarea {\n color: #222;\n}"]}
{"version":3,"sources":["isso.css"],"names":[],"mappings":"AAAA,mEACI,qBACJ,CAEA,+DACI,aAAe,CACf,cAAe,CACf,iBAAkB,CAClB,qBAAsB,CACtB,iBAAkB,CAClB,+BAAoC,CACpC,mCAAwC,CACxC,kBAAoB,CACpB,UACJ,CAEA,wBACI,UACJ,CAEA,uBACI,UACJ,CAEA,4DACI,eAAiB,CACjB,UACJ,CAEA,6DACI,4BAA+B,CAC/B,iBAAkB,CAClB,qBAAsB,CACtB,qBAAsB,CACtB,cAAe,CACf,SAAU,CACV,iBAAkB,CAClB,mCAAwC,CACxC,UACJ,CAEA,gBACI,UAAW,CACX,eACJ,CAEA,iBACI,iBACJ","file":"isso.css","sourcesContent":[".isso-postbox > .form-wrapper > .auth-section .post-action > input:hover {\n background-color: #ddd;\n}\n\n.isso-postbox > .form-wrapper > .auth-section .input-wrapper input {\n padding: 0.5rem;\n max-width: 100%;\n border-radius: 3px;\n background-color: #fff;\n line-height: 1.4em;\n border: 1px solid rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n margin-right: 0.5rem;\n color: #222;\n}\n\n.isso-postbox .textarea {\n color: #222;\n}\n\n.isso-postbox .preview {\n color: #000;\n}\n\n.isso-comment > div.text-wrapper > .isso-comment-header .author {\n font-weight: bold;\n color: #222;\n}\n\n.isso-postbox > .form-wrapper > .auth-section .post-action > input {\n padding: 0.5rem 1rem !important;\n border-radius: 2px;\n border: 1px solid #ccc;\n background-color: #ddd;\n cursor: pointer;\n outline: 0;\n line-height: 1.4em;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n color: #222;\n}\n\n#isso-thread > h4 {\n color: #777;\n font-weight: bold;\n}\n\n#isso-thread img {\n border-radius: 50%;\n}\n"]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,10 +3,10 @@
:root {
/* Colours */
--blue: #3eb0ef;
--green: #a4d037;
--blue: #009aff;
--green: #00e88f;
--purple: #ad26b4;
--yellow: #fecd35;
--yellow: #ffee2c;
--red: #f05230;
--darkgrey: #15171a;
--midgrey: #738a94;

View File

@ -14,6 +14,14 @@
color: #222;
}
.isso-postbox .textarea {
color: #222;
}
.isso-postbox .preview {
color: #000;
}
.isso-comment > div.text-wrapper > .isso-comment-header .author {
font-weight: bold;
color: #222;
@ -39,7 +47,3 @@
#isso-thread img {
border-radius: 50%;
}
#isso-thread .textarea {
color: #222;
}

View File

@ -669,7 +669,7 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
margin: 0 0 0.2em;
color: var(--blue);
font-size: 1.2rem;
font-weight: 500;
font-weight: 600;
letter-spacing: 0.2px;
text-transform: uppercase;
}