Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 35 additions & 10 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ body {
width: calc(100% - 2rem);
margin: 0 auto;
min-height: 3.6rem;
padding: 0 0.75rem 0 0;
padding: 0 0.75rem 0 0.25rem;
border: 1px solid rgba(183, 212, 255, 0.22);
border-radius: 0.95rem;
background: linear-gradient(95deg, rgba(8, 22, 44, 0.9), rgba(6, 20, 41, 0.76));
Expand All @@ -126,9 +126,9 @@ body {
}

.navbar__brand {
display: inline-flex;
display: flex;
flex: none;
Comment thread
tushar0i marked this conversation as resolved.
align-items: center;
align-self: stretch;
margin-right: 1.25rem;
padding: 0 0.9rem;
border-radius: 0.85rem 0 0 0.85rem;
Expand Down Expand Up @@ -858,9 +858,11 @@ body {
width: calc(100% - 1rem);
min-height: 3.25rem;
padding-right: 0.55rem;
padding-left: 0.55rem;
}

.navbar__brand {
max-width: 45vw;
margin-right: 0.6rem;
padding: 0 0.65rem;
}
Expand All @@ -873,6 +875,10 @@ body {
padding-inline: 0.45rem;
}

.navbar-icon-link {
Comment thread
sonukapoor marked this conversation as resolved.
display: none;
Comment thread
sonukapoor marked this conversation as resolved.
}

.navbar-owasp-badge span {
display: none;
}
Expand Down Expand Up @@ -962,6 +968,11 @@ body {
padding-right: 0;
}

/* hide Docusaurus search hint on narrow viewports */
[class*='searchHint_'] {
display: none;
Comment thread
sonukapoor marked this conversation as resolved.
}

.site-shell {
padding-top: 2.2rem;
}
Expand Down Expand Up @@ -1004,6 +1015,27 @@ body {
}
}

@media (max-width: 640px) {
.dependabot-callout .callout-banner {
flex-direction: column;
align-items: flex-start;
}
}

@media (max-width: 480px) {
.press-bar-logos {
flex-direction: column;
}

.command-stack {
display: flex;
flex-direction: column;
min-width: 100%;
white-space: pre;
overflow-x: auto;
}
}

/* Mermaid edge label padding */
.edgeLabel .label {
background-color: #1b2434 !important;
Expand Down Expand Up @@ -1042,10 +1074,3 @@ body {
.callout-banner-copy {
flex: 1;
}

@media (max-width: 640px) {
.dependabot-callout .callout-banner {
flex-direction: column;
align-items: flex-start;
}
}