chore: update fixture
This commit is contained in:
29
fixtures/vitesse/src/styles/main.css
Executable file
29
fixtures/vitesse/src/styles/main.css
Executable file
@@ -0,0 +1,29 @@
|
||||
@import './markdown.css';
|
||||
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
background: #121212;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
#nprogress {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#nprogress .bar {
|
||||
background: rgb(13,148,136);
|
||||
opacity: 0.75;
|
||||
position: fixed;
|
||||
z-index: 1031;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
}
|
28
fixtures/vitesse/src/styles/markdown.css
Normal file
28
fixtures/vitesse/src/styles/markdown.css
Normal file
@@ -0,0 +1,28 @@
|
||||
.prose pre:not(.shiki) {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.prose .shiki {
|
||||
font-family: 'DM Mono', monospace;
|
||||
font-size: 1.2em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.prose img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.shiki-light {
|
||||
background: #f8f8f8 !important;
|
||||
}
|
||||
.shiki-dark {
|
||||
background: #0e0e0e !important;
|
||||
}
|
||||
|
||||
html.dark .shiki-light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html:not(.dark) .shiki-dark {
|
||||
display: none;
|
||||
}
|
Reference in New Issue
Block a user