Files
TheRock/compiler/amd-llvm/clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

551 lines
9.4 KiB
CSS

/* css for clang-doc mustache backend */
@import "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";
*,*::before, *::after {
box-sizing:border-box
}
* {
margin:0;
padding:0
}
ol,
ul {
list-style:none
}
img,
picture,
svg,
video {
display:block;
max-width:100%
}
* {
--brand-light:#ce6300;
--text1-light:#000000;
--text2-light:#333333;
--surface1-light:#f0f4f8;
--surface2-light:#d3dae0;
--brand-dark:#de9853;
--text1-dark:#ffffff;
--text2-dark:#cccccc;
--surface1-dark:#161212;
--surface2-dark:#272424
}
:root {
color-scheme:light;
--brand:var(--brand-light);
--text1:var(--text1-light);
--text2:var(--text2-light);
--text1-inverse:var(--text1-dark);
--text2-inverse:var(--text2-dark);
--surface1:var(--surface1-light);
--surface2:var(--surface2-light)
}
@media(prefers-color-scheme:dark) {
:root {
color-scheme:dark;
--brand:var(--brand-dark);
--text1:var(--text1-dark);
--text2:var(--text2-dark);
--text1-inverse:var(--text1-light);
--text2-inverse:var(--text2-light);
--surface1:var(--surface1-dark);
--surface2:var(--surface2-dark)
}
}
[color-scheme=light] {
color-scheme:light;
--brand:var(--brand-light);
--text1:var(--text1-light);
--text2:var(--text2-light);
--text1-inverse:var(--text1-dark);
--text2-inverse:var(--text2-dark);
--surface1:var(--surface1-light);
--surface2:var(--surface2-light)
}
[color-scheme=dark] {
color-scheme:dark;
--brand:var(--brand-dark);
--text1:var(--text1-dark);
--text2:var(--text2-dark);
--text1-inverse:var(--text1-light);
--text2-inverse:var(--text2-light);
--surface1:var(--surface1-dark);
--surface2:var(--surface2-dark)
}
html {
background-color:var(--surface1)
}
html, body {
min-height: 100vh;
margin: 0;
padding: 0;
width: 100%;
overflow-x: scroll;
}
.container {
display: flex;
box-sizing: border-box;
align-items: stretch;
}
body, html {
font-family:Inter,sans-serif;
margin: 0;
padding: 0;
height: 100%;
}
/* Navbar Styles */
header {
background-color: var(--surface2);
display: flex;
flex-direction: column;
}
.navbar {
background-color: var(--surface1);
border-bottom: 1px solid var(--text2);
width: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
padding: 0;
box-sizing: border-box;
}
.navbar__container {
display:grid;
grid-template-columns: auto 1fr auto;
align-items:center;
padding:1rem;
max-width:2048px;
margin:auto;
width:100%
}
.navbar__logo {
display:flex;
align-items:center;
height:40px
}
.navbar__logo a {
display:flex;
align-items:center;
text-decoration:none;
height:100%
}
.navbar__logo img {
height:100%;
width:auto
}
.navbar__toggle {
background:0 0;
color:var(--text2);
border:none;
cursor:pointer;
font-size:1.5rem;
width:2.5rem;
height:2.5rem;
margin-left:auto
}
.navbar__toggle:hover {
color:var(--text1)
}
@media(min-width:769px) {
.navbar__toggle {
display:none
}
}
.navbar__menu {
display:flex;
justify-content:space-between;
align-items:center;
list-style:none;
margin:0;
padding:0;
gap:.25rem;
margin-left:0;
grid-column:2;
justify-self:center
}
#themeToggle {
grid-column: 3;
justify-self: end;
color: var(--text1);
border: none;
}
@media(max-width:768px) {
.navbar__menu {
flex-direction:column;
justify-content:flex-start;
width:100%;
background-color:var(--surface2);
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
padding:1.5rem;
transform:translateX(100%);
transition:transform .5s ease-in-out
}
}
@media(max-width:768px) {
.navbar__menu.active {
transform:translateX(0)
}
}
.navbar__close {
background:0 0;
border:none;
cursor:pointer;
font-size:1.5rem;
color:var(--text2);
margin-left:auto
}
.navbar__close:hover {
color:var(--text1)
}
@media(min-width:769px) {
.navbar__close {
display:none
}
}
.navbar__links {
display:flex;
gap:1rem;
align-items:center;
margin:0;
padding:0;
justify-content:center
}
@media(max-width:768px) {
.navbar__links {
flex-direction:column
}
}
.navbar__item {
list-style-type:none
}
.navbar__link {
color:var(--text2);
text-decoration:none;
padding:.5rem
}
.navbar__link:hover {
color:var(--text1)
}
.navbar__theme-toggle-button {
background:0 0;
color:var(--text2);
border:none;
cursor:pointer;
font-size:1.5rem;
width:2.5rem;
height:2.5rem
}
.navbar__theme-toggle-button:hover {
color:var(--text1)
}
.navbar-breadcrumb-container {
position: static;
width: 100%;
background: var(--surface2);
padding: 0.5rem 1rem;
display: flex;
gap: 0.5rem;
border-bottom: 1px solid var(--text2);
box-sizing: border-box;
border-top: 1px solid var(--text2);
border-bottom: 1px solid var(--text2);
}
.navbar-breadcrumb-item {
padding: 0.25rem 0.75rem;
background: var(--surface1);
border: 1px solid var(--text2);
border-radius: 4px;
color: var(--text1);
font-size: 0.9rem;
white-space: nowrap;
}
.navbar-breadcrumb-item:hover {
background: var(--brand);
color: var(--text1-inverse);
border-color: var(--brand);
cursor: pointer;
}
.hero__container {
margin-top:1rem;
display:flex;
justify-content:center;
align-items:center;
gap:2rem
}
.hero__title {
font-size:2.5rem;
margin-bottom:.5rem
}
.hero__title-large {
font-size:3rem
}
@media(max-width:768px) {
.hero__title-large {
font-size:2.5rem
}
}
@media(max-width:480px) {
.hero__title-large {
font-size:2rem
}
}
@media(max-width:768px) {
.hero__title {
font-size:2rem
}
}
@media(max-width:480px) {
.hero__title {
font-size:1.75rem
}
}
.hero__subtitle {
font-size:1.25rem;
font-weight:500
}
@media(max-width:768px) {
.hero__subtitle {
font-size:1rem
}
}
@media(max-width:480px) {
.hero__subtitle {
font-size:.875rem
}
}
.section-container {
max-width: 2048px;
margin-left:auto;
margin-right:auto;
margin-bottom: 1rem;
}
@media(max-width:768px) {
.section-container {
padding:1rem
}
}
.section-container h2 {
font-size:1.5rem;
margin-bottom:1rem;
color:var(--brand);
border-bottom: 1px solid var(--text2);
}
@media(max-width:768px) {
.section-container h2 {
font-size:1.25rem
}
}
.section-container p {
font-size:1rem;
line-height:1.5
}
@media(max-width:768px) {
.section-container p {
font-size:.875rem
}
}
.home__row {
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:2rem
}
.table-wrapper {
display:flex;
flex-direction:column;
padding:1rem;
border-collapse: collapse; /* Ensures there are no gaps between cells */
}
.table-wrapper th, .table-wrapper td {
padding: 0.5rem 1rem; /* Adds padding inside the cells */
border:1px solid var(--text1);
text-align: left;
}
.block-command-command {
font-weight: bold;
}
.code-clang-doc {
font-size: 1.1rem;
}
.delimiter-container {
margin-bottom:1rem;
border: 3px solid var(--text2-inverse);
border-radius: 10px;
background: var(--surface1);
margin: 14px 0;
overflow: hidden;
padding: 10px;
}
.nested-delimiter-container {
margin-bottom: 1rem;
}
.nested-delimiter-container:last-of-type {
margin-bottom: 0rem;
}
.resizer {
width: 5px;
cursor: col-resize;
background-color: var(--surface1);
}
.resizer:hover {
background-color: var(--text2-inverse);
}
.sidebar {
width: 250px;
position: sticky;
top: 0;
background-color: var(--surface1);
display: flex;
border-left: 1px solid var(--text2);
flex-direction: column;
overflow-y: auto;
scrollbar-width: thin;
flex-shrink: 0;
}
.sidebar h2 {
margin-top: 0;
margin-bottom: 20px;
padding: 10px;
}
.sidebar ul {
width: 100%;
padding: 0;
list-style-type: none;
}
.sidebar ul li {
padding-left: 1rem;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.sidebar-section {
font-size:1.5rem;
font-weight: bold;
padding-left: 1rem;
}
.sidebar-section a {
color: var(--brand)
}
/* Content */
.content {
background-color: var(--text1-inverse);
position: relative;
flex: 1;
min-width: 0;
min-height: 100vh;
padding-left: 1rem;
}
.sidebar-item {
color: var(--text1);
}
.sidebar-item-container:hover {
width: 100%;
background-color: grey;
}
.sidebar-item-container:hover a {
width: 100%;
color: var(--text1-inverse);
}
.class-container {
padding: 0.5rem 1rem;
}
a, a:visited, a:hover, a:active {
text-decoration: none;
color: inherit;
}
.code-block {
white-space: pre-line;
}
.doc-card {
border-left: 3px solid var(--brand);
border-radius: 10px;
background: var(--surface2);
margin: 14px 0;
overflow: hidden;
padding: 10px;
}
.param {
display: block;
padding-left: 4ch;
}
.param-container {
display: block;
}
.paragraph-container {
margin-bottom: 1rem;
}
.paragraph-container:last-of-type {
margin-bottom: 0rem;
}