blowfish/src/app/App.css

110 lines
1.6 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #fcfcfc !important;
overflow: hidden;
}
html.dark,
.dark body {
background: #141414 !important;
}
html {
font-size: 13px;
}
html.fullscreen {
font-size: 24px;
}
#root {
height: 100%;
position: relative;
font-size: 1rem;
line-height: 1.3;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';
font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'pnum' 1, 'tnum' 0,
'onum' 0, 'lnum' 0, 'dlig' 1;
color: #303030;
display: flex;
flex-wrap: wrap;
justify-content: center;
transform: translate3d(0, 0, 0);
-webkit-app-region: drag;
-webkit-user-select: none;
}
.dark #root {
color: #e2e2e2;
}
h1,
h2,
h3,
h4,
h5 {
font-weight: 700;
}
a,
button {
text-decoration: none;
cursor: default;
}
a h1 {
color: unset;
}
.app {
margin-top: 35px;
padding: 5% 7%;
cursor: default;
height: calc(100vh - 5%);
transition: .15s ease-out;
width: 100%;
overflow-y: auto;
}
.app > div,
.app > div > div {
width: 100%;
height: 100%;
}
.app > div > div {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
}
.fullscreen .app {
transform: translate3d(0, -36px, 0);
}
.box {
width: 100%;
padding: 5%;
background: #fff;
border-radius: 5px;
border: .1rem solid #e2e2e2;
}
.dark .box {
background: #222;
border-color: #303030;
}