mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
committed by
Morris Jobke
parent
a6b390d996
commit
2af85243af
@@ -1210,3 +1210,101 @@ li > dl > dt {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/* API doc styles */
|
||||
|
||||
/** Hacky way to display visibility since sphinx-phpdomain currently doesn't seem support them */
|
||||
|
||||
.public:before {
|
||||
content: 'public ';
|
||||
}
|
||||
.private:before {
|
||||
content: 'private ';
|
||||
}
|
||||
.protected:before {
|
||||
content: 'protected ';
|
||||
}
|
||||
.final dt:before{
|
||||
content: 'final ';
|
||||
}
|
||||
.abstract dt:before {
|
||||
content: 'abstract ';
|
||||
}
|
||||
|
||||
/* Apply rtd default styling to prepended visibility strings */
|
||||
.public:before, .private:before {
|
||||
float: left;
|
||||
}
|
||||
.abstract dt:before,
|
||||
.final dt:before {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
dl.class dt,
|
||||
dl.interface dt,
|
||||
dl.trait dt {
|
||||
font-size: 150%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.method > dt,
|
||||
.class > dt,
|
||||
.interface > dt,
|
||||
.trait > dt,
|
||||
.namespace > dt {
|
||||
padding: 3px;
|
||||
background-color: #eeeeee;
|
||||
font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
|
||||
font-size: 90%;
|
||||
}
|
||||
.method:before,
|
||||
.class:before,
|
||||
.interface:before,
|
||||
.trait:before,
|
||||
.namespace:before {
|
||||
padding-left: 10px;
|
||||
padding-top: 1px;
|
||||
background-color: #eeeeee;
|
||||
font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
|
||||
font-size: 90%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.method > dt code,
|
||||
.class > dt code,
|
||||
.interface > dt code,
|
||||
.trait > dt code,
|
||||
.namespace > dt code {
|
||||
background-color: #eeeeee;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
/* Hide Fqsn */
|
||||
.method .descclassname,
|
||||
.attr .descclassname {
|
||||
display: none;
|
||||
}
|
||||
.attr .descname:before {
|
||||
content: '$';
|
||||
}
|
||||
|
||||
.method {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.method dd {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.phpdoctorst th.field-name {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.phpdoctorst .field-body ul {
|
||||
padding-left: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.phpdoctorst .line-block {
|
||||
margin: 0px;
|
||||
}
|
||||
.phpdoctorst .line-block .line-block {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user