@import "color"; @import "config"; @include color-setting; @import "components/calendar"; @import "components/form"; @import "components/menu"; @import "components/overview"; @import "components/table-layout"; @import "components/board"; @import "components/wall"; body, html { color: var(--text-primary-color); background-color: var(--background-secondary-color); font-family: $mainFont; font-weight: 500; width: 100%; height: 100%; margin: 0; padding: 0; overflow-x: hidden; } h1, h2, h3, h4, h5, h6 { font-family: $headFont; } .no-select { @include no-select() } a { text-decoration: none; outline: none; color: var(--primary-color); &:hover { text-decoration: none; } &:active { color: var(--primary-color); } } .container { width: 100%; margin: 0 auto; } .container-full { width: 100%; } * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; box-sizing: border-box; } @media (min-width: 768px) { .container { width: 720px; } } @media (min-width: 992px) { .container { width: 960px; } } @media (min-width: 1200px) { .container { width: 1140px; } } .footer { height: 5rem; } .footer-credit { float: left; } .footer-theme { float: right; line-height: 2rem; margin-top: 0.5rem; a { display: block; position: relative; padding-left: 2.5rem; width: 8rem; &::after { content: ''; width: 1.2rem; height: 1.2rem; border-radius: 100%; position: absolute; top: 1rem; left: 1rem; transform: translate(-50%, -50%); border: solid 0.2rem transparent; } &.selected { display: none; } &.selected::after { border-color: var(--primary-color) !important; } } #theme-light::after { background-color: #fff; border-color: #fff; } #theme-dark::after { background-color: #2d2d2d; border-color: #2d2d2d; } #theme-princess::after { background-color: #ffa5d2; border-color: #ffa5d2; } } .main-error { width: 100%; height: 4rem; text-align: center; margin-top: -2rem; position: absolute; top: 48%; left: 0; span { display: block; font-size: 1.2rem; &:first-child { font-size: 1.5rem; padding-bottom: 0.4rem; } } } .offline-banner { position: fixed; bottom: 3rem; left: 0; right: 0; height: 3rem; line-height: 3rem; text-align: center; font-size: 1.2rem; background-color: var(--primary-color); color: var(--primary-text-color); z-index: 12; box-shadow: 0 1px 4px var(--shadow-color); display: none; } body.offline { .offline-banner { display: block; } } .announcement { height: 3rem; line-height: 3rem; text-align: center; width: 100%; font-size: 1.2rem; background-color: var(--primary-color); color: var(--primary-text-color); box-shadow: 0 1px 4px var(--shadow-color); margin-bottom: 1rem; display: block; &.announcement-blank { display: none; } }