mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
51 lines
867 B
React
51 lines
867 B
React
import { createGlobalStyle } from 'styled-components';
|
|||
|
|
|
||
|
|
export const GlobalStyle = createGlobalStyle`
|
||
|
|
*:focus {
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
background: ${props => props.background};
|
||
|
|
color: ${props => props.color};
|
||
|
|
font-family: ${props => props.fontFamily};
|
||
|
|
}
|
||
|
|
|
||
|
|
.tooltip {
|
||
|
|
z-index: 999;
|
||
|
|
border-radius: 0;
|
||
|
|
max-width: 40%;
|
||
|
|
font-size: 11px;
|
||
|
|
padding: 3px;
|
||
|
|
opacity: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-break {
|
||
|
|
white-space: pre-line;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-paragraph {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-linebreak {
|
||
|
|
display: block;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.enlarged {
|
||
|
|
@media (min-width: 480px) {
|
||
|
|
max-width: none !important;
|
||
|
|
max-height: none !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 480px) {
|
||
|
|
max-width: 100% !important;
|
||
|
|
max-height: 100% !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
`;
|