docs: use BrowserWindow for Markdown demos (#6215)

This commit is contained in:
Joshua Chen 2021-12-29 13:49:09 +08:00 committed by GitHub
parent 5132ecdeee
commit 0fa091a0c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 101 additions and 32 deletions

View file

@ -35,17 +35,25 @@
width: 10%;
}
html[data-theme='light'] {
--ifm-background-color: #fff;
}
.browserWindowAddressBar {
flex: 1 0;
margin: 0 1rem 0 0.5rem;
border-radius: 12.5px;
background-color: #fff;
color: #666;
background-color: var(--ifm-background-color);
color: var(--ifm-color-gray-800);
padding: 5px 15px;
font: 400 13px Arial;
user-select: none;
}
html[data-theme='dark'] .browserWindowAddressBar {
color: var(--ifm-color-gray-300);
}
.dot {
margin-right: 6px;
margin-top: 4px;