You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

167 lines
4.2 KiB

:root {
/* #7a4482; hsl(292, 31%, 39%); */
--spip-primary-color: #7a4482;
--primary-color-hue: 292;
--primary-color-saturation: 31%;
--primary-color-lighter: hsl(var(--primary-color-hue), var(--primary-color-saturation), 98%);
--spip-name-color: #e05a00;
--spip-type-color: #5a852a;
--spip-visibility-color: #0d73bc;
--spip-argument-color: #93347f;
--spip-argument-value-color: #637986;
--spip-dark-color: hsl(var(--primary-color-hue), 20%, 45%);
--spip-tag-color: var(--spip-dark-color);
--spip-padding-x: 1rem;
--spip-padding-y: 1rem;
--spip-padding-x-neg: calc(-1 * var(--spip-padding-x));
--spip-padding-y-neg: calc(-1 * var(--spip-padding-y));
--spip-border-size: 3px;
--spip-border-radius: 10px;
}
a.link-out:after,
a[href^="http://"]:after,
a[href^="https://"]:after {
content: "⬈";
}
.phpdocumentor-signature__name {
color: var(--spip-name-color);
}
.phpdocumentor-signature__visibility,
.phpdocumentor-signature__static,
.phpdocumentor-signature__readonly {
color: var(--spip-visibility-color);
}
.phpdocumentor-signature__type {
color: var(--spip-type-color);
}
.phpdocumentor-signature__default-value {
color: var(--spip-argument-value-color);
}
.phpdocumentor-signature__response_type {
color: var(--spip-type-color);
}
.phpdocumentor-signature__argument__name {
color: var(--spip-argument-color);
}
.phpdocumentor-signature__argument__return-type {
color: var(--spip-type-color);
}
.phpdocumentor-signature__argument__default-value {
color: var(--spip-argument-value-color);
}
.phpdocumentor-elements__header {
position: relative;
margin-top: calc(3 * var(--spacing-lg)) !important;
margin-bottom: calc(3 * var(--spacing-lg)) !important;
}
.phpdocumentor-elements__header:before {
position:absolute;
z-index: -1;
top: var(--spip-padding-y-neg);
bottom: var(--spip-padding-y-neg);
left: var(--spip-padding-x-neg);
right: var(--spip-padding-x-neg);
content: "";
display: block;
background-color: var(--primary-color-lighter);
border-bottom: var(--spip-border-size) solid var(--primary-color);
border-top-left-radius: var(--spip-border-radius);
border-top-right-radius: var(--spip-border-radius);
}
.phpdocumentor-element.-constant,
.phpdocumentor-element.-property,
.phpdocumentor-element.-function,
.phpdocumentor-element.-method
{
margin-top: var(--spip-padding-y);
margin-bottom: calc(var(--spip-padding-y) + 2 * var(--spacing-lg));
padding-bottom: 0 !important;
border-bottom: 0 !important;
}
.phpdocumentor-element.-constant:before,
.phpdocumentor-element.-property:before,
.phpdocumentor-element.-function:before,
.phpdocumentor-element.-method:before
{
position: absolute;
content:"";
z-index: -1;
top: var(--spip-padding-y-neg);
bottom: var(--spip-padding-y-neg);
left: var(--spip-padding-x-neg);
right: var(--spip-padding-x-neg);
border: var(--spip-border-size) solid var(--light-gray);
border-radius: var(--spip-border-radius);
}
.phpdocumentor-element__name {
position: relative;
margin-bottom: 0 !important;
padding-bottom: var(--spacing-sm);
}
.phpdocumentor-element__name:before
{
position: absolute;
content:"";
z-index: -1;
top: var(--spip-padding-y-neg);
bottom: 0;
left: var(--spip-padding-x-neg);
right: var(--spip-padding-x-neg);
border-top-left-radius: var(--spip-border-radius);
border-top-right-radius: var(--spip-border-radius);
background-color: var(--light-gray);
}
.phpdocumentor-summary {
margin-top: var(--spacing-md) !important;
}
.phpdocumentor-signature {
margin-left: var(--spip-padding-x-neg);
margin-right: var(--spip-padding-x-neg);
display: block;
width: auto;
border: var(--spip-border-size) solid var(--light-gray);
background: transparent !important;
}
.phpdocumentor-signature:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.phpdocumentor-tag-list {
}
.phpdocumentor-tag-list__entry {
font-weight: bold;
padding: 0 .5rem;
border-left: var(--spip-border-size) solid var(--spip-tag-color);
background-color: var(--light-gray);
}
.phpdocumentor-tag__name {}
.phpdocumentor-tag__name::first-letter {
text-transform: uppercase;
}