Template:TemplateDocumentationStart/styles.css: Difference between revisions

From Tomba! Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
   background: rgba(255, 255, 255, 0.7);
   background: rgba(255, 255, 255, 0.7);
}
}
.section.examples .content {
.section.multiline .content {
   background: white;
   background: white;
   border-top: 1px solid #c6deff;
   border-top: 1px solid #c6deff;

Revision as of 17:03, 24 May 2020

.main {
  border: 1px solid #a3caff;
  background-color: #eaf3ff;
  border-radius: 3px;
  overflow: hidden;
}
.section:not(.top) {
  border-top: 1px solid #a3caff;
  padding: 0.3em 0;
}
.section.top .heading {
  background: #c2dcff;
}

.section > div {
  padding: 0.4em 0.6em 0.25em;
}
.section .heading {
  font-weight: bold;
}
.section.usage .content {
  margin-bottom: 0.5em;
}
.section.usage .content code {
  padding: 0.8em 1em;
  border: 1px solid #bbb;
  border-radius: 0px;
  display: block;
  background: rgba(255, 255, 255, 0.7);
}
.section.multiline .content {
  background: white;
  border-top: 1px solid #c6deff;
  border-bottom: 1px solid #c6deff;
}
.tpl-documentation-argument {
  display: flex;
}
.argument-name {
  flex-basis: 26%;
}
.argument-name code {
  padding: 0 0 0 1em;
}
.argument-name code:before {
  content: '•';
  display: inline-block;
}
.argument-desc {
  padding-left: 2.5em;
}