php-basics/.phpdoc/template/css/custom.css.twig

135 lines
2.0 KiB
Twig
Raw Normal View History

2024-02-12 18:38:42 +01:00
aside.phpdocumentor-sidebar
{
2024-02-15 10:14:55 +01:00
display: flex;
flex-direction: column;
}
aside.phpdocumentor-sidebar
section.-documentation
{
order: 1;
}
aside.phpdocumentor-sidebar
section.-packages
{
order: 2;
}
aside.phpdocumentor-sidebar
section.-namespaces
{
order: 3;
}
aside.phpdocumentor-sidebar
section.-reports
{
order: 4;
}
aside.phpdocumentor-sidebar
2024-02-15 11:13:57 +01:00
section.-indices
2024-02-15 10:14:55 +01:00
{
order: 5;
}
aside.phpdocumentor-sidebar
ul.phpdocumentor-list
{
padding: 0 var(--spacing-md) !important;
2024-02-10 18:51:27 +01:00
}
2024-03-26 20:10:30 +01:00
p > code,
li > code,
2024-02-12 18:38:42 +01:00
code.prettyprint
{
background-color: var(--code-background-color);
border: 1px solid #f0f0f0;
border-radius: var(--border-radius-base-size);
box-sizing: border-box;
font-size: var(--text-sm);
padding: var(--spacing-xxxs);
}
2024-02-12 18:38:42 +01:00
2024-03-26 20:10:30 +01:00
@media (max-width: 999px) {
div.admonition-wrapper
{
display: none;
}
}
@media (min-width: 1000px) {
div.admonition-wrapper
{
display: block;
float: right;
padding: var(--spacing-md);
margin: 0 0 var(--spacing-md) var(--spacing-md);
width: auto;
font-size: var(--text-sm);
border: 1px solid var(--primary-color-lighten);
}
}
div.admonition-wrapper
p.sidebar-title
{
font-weight: bold;
}
div.contents
ul.phpdocumentor-list
{
margin-bottom: 0;
}
2024-02-15 10:14:55 +01:00
div.phpdocumentor-content
div.section
ul
{
padding-left: var(--spacing-lg);
}
div.phpdocumentor-content
div.section
ul
li
{
padding-bottom: 0;
}
2024-02-12 18:38:42 +01:00
dl.phpdocumentor-table-of-contents
dt.phpdocumentor-table-of-contents__entry.-documentation:before
{
content: 'D';
}
h2.phpdocumentor-content__title
{
display: flex;
flex-direction: column;
}
h2.phpdocumentor-content__title
div.phpdocumentor-element__package
{
order: 1;
}
h2.phpdocumentor-content__title
span.phpdocumentor-element__extends,
h2.phpdocumentor-content__title
span.phpdocumentor-element__implements
{
font-size: calc(var(--text-xxs) / 1.2 / 1.2);
order: 2;
}
h2.phpdocumentor-content__title
span:first-letter
{
text-transform: lowercase;
}