cra-template-fireship
Version:
Build and ship 🔥 your app ⚡ faster
79 lines (69 loc) • 1.43 kB
CSS
/* Tip: If you see an "Unknown at rule @import-normalize css(unknownAtRules)"
warning in VSCode,change the css.lint.unknownAtRules setting to ignore. */
@import-normalize;
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");
:root {
font-size: 1rem;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100%;
background: #1d2021;
font-family: "Noto Sans", sans-serif;
}
h1 {
margin: auto auto auto 0;
text-align: left;
font-size: 4rem;
color: #6b6f71;
}
.header {
margin: 2rem auto 0 auto;
background-image: url("fireship.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 50vh;
width: 50%;
border-radius: 5px;
box-shadow: #030303af 3px 5px 10px;
transition: all 300ms ease;
}
.body {
margin: auto;
width: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.npm-command {
margin: auto;
padding: 0.25rem 0.5rem 0 0.5rem;
height: 3rem;
width: 50%;
display: flex;
align-items: center;
justify-content: flex-start;
border-radius: 5px;
font-size: 1.15rem;
font-family: monospace;
font-weight: 500;
color: #9aa0a4;
background: #151718;
box-shadow: #030303af 3px 5px 10px;
vertical-align: middle;
transition: all 500ms ease;
}
.npm-cra {
color: #22da6b;
}
.npm-template {
color: #fa8142;
}