owncast/web/styles/globals.scss
Thilo Billerbeck 51b3fc1f76 rework stream info box in offline notice to conform more with the overall design (#196)
* rework stream info field to conform with the offline page layout

* moved offline notice css to separate file

* used ant design bold text option
2021-05-27 15:58:31 -07:00

108 lines
1.7 KiB
SCSS

// @import "~antd/dist/antd.dark";
html,
body {
padding: 0;
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
font-size: 16px;
background-color: var(--default-bg-color);
color: var(--default-text-color);
}
a {
color: inherit;
text-decoration: none;
color: var(--default-link-color);
&:hover {
color: var(--default-text-color);
}
}
* {
box-sizing: border-box;
}
p,
p.description,
.description,
.ant-typography {
font-weight: 300;
margin: 1em 0;
color: var(--white-75);
}
pre {
display: block;
padding: 1rem;
margin: 0.5rem 0;
background-color: var(--code-bg-color);
color: var(--white-50);
}
code {
color: var(--code-color);
background-color: var(--white-15);
display: inline-block;
padding: 2px 4px;
border-radius: 4px;
font-size: 0.88em;
}
strong {
font-weight: 600;
}
.logo-svg {
height: 2rem;
width: 2rem;
}
.line-chart-container {
margin: 2em auto;
padding: 1em;
border: 1px solid var(--gray-dark);
canvas {
max-width: 100%;
}
}
.form-module {
margin: 1em 0;
background-color: var(--container-bg-color);
padding: 2em;
border-radius: var(--container-border-radius);
h3 {
&:first-of-type {
margin-top: 0;
}
}
}
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
@media (max-width: 980px) {
flex-direction: column;
.form-module {
width: 100%;
}
}
}
input {
&:not(:focus) {
&:invalid {
color: var(--ant-error);
}
}
}