owncast/web/styles/globals.scss

123 lines
1.9 KiB
SCSS
Raw Normal View History

// @import "~antd/dist/antd.dark";
2020-09-30 23:59:20 +02:00
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);
2020-09-30 23:59:20 +02:00
}
a {
color: inherit;
text-decoration: none;
color: var(--default-link-color);
&:hover {
color: var(--default-text-color);
}
2020-09-30 23:59:20 +02:00
}
* {
box-sizing: border-box;
}
2021-02-14 10:30:42 +01:00
p,
p.description,
.description,
2021-02-14 10:30:42 +01:00
.ant-typography {
2021-01-18 04:51:38 +01:00
font-weight: 300;
2021-02-14 10:30:42 +01:00
margin: 1em 0;
color: var(--white-75);
2021-01-18 04:51:38 +01:00
}
pre {
display: block;
padding: 1rem;
margin: 0.5rem 0;
background-color: var(--code-bg-color);
color: var(--white-50);
}
2021-01-03 10:54:04 +01:00
code {
color: var(--code-color);
background-color: var(--white-15);
display: inline-block;
padding: 2px 4px;
border-radius: 4px;
font-size: 0.88em;
2021-01-03 10:54:04 +01:00
}
strong {
font-weight: 600;
}
2021-01-19 19:34:06 +01:00
.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%;
}
}
}
.stream-info-box {
font-size: 0.8em;
background-color: var(--purple-dark);
padding: 0.25rem 0.5rem;
margin-left: 0.5rem;
color: var(--white);
margin-bottom: 0px !important;
.ant-typography-copy {
font-size: 0.92em;
}
}
input {
&:not(:focus) {
&:invalid {
color: var(--ant-error);
}
}
}