// Copyright (c) ppy Pty Ltd . Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. // main: compiled.less @import "app"; blockquote { font-size: inherit; border-left: 2px solid hsl(var(--hsl-c2)); } h1 { font-size: 30px; font-weight: normal; margin: 0 0 20px 0; } h2 { font-weight: normal; margin: 10px 0 0 0; } h1, h2, h3, h4, h5, h6 { color: @osu-colour-c1; } a { .link-default(); outline-style: none; &:link, &:visited, &:hover, &:active { outline-style: none; } text-decoration: none; &:hover { text-decoration: underline; } transition: color 80ms linear; } code { padding: 0; font-size: inherit; color: inherit; background: none; border-radius: 0; } @font-face { font-family: "FontAwesomeExtra"; src: url("~@fonts/extra/extra.eot?1280178"); src: url("~@fonts/extra/extra.eot?1280178#iefix") format("embedded-opentype"), url("~@fonts/extra/extra.woff2?1280178") format("woff2"), url("~@fonts/extra/extra.woff?1280178") format("woff"), url("~@fonts/extra/extra.ttf?1280178") format("truetype"), url("~@fonts/extra/extra.svg?1280178#extra") format("svg"); font-weight: normal; font-style: normal; } .clear { clear: both; } .large { font-size: 120%; } .form-control { .inset-box-shadow; border-radius: @input-border-radius; border: none; font-size: 14px; // otherwise missing shadow in iphone &[type="text"], &[type="password"] { -webkit-appearance: none; } &:focus { .inset-box-shadow; } } select.form-control { .default-box-shadow(); font-weight: 700; &:focus { .default-box-shadow(); } } iframe { border: none; } label { font-size: 12px; font-weight: 600; } input[type="checkbox"], input[type="radio"] { margin: 2px 0 0; } a[disabled] { &:extend(.btn[disabled]); } .clickable-row { cursor: pointer; } [data-visibility] { will-change: opacity; transition: opacity 120ms; &[data-visibility="hidden"] { opacity: 0; pointer-events: none; } &[data-visibility-animation="none"] { will-change: unset; transition: none; } }