first commit
This commit is contained in:
186
src/style.css
Normal file
186
src/style.css
Normal file
@@ -0,0 +1,186 @@
|
||||
:root {
|
||||
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
font-weight: 400;
|
||||
|
||||
color: #0f0f0f;
|
||||
background-color: #f6f6f6;
|
||||
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.container {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
}
|
||||
#app {
|
||||
height: 100vh;
|
||||
}
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
transition: 0.75s;
|
||||
}
|
||||
|
||||
.logo.tauri:hover {
|
||||
filter: drop-shadow(0 0 2em #24c8db);
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: 500;
|
||||
color: #646cff;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #535bf2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input,
|
||||
button {
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
padding: 0.6em 1.2em;
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
font-family: inherit;
|
||||
color: #0f0f0f;
|
||||
background-color: #ffffff;
|
||||
transition: border-color 0.25s;
|
||||
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-color: #396cd8;
|
||||
}
|
||||
|
||||
input,
|
||||
button {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#greet-input {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.type {
|
||||
font-size: small;
|
||||
font-weight: bold;
|
||||
width: 75px;
|
||||
height: 23px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid;
|
||||
}
|
||||
.normal {
|
||||
background-color: #A8A878;
|
||||
border-color: #6D6D4E;
|
||||
}
|
||||
.fighting {
|
||||
background-color: #C03028;
|
||||
border-color: #7D1F1A;
|
||||
}
|
||||
.flying {
|
||||
background-color: #A890F0;
|
||||
border-color: #6D5E9C;
|
||||
}
|
||||
.poison {
|
||||
background-color: #A040A0;
|
||||
border-color: #682A68;
|
||||
}
|
||||
.ground {
|
||||
background-color: #E0C068;
|
||||
border-color: #927D44;
|
||||
}
|
||||
.rock {
|
||||
background-color: #B8A038;
|
||||
border-color: #786824;
|
||||
}
|
||||
.bug {
|
||||
background-color: #A8B820;
|
||||
border-color: #6D7815;
|
||||
}
|
||||
.ghost {
|
||||
background-color: #705898;
|
||||
border-color: #493963;
|
||||
}
|
||||
.steel {
|
||||
background-color: #B8B8D0;
|
||||
border-color: #787887;
|
||||
}
|
||||
.fire {
|
||||
background-color: #F08030;
|
||||
border-color: #9C531F;
|
||||
}
|
||||
.water {
|
||||
background-color: #6890F0;
|
||||
border-color: #445E9C;
|
||||
}
|
||||
.grass {
|
||||
background-color: #78C850;
|
||||
border-color: #A7DB8D;
|
||||
}
|
||||
.electric {
|
||||
background-color: #F8D030;
|
||||
border-color: #A1871F;
|
||||
}
|
||||
.psychic {
|
||||
background-color: #F85888;
|
||||
border-color: #A13959;
|
||||
}
|
||||
.ice {
|
||||
background-color: #98D8D8;
|
||||
border-color: #638D8D;
|
||||
}
|
||||
.dragon {
|
||||
background-color: #7038F8;
|
||||
border-color: #4924A1;
|
||||
}
|
||||
.dark {
|
||||
background-color: #705848;
|
||||
border-color: #49392F;
|
||||
}
|
||||
.fairy {
|
||||
background-color: #EE99AC;
|
||||
border-color: #9B6470;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
color: #f6f6f6;
|
||||
background-color: #2f2f2f;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #24c8db;
|
||||
}
|
||||
|
||||
input,
|
||||
button {
|
||||
color: #ffffff;
|
||||
background-color: #0f0f0f98;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user