@color-background: rgba(0, 0, 0, 0.4); @color-background-secondary: rgba(0, 0, 0, 0.5); @color-text: #ccc; @color-text-secondary: #aaa; @color-error: rgb(210, 10, 50); @top-menu-height: 50px; @backdrop-filter: blur(3px); @border-radius: 10px; @box-shadow: 0 0 30px @color-background; * { box-sizing: border-box; } html { background-color: #5685d4; overflow: auto; } html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: Arial, sans-serif; position: fixed; overflow: auto; } body { background-image: url('/uploads/winter-background.jpg'); background-size: cover; background-position: center; background-attachment: fixed; color: @color-text; } a { color: @color-text; transition: color ease-in-out .2s; &:hover, &:active { color: @color-text-secondary; } } header { background-color: @color-background; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; backdrop-filter: @backdrop-filter; height: @top-menu-height; > a { text-decoration: none; color: @color-text; height: 100%; > div { padding: 0 10px; font-size: 1.5em; font-weight: bold; height: 100%; align-content: center; transition: background-color ease-in-out .2s, color ease-in-out .2s; &:hover { background-color: @color-background-secondary; color: @color-text; } } } } .main { margin: 40px auto; @media (min-width: 800px) { width: 800px; } max-width: 100vw; padding: 10px; text-align: center; background-color: @color-background; border-radius: @border-radius; backdrop-filter: @backdrop-filter; box-shadow: @box-shadow; h1 { font-size: 2.5em; margin-top: 0; margin-bottom: 20px; } p { font-size: 1.2em; } hr { border: 0; height: 1px; background: linear-gradient(to right, #5685d430, #5685d480, #5685d430); } } @import url("/styles/user/login.less"); @import url("/styles/user/profile.less"); @import url("/styles/error/error.less"); @import url("/styles/assets/editor.less"); @import url("/styles/chat/chat.less"); @import url("/styles/assets/message.less");