devstats-viewer/src/style.css

120 lines
2.0 KiB
CSS

:root {
--color-bg: #FFFFFF;
--color-text-main: #000000;
--color-primary: #326CE5;
--wrapper-height: 87vh;
--image-max-width: 300px;
--image-margin: 3rem;
--font-family: "HK Grotesk";
--font-family-header: "HK Grotesk";
}
/* Basic page style resets */
* {
box-sizing: border-box;
}
[hidden], .hidden {
display: none !important;
}
/* Import fonts */
@font-face {
font-family: HK Grotesk;
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
format("opentype");
}
@font-face {
font-family: HK Grotesk;
font-weight: bold;
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
format("opentype");
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
font-family: HK Grotesk;
background-color: var(--color-bg);
color: var(--color-text-main);
}
/* Page structure */
.wrapper {
min-height: var(--wrapper-height);
display: grid;
place-items: center;
margin: 0 1rem;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Very light scaling for our illustration */
.title {
color: var(--color-primary);
font-family: HK Grotesk;
font-style: normal;
font-weight: bold;
font-size: 90px;
line-height: 105%;
margin: 0;
}
footer {
text-align: center;
font-family: HK Grotesk;
font-weight: light;
font-size: 0.8em;
}
label {
font-weight: bold;
}
button,
input {
font-family: inherit;
font-size: 100%;
background: #FFFFFF;
border: 1px solid #000000;
box-sizing: border-box;
border-radius: 4px;
padding: 0.5rem 1rem;
transition: 500ms;
display: inline-block;
}
#status {
height: 22px;
margin: 8px;
}
#status.info {
color: blue;
}
#status.error {
color: red;
}
#result {
color: var(--color-primary);
font-family: HK Grotesk;
font-style: normal;
font-weight: bold;
font-size: 70px;
margin: 0.5em;
height: 100px;
}
#rawResultsWrapper {
max-width: 90vw;
overflow-x: scroll;
}