You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
1.6 KiB

@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-size: 1.1em;
background-color: #1B1C22;
}
:root {
--box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
--theme-color: rgba(79,79,255,1);
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
h1, h2, h3 {
font-family: 'Dela Gothic One', cursive;
}
.link:hover {
text-decoration: underline;
}
img {
max-width: 100%;
border-radius: 10px;
}
hr {
width: 100%;
margin: 1em 0;
}
.h-unset {
margin: unset;
}
/* page structure */
.page {
min-height: 100vh;
background-color: #1B1C22;
display: flex;
flex-direction: column;
}
.container {
width: 100%;
margin: 0 auto;
}
.content {
padding: 2em 0;
gap: 2em;
display: flex;
flex-direction: row;
}
.flex {
display: flex;
gap: 1em;
}
/* page elements */
.card {
border-radius: 10px;
box-shadow: var(--box-shadow);
display: flex;
flex-direction: column;
gap: 1em;
padding: 2em;
color: white;
background-color: #25262C;
width: 100%;
flex-grow: 3;
}
/* mobile */
@media(max-aspect-ratio: 5/4) {
.content {
flex-direction: column;
}
.container {
width: 100%;
}
}
@media(max-aspect-ratio: 3/4) {
.card {
padding: 1em;
}
}
@media(min-width: 1200px) {
.container {
max-width: 1200px;
}
}