| @charset "utf-8"; |
| @import "../util"; |
| |
| $border-size: 2px; |
| |
| #tutorial { |
| position: fixed; |
| z-index: 9999; |
| top: 5%; |
| bottom: 5%; |
| left: 2%; |
| right: 2%; |
| padding-right: $right-view-distance; |
| /* |
| padding: 0; |
| margin: 0; |
| */ |
| background-color: $nearly-white; |
| |
| .button-group.button-view { |
| background-color: $middle-grey; |
| display: block; |
| height: 100%; |
| } |
| border: { |
| width: 2 * $border-size; |
| // color: $dark-orange; |
| color: $dark-grey; |
| style: solid; |
| radius: $standard-border-radius; |
| } |
| box-shadow: $choose-box-shadow; |
| iframe { |
| border-width: 0; |
| width: 100%; |
| // Hack for a Firefox bug |
| min-height: 100.1%; |
| background: { |
| image:url('#{$img-path}/korap-bg-kalamar.svg'); |
| repeat: no-repeat; |
| position: center center; |
| size: 20%; |
| } |
| } |
| } |
| |
| body.embedded { |
| background-color: $nearly-white; |
| aside { |
| /* |
| border-right: { |
| width: $border-size; |
| style: solid; |
| } |
| */ |
| padding-top: 0; |
| @include choose-item; |
| background-color: $middle-grey; |
| > div { |
| position: relative; |
| top: 50%; |
| -webkit-transform: translateY(-50%); |
| -ms-transform: translateY(-50%); |
| transform: translateY(-50%); |
| // margin-right: -1 * $border-size; |
| } |
| } |
| } |
| |
| main.tutorial { |
| margin-left: $logo-left-distance + 15px; |
| p,li { |
| code { |
| background-color: $ids-grey-2; |
| color: $ids-grey-1; |
| padding: 0 .5em; |
| border-radius: $standard-border-radius; |
| } |
| } |
| } |
| |
| dl { |
| margin: 0; |
| padding-bottom: .5em; |
| dt { |
| font-weight: bold; |
| abbr { |
| border-width: 0; |
| &[data-type=token]::after { |
| color: $ids-blue-1; |
| } |
| &[data-type=span]::after { |
| color: $ids-pink-1; |
| } |
| &::after { |
| content: ' (' attr(title) ')'; |
| vertical-align: bottom; |
| font-style: italic; |
| font-weight: normal; |
| font-size: 80%; |
| } |
| } |
| } |
| } |
| |
| |
| |