servicepoint-tanks/tank-frontend/src/index.css

63 lines
1.1 KiB
CSS
Raw Normal View History

2024-04-14 00:49:39 +02:00
@font-face {
font-family: 'CCCBFont';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/CCCBFont.ttf') format('ttf'), url('/CCCBFont.woff') format('woff');
}
2024-04-14 11:16:34 +02:00
* {
box-sizing: border-box;
font-family: CCCBFont, monospace;
text-transform: uppercase;
2024-04-21 21:37:38 +02:00
appearance: none;
2024-04-14 11:16:34 +02:00
}
2024-04-14 12:57:45 +02:00
:root {
--color-background: black;
--color-primary: green;
--color-secondary: rgb(76, 76, 76);
--color-text: white;
--border-size-thin: 4px;
--border-size-thick: 8px;
--padding-normal: 8px;
2024-04-21 21:37:38 +02:00
--padding-big: calc(4 * var(--padding-normal));
2024-04-14 12:57:45 +02:00
}
html, body {
height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
2024-04-14 12:57:45 +02:00
background-color: var(--color-background);
color: var(--color-text);
}
#root {
display: flex;
2024-04-13 23:07:08 +02:00
flex-direction: row;
align-items: center;
2024-04-13 23:53:09 +02:00
width: 95vw;
height: 95vh;
2024-04-13 23:07:08 +02:00
}
2024-04-14 12:57:45 +02:00
.flex-grow {
display: flex;
2024-04-13 23:07:08 +02:00
flex-grow: 1;
}
2024-04-14 12:57:45 +02:00
.flex-column {
display: flex;
flex-direction: column;
}
.flex-row {
display: flex;
flex-direction: row;
}