123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584 |
- @font-family-base: 'Rubik', 'Avenir Next', 'Helvetica Neue', sans-serif;
- @font-family-code: 'IBM Plex', Consolas, 'Courier New', monospace;
- * {
- box-sizing: border-box;
- }
- *:before,
- *:after {
- box-sizing: border-box;
- }
- html {
- font-family: sans-serif;
- font-size: 10px;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- height: 100%;
- }
- body {
- font-family: @font-family-base;
- margin: 0;
- font-size: 16px;
- line-height: 24px;
- color: @gray-darker;
- background: @white-dark;
- -webkit-font-smoothing: antialiased;
- overflow-x: hidden;
- min-height: 100vh;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- margin: 0 0 20px;
- line-height: 1.2;
- font-weight: 600;
- }
- h1 {
- font-size: 3.2rem;
- }
- h2 {
- font-size: 2.8rem;
- }
- h3 {
- font-size: 2.4rem;
- }
- h4 {
- font-size: 2rem;
- }
- h5 {
- font-size: 1.8rem;
- }
- h6 {
- font-size: 1.4rem;
- }
- dl {
- margin-top: 0;
- margin-bottom: @line-height-computed;
- }
- dt,
- dd {
- line-height: @line-height-base;
- }
- dt {
- font-weight: 700;
- }
- dd {
- margin-left: 0;
- }
- ul,
- ol {
- margin-top: 0;
- margin-bottom: (@line-height-computed / 2);
- padding: 0 0 0 20px;
- ul,
- ol {
- margin-bottom: 0;
- }
- }
- p,
- pre {
- margin: 0 0 20px;
- }
- ul,
- ol {
- margin: 0 0 20px;
- }
- p,
- ul,
- ol,
- blockquote {
- padding-top: 0;
- margin-top: 0;
- line-height: 1.5;
- }
- input,
- button,
- select,
- textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- }
- input,
- button,
- select,
- textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- }
- a {
- cursor: pointer;
- transition: color linear 0.2s;
- color: @link-color;
- text-decoration: none;
- &:hover,
- &:focus {
- color: @link-hover-color;
- text-decoration: none;
- }
- &:focus {
- .tab-focus();
- text-decoration: none;
- }
- }
- figure {
- margin: 0;
- }
- img {
- vertical-align: middle;
- max-width: 100%;
- }
- article,
- aside,
- details,
- figcaption,
- figure,
- footer,
- header,
- hgroup,
- main,
- menu,
- nav,
- section,
- summary {
- display: block;
- }
- audio,
- canvas,
- progress,
- video {
- display: inline-block;
- vertical-align: baseline;
- }
- audio:not([controls]) {
- display: none;
- height: 0;
- }
- [hidden],
- template {
- display: none;
- }
- a {
- background-color: transparent;
- }
- a:active,
- a:hover {
- outline: 0;
- }
- abbr[title] {
- border-bottom: none;
- text-decoration: underline;
- text-decoration: underline dotted;
- }
- b,
- strong {
- font-weight: bold;
- }
- dfn {
- font-style: italic;
- }
- mark {
- background: #ff0;
- color: #000;
- }
- small {
- font-size: 14px;
- }
- sub,
- sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
- }
- sup {
- top: -0.5em;
- }
- sub {
- bottom: -0.25em;
- }
- img {
- border: 0;
- }
- svg:not(:root) {
- overflow: hidden;
- }
- hr {
- box-sizing: content-box;
- height: 0;
- }
- code,
- kbd,
- pre,
- samp {
- font-family: @font-family-monospace;
- font-size: 1em;
- }
- code {
- padding: 2px 4px;
- font-size: 90%;
- color: @code-color;
- background-color: @code-bg;
- border-radius: @border-radius-base;
- }
- kbd {
- padding: 2px 4px;
- font-size: 90%;
- color: @kbd-color;
- background-color: @kbd-bg;
- border-radius: @border-radius-small;
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
- kbd {
- padding: 0;
- font-size: 100%;
- font-weight: 700;
- box-shadow: none;
- }
- }
- pre,
- code {
- border: 0;
- background-color: @white-darker;
- color: @gray-darker;
- border-radius: 3px;
- }
- pre {
- display: block;
- padding: ((@line-height-computed - 1) / 2);
- font-size: (@font-size-base - 1);
- line-height: @line-height-base;
- color: @pre-color;
- word-break: break-all;
- white-space: pre-wrap;
- word-wrap: break-word;
- background-color: @pre-bg;
- border-radius: @border-radius-base;
- overflow: auto;
-
- code {
- padding: 0;
- font-size: inherit;
- color: inherit;
- white-space: pre-wrap;
- background-color: transparent;
- border-radius: 0;
- }
- }
- button,
- input,
- optgroup,
- select,
- textarea {
- color: inherit;
- font: inherit;
- margin: 0;
- }
- button {
- overflow: visible;
- }
- button,
- select {
- text-transform: none;
- }
- button,
- html input[type="button"],
- input[type="reset"],
- input[type="submit"] {
- -webkit-appearance: button;
- cursor: pointer;
- }
- button[disabled],
- html input[disabled] {
- cursor: default;
- }
- button::-moz-focus-inner,
- input::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
- input[type='checkbox'],
- input[type='radio'] {
- box-sizing: border-box;
- padding: 0;
- }
- input[type='number']::-webkit-inner-spin-button,
- input[type='number']::-webkit-outer-spin-button {
- height: auto;
- }
- input[type='search'] {
- -webkit-appearance: textfield;
- box-sizing: content-box;
- }
- input[type='search']::-webkit-search-cancel-button,
- input[type='search']::-webkit-search-decoration {
- -webkit-appearance: none;
- }
- fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
- }
- legend {
- border: 0;
- padding: 0;
- }
- textarea {
- overflow: auto;
- }
- optgroup {
- font-weight: bold;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- margin: 0 0 20px;
- }
- td,
- th {
- padding: 0;
- }
|