afacanc38.github.io/style.css

61 lines
1.1 KiB
CSS

#center {
display: flex;
padding: 2vh 2vw;
height: 90vh;
min-height: 300px;
max-width: 100%;
align-items: center;
justify-content: center;
}
* {
padding: 0;
margin: 10px;
}
.card {
transition: 200ms ease-in-out;
background: #fafafa;
padding: 30px 20px;
border: 1px solid #e0e0e0;
border-radius: 12px;
box-shadow: 0 10px 20px -10px #7e7e7e;
font-family: system-ui;
}
.button {
transition: 200ms ease-in-out;
border: 1px solid #cacdfa;
background: #e5e7fd;
padding: 10px 15px;
color: black;
text-decoration: none;
border-radius: 20px;
}
.button:hover {
border: 1px solid #b6bbff;
background: #b4baff;
color: blue;
}
@media (prefers-color-scheme: dark) {
* {
color: white !important;
}
body {
background-color: rgb(20, 20, 20);
}
.card {
background: rgb(17, 17, 17);
border-color: #424242;
box-shadow: 0 10px 20px -10px #080808;
}
.button {
background: #1c1c1f;
}
.button:hover {
background: blue;
border-color: blue;
}
}