
#markdown-editor {
  margin:auto;
  width:100%;
}
#markdown-editor .toolbar {
  background: #4f4f4f;
  border: 1px solid #4f4f4f;
  border-radius: 10px 10px 0 0;
  margin: 0;
  overflow: hidden;
  padding: 0.5rem 10px;
}
#markdown-editor .toolbar button {
  background: transparent;
  border: none;
  color: #fff;
  font-family: sans-serif;
  cursor: pointer;
  padding: 0.7rem;
}

#markdown-editor .toolbar button:hover, #markdown-editor .toolbar button.active {
  background: #424242;
  border-radius: 5px;
  box-shadow: 0 0 2px #5c5c5c inset;
  outline: 0px;
}
#markdown-editor .toolbar button:focus {
  outline: none;
}
#markdown-editor .toolbar .group {
  border-right: 1px solid #a5a5a5;
  margin-right: 4px;
  display: inline;
}
#markdown-editor .toolbar div.group:not(:has(button)) {
  display:contents;
}

#markdown-editor .toolbar:has(.active) button:not(.active),
#markdown-editor .toolbar .disabled,
#markdown-editor .toolbar .disabled  { 
  color:#333;
  pointer-events:none;
}
#markdown-editor #input-output {
  height: 250px;
  width:100%;
  position: relative;
    border: 1px solid #aaaaaa;
  border-radius: 0 0 10px 10px;
  overflow:hidden;
}
#markdown-editor #input-output #id_content {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 10px;
  box-shadow: 0 10px 10px #e0e0e088;
  background:#ffffff88;
  resize: none;
}
#markdown-editor #input-output #input-area:focus, 
#markdown-editor #input-output #input-area:active {
  outline: 0px;
}
#markdown-editor #input-output #output-area {
  background: #ffffff88;
  border-radius: 0 0 10px 10px;
  display: none;
  font-family: sans-serif;
  padding: 10px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 1px;
  left: 1px;
  overflow-y: scroll;
  white-space:break-spaces;
}
#markdown-editor #input-output #output-area.show ul,
div[id] blockquote ul {
  display: block;
}
#markdown-editor #input-output p.preview-message {
  background: #d6d6d6;
  border-radius: 10px 10px 0 0;
  color: #686868;
  border:solid 1px;
  font-family: sans-serif;
  position: absolute;
  bottom:0;
  right: 1em;
  padding: 0.5rem 1rem;
  user-select: none;
  display: none;
  opacity: 0.5;
  margin:0;
}
#markdown-editor #input-output .show {
  display: block !important;
}
#markdown-editor #input-output #output-area.show ~textarea {
  display:none;
}
#markdown-editor :is(pre,code) {
	margin:0;
	padding:0;
}
#markdown-editor :is(code) {
	padding-inline:1ch;
  border-inline-start:solid 1px;
  background:#0002;
}
body :is(.comment blockquote) {
  white-space:break-spaces;	
  line-height:1.35
}
blockquote :is(h1,h2,h3,h4,h5,h6,p) {
	margin:0;
}
body :is(.comment blockquote pre, .comment blockquote pre code ) {
   line-height:1.15;
   margin:0;
   padding:0;
   white-space:preserve;
   
}
body :is( pre code ) {
  background:#0002;
  border-inline-start:solid 1px;
  display:block;
  padding:0 1rem 1em;
  white-space:break-spaces;    
}

