[css] highlight sections
This commit is contained in:
parent
c22ca1d024
commit
3901003ae0
11 changed files with 83 additions and 4 deletions
|
@ -64,6 +64,18 @@ section h2 { font-size: 120%; font-weight: bold; }
|
|||
|
||||
section h3 { font-size: 100%; font-weight: bold; }
|
||||
|
||||
section.subsection {
|
||||
background-color: #fff;
|
||||
padding: 5px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
details { border-radius: 10px; padding: 5px 20px; margin-top: 0.5em; }
|
||||
|
||||
details { background-color: #f7f7f7; }
|
||||
|
||||
details[open] summary { margin-bottom: 1em; }
|
||||
|
||||
h1 {
|
||||
padding: 0.2em 0 0.2em 0.5em;
|
||||
margin: 1.0em 0 0.2em -0.5em; }
|
||||
|
@ -104,10 +116,6 @@ tr { border-bottom: 1px dotted $tr-rule; }
|
|||
table.bordered { border-collapse: collapse; margin: 1em 0; }
|
||||
table.bordered tr { border-top: 1px solid #bbb; border-bottom: 1px solid #bbb; }
|
||||
|
||||
details { margin-top: 1em; padding: 0.5em; background-color: #fff; }
|
||||
|
||||
details[open] summary { margin-bottom: 1em; }
|
||||
|
||||
:target { color: #5151ff; background-color: yellow; }
|
||||
|
||||
.non_full { width: auto; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue