custom.css
This file
Path
docs/css/custom.css
144 lines · 4.6 KiB · CSS
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 54889c9 point at it.
🔒️ Only allow team members to modify dependencies (#1744)Sofie Van Landeghembefore adoption54889c9
lines 1–144why, one step back1/* Fira Code, including characters used by Rich output, like the "heavy right-pointing angle bracket ornament", not included in Google Fonts */2@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);3/* Noto Color Emoji for emoji support with the same font everywhere */4@import url(https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap);56/* Override default code font in Material for MkDocs to Fira Code */7:root {8 --md-code-font: "Fira Code", monospace, "Noto Color Emoji";9}1011/* Override default regular font in Material for MkDocs to include Noto Color Emoji */12:root {13 --md-text-font: "Roboto", "Noto Color Emoji";14}1516.termynal-comment {17 color: #4a968f;18 font-style: italic;19 display: block;20}2122.termy [data-termynal] {23 white-space: pre-wrap;24}2526.termy .linenos {27 display: none;28}2930/* External links: detected by JS comparing origin to site origin31 JS sets data-external-link on links pointing outside the site32 Skip image links, .no-link-icon, and .announce-link */33a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link) {34 /* For right to left languages */35 direction: ltr;36 display: inline-block;37}3839a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link)::after {40 content: "";41 display: inline-block;42 width: 0.75em;43 height: 0.75em;44 margin-left: 0.25em;45 vertical-align: middle;46 opacity: 0.55;47 background: currentColor;48 -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");49 -webkit-mask-size: contain;50 -webkit-mask-repeat: no-repeat;51 mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");52 mask-size: contain;53 mask-repeat: no-repeat;54}5556a[data-external-link]:not(:has(img)):not(.no-link-icon):not(.announce-link):hover::after {57 opacity: 0.85;58}5960/* Internal links opening in new tab: same-origin links with target=_blank61 JS sets data-internal-link on links pointing to the same site origin62 Skip image links, .no-link-icon, and .announce-link */63a[data-internal-link][target="_blank"]:not(:has(img)):not(.no-link-icon):not(.announce-link) {64 /* For right to left languages */65 direction: ltr;66 display: inline-block;67}6869a[data-internal-link][target="_blank"]:not(:has(img)):not(.no-link-icon):not(.announce-link)::after {70 content: "";71 display: inline-block;72 width: 0.75em;73 height: 0.75em;74 margin-left: 0.25em;75 vertical-align: middle;76 opacity: 0.55;77 background: currentColor;78 -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='M7 3h14v14'/%3E%3C/svg%3E");79 -webkit-mask-size: contain;80 -webkit-mask-repeat: no-repeat;81 mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='M7 3h14v14'/%3E%3C/svg%3E");82 mask-size: contain;83 mask-repeat: no-repeat;84}8586a[data-internal-link][target="_blank"]:not(:has(img)):not(.no-link-icon):not(.announce-link):hover::after {87 opacity: 0.85;88}8990/* Disable link icons in footer and header nav */91.md-footer a::after,92.md-header a::after {93 content: none !important;94}9596.shadow {97 box-shadow: 5px 5px 10px #999;98}99100.user-list {101 display: flex;102 flex-wrap: wrap;103 margin-bottom: 2rem;104}105106.user-list-center {107 justify-content: space-evenly;108}109110.user {111 margin: 1em;112 min-width: 7em;113}114115.user .avatar-wrapper {116 width: 80px;117 height: 80px;118 margin: 10px auto;119 overflow: hidden;120 border-radius: 50%;121 position: relative;122}123124.user .avatar-wrapper img {125 position: absolute;126 top: 50%;127 left: 50%;128 transform: translate(-50%, -50%);129}130131.user .title {132 text-align: center;133}134135.user .count {136 font-size: 80%;137 text-align: center;138}139140.doc-param-details .highlight {141 overflow-x: auto;142 width: 0;143 min-width: 100%;144}