mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-01 04:39:12 -04:00
Add recipe for doc assets and some basic styling for the generated docs.
This commit is contained in:
parent
3d1fd05085
commit
7a8401c363
3 changed files with 53 additions and 4 deletions
44
doc/_assets/style.css
Normal file
44
doc/_assets/style.css
Normal file
|
@ -0,0 +1,44 @@
|
|||
body.apidoc {
|
||||
width: 60%;
|
||||
min-width: 10cm;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#header {
|
||||
background-color: #5a5;
|
||||
padding: 10px;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
a,
|
||||
a:active {
|
||||
color: #272;
|
||||
}
|
||||
a:focus,
|
||||
a:hover {
|
||||
color: #050;
|
||||
}
|
||||
|
||||
#apicontent a.mark,
|
||||
#apicontent a.mark:active {
|
||||
float: right;
|
||||
color: #BBB;
|
||||
font-size: 0.7cm;
|
||||
text-decoration: none;
|
||||
}
|
||||
#apicontent a.mark:focus,
|
||||
#apicontent a.mark:hover {
|
||||
color: #AAA;
|
||||
}
|
||||
|
||||
#apicontent code {
|
||||
padding: 1px;
|
||||
background-color: #EEE;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #DDD;
|
||||
}
|
||||
#apicontent pre>code {
|
||||
display: block;
|
||||
overflow: auto;
|
||||
padding: 5px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue