You've already forked objdiff-web
mirror of
https://github.com/encounter/objdiff-web.git
synced 2026-03-30 11:32:18 -07:00
86 lines
1.7 KiB
CSS
86 lines
1.7 KiB
CSS
:root {
|
|
--font-size: var(--vscode-editor-font-size, 13px);
|
|
--list-row-height: calc(var(--font-size) * 1.33);
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
color: var(--vscode-foreground, #fff);
|
|
font-family: var(--vscode-font-family, system-ui);
|
|
font-weight: var(--vscode-font-weight, normal);
|
|
font-size: var(--vscode-font-size, 13px);
|
|
background-color: var(--vscode-editor-background, #1e1e1e);
|
|
|
|
&.vscode-light,
|
|
&.vscode-high-contrast-light {
|
|
color-scheme: light;
|
|
}
|
|
&.vscode-dark,
|
|
&.vscode-high-contrast-dark {
|
|
color-scheme: dark;
|
|
}
|
|
}
|
|
|
|
#root {
|
|
display: flex;
|
|
flex-flow: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
display: flex;
|
|
min-height: 100vh;
|
|
line-height: 1.1;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
h1 {
|
|
font-size: 3.6rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
p {
|
|
font-size: 1.2rem;
|
|
font-weight: 400;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
button {
|
|
background-color: var(--vscode-button-secondaryBackground);
|
|
color: var(--vscode-button-secondaryForeground);
|
|
border: 1px solid var(--vscode-button-border);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
|
|
font-family: var(--vscode-font-family, system-ui);
|
|
font-weight: var(--vscode-font-weight, normal);
|
|
font-size: var(--vscode-font-size, 13px);
|
|
|
|
&:hover {
|
|
background-color: var(--vscode-button-secondaryHoverBackground);
|
|
}
|
|
|
|
&:focus {
|
|
opacity: 1;
|
|
outline-color: var(--vscode-focusBorder);
|
|
outline-offset: -1px;
|
|
outline-style: solid;
|
|
outline-width: 1px;
|
|
}
|
|
|
|
&:active {
|
|
outline: 0 !important;
|
|
background-color: var(--vscode-toolbar-activeBackground);
|
|
}
|
|
|
|
&:disabled {
|
|
color: var(--vscode-disabledForeground);
|
|
}
|
|
}
|