Template:TemplateDocumentationStart/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.section .content | .section.usage .content { | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | |||
.section.examples .content { | |||
background: white; | |||
border-top: 1px solid #c6deff; | |||
border-bottom: 1px solid #c6deff; | |||
} | } | ||
.section .content.usage code { | .section .content.usage code { |
Revision as of 16:59, 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.examples .content { background: white; border-top: 1px solid #c6deff; border-bottom: 1px solid #c6deff; } .section .content.usage code { padding: 0.8em 1em; border: 1px solid #bbb; border-radius: 0px; display: block; background: rgba(255, 255, 255, 0.7); } .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; }