mirror of
https://github.com/starship/starship.git
synced 2025-02-22 05:11:26 +01:00
Port styles
This commit is contained in:
parent
f5c9046759
commit
c296d08b03
44
docs/.vuepress/styles/index.scss
Normal file
44
docs/.vuepress/styles/index.scss
Normal file
@ -0,0 +1,44 @@
|
||||
.home .hero img {
|
||||
max-width: 500px !important;
|
||||
min-width: 300px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.center {
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
.demo-video {
|
||||
width: 100%;
|
||||
margin: 50px 0;
|
||||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
margin: 150px 25px 70px;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
background-color: #dd0b78 !important;
|
||||
border: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Nerd Font';
|
||||
src: url("/nerd-font.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
:root {
|
||||
--c-brand: #DD0B78;
|
||||
--c-brand-light: #DD0B78CC;
|
||||
--font-family-code: 'Nerd Font', source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
--c-brand: #ff33b8;
|
||||
--c-brand-light: #ff33b8cc;
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
.home .hero img
|
||||
max-width: 500px !important
|
||||
min-width: 300px
|
||||
width: 100%
|
||||
|
||||
.center
|
||||
margin 0 auto;
|
||||
width: 80%
|
||||
.demo-video
|
||||
width: 100%
|
||||
margin: 50px 0
|
||||
border-radius: 6px
|
||||
|
||||
.hero
|
||||
margin: 150px 25px 70px
|
||||
|
||||
.action-button
|
||||
background-color: #dd0b78 !important
|
||||
border-bottom: #c6096b !important
|
||||
|
||||
@font-face
|
||||
font-family: 'Nerd Font';
|
||||
src: url("/nerd-font.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal
|
||||
|
||||
code
|
||||
font-family: 'Nerd Font', source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
overflow-wrap: break-word
|
||||
|
||||
@media (prefers-color-scheme: light)
|
||||
:root
|
||||
--languageTextColor: rgba(255,255,255,0.4)
|
||||
|
||||
.code-copy
|
||||
position: absolute
|
||||
right: 0
|
||||
bottom: 1px
|
@ -1,6 +0,0 @@
|
||||
$accentColor = #DD0B78
|
||||
$accentDarkColor = #ff33b8
|
||||
$textColor = #2c3e50
|
||||
$borderColor = #eaecef
|
||||
$codeBgLightColor = #282c34
|
||||
$preTextLightColor = #fff
|
Loading…
Reference in New Issue
Block a user