style.css 1.12 KB
.markdown {
  float: left;
  padding: 1em;
  border-radius: .5em;
  border: 1px solid #ddd;
  background: #f7f7f7;
}

.markdown p {
  text-align: justify;
  text-indent: .5em;
  margin-block: .5em;
}

.markdown > div:first-child {
  position: fixed;
	width: inherit;
	z-index: 10;
}

.markdown > div:first-child > div {
	position: relative;
  left: .5em;
	width: inherit;
}

.markdown > div:first-child > pre {
  white-space: pre-wrap;
  height: 15em;
	width: calc(100% - 10px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border-radius: .35em;
  border: 2px solid #bbb;
  margin: 2px 0px;
	opacity: .95;
}

.markdown > div:first-child > div > div {
  display: inline;
}

.markdown > div:first-child > div ul {
  height: 15em;
  list-style-type: none;
  margin: 2px 0px;
  overflow-y: auto;
  padding-left: 0px;
  position: absolute;
  scroll-behavior: auto;
  top: 1.8em;
}

.markdown blockquote {
  border-left: 5px solid #ccc;
  margin: .5em 10px;
  padding: .5em 10px;
}

.markdown blockquote p {
  text-align: left;
  text-indent: 0;
  margin-block: 0;
}

.markdown .footnote-definition > * {
  display: inline;
}