blob: 44654ddebdcf5e37b7d91188241c569e1ab22d92 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Akron7636edf2025-11-04 12:44:53 +01002@use "../util";
3@use "../base/choose";
4@use "../base/colors";
5@use "../base/lengths";
6@use "../base/paths";
Nils Diewalda944fab2015-04-08 21:02:04 +00007
Akron7e5afce2020-08-25 15:50:19 +02008/**
9 * Rules for the embedded documentation.
10 */
Nils Diewalda944fab2015-04-08 21:02:04 +000011
12#tutorial {
Akron7e5afce2020-08-25 15:50:19 +020013 position: fixed;
14 z-index: 9999;
15 top: 5%;
16 bottom: 5%;
17 left: 2%;
18 right: 2%;
Akron7636edf2025-11-04 12:44:53 +010019 padding-right: lengths.$right-view-distance;
20 background-color: colors.$nearly-white;
21 box-shadow: choose.$choose-box-shadow;
Akron7bbdb252018-07-19 16:44:34 +020022
Nils Diewalda944fab2015-04-08 21:02:04 +000023 border: {
Akron7636edf2025-11-04 12:44:53 +010024 width: 2 * lengths.$border-size;
25 color: colors.$dark-grey;
Akron7e5afce2020-08-25 15:50:19 +020026 style: solid;
Akron7636edf2025-11-04 12:44:53 +010027 radius: lengths.$standard-border-radius;
Nils Diewalda944fab2015-04-08 21:02:04 +000028 }
Akron7e5afce2020-08-25 15:50:19 +020029
Akronc6c68212025-10-22 14:33:51 +020030 .button-group.button-view {
Akron7636edf2025-11-04 12:44:53 +010031 background-color: colors.$middle-grey;
Akronc6c68212025-10-22 14:33:51 +020032 display: block;
33 height: 100%;
34 }
35
Nils Diewalda944fab2015-04-08 21:02:04 +000036 iframe {
37 border-width: 0;
38 width: 100%;
Akron7e5afce2020-08-25 15:50:19 +020039
Nils Diewalda944fab2015-04-08 21:02:04 +000040 // Hack for a Firefox bug
41 min-height: 100.1%;
42 background: {
Akron7636edf2025-11-04 12:44:53 +010043 image: url('#{paths.$img-path}/korap-bg.svg');
Akron7e5afce2020-08-25 15:50:19 +020044 repeat: no-repeat;
Nils Diewalda944fab2015-04-08 21:02:04 +000045 position: center center;
Akrond059ea22021-03-02 15:32:27 +010046 size: 15%;
Nils Diewalda944fab2015-04-08 21:02:04 +000047 }
48 }
49}
50
Akrona24af0a2021-01-11 17:38:40 +010051p.bibentry {
52 font-size: 80%;
53 margin-left: 3em;
54 margin-bottom: 3em;
Akronc6c68212025-10-22 14:33:51 +020055 text-indent: -1.5em;
Akrona24af0a2021-01-11 17:38:40 +010056 cite {
57 font-weight: bold;
58 }
Akrona24af0a2021-01-11 17:38:40 +010059}
60
Nils Diewalda944fab2015-04-08 21:02:04 +000061body.embedded {
Akron7636edf2025-11-04 12:44:53 +010062 background-color: colors.$nearly-white;
Nils Diewald7c8ced22015-04-15 19:21:00 +000063 aside {
Akron7636edf2025-11-04 12:44:53 +010064 @include choose.choose-item;
Akron7e5afce2020-08-25 15:50:19 +020065 padding-top: 0;
Akron7636edf2025-11-04 12:44:53 +010066 background-color: colors.$middle-grey;
Akron7e5afce2020-08-25 15:50:19 +020067
Nils Diewalda944fab2015-04-08 21:02:04 +000068 > div {
Akron7e5afce2020-08-25 15:50:19 +020069 position: relative;
70 top: 50%;
Nils Diewalda944fab2015-04-08 21:02:04 +000071 -webkit-transform: translateY(-50%);
Akron7e5afce2020-08-25 15:50:19 +020072 -ms-transform: translateY(-50%);
73 transform: translateY(-50%);
Nils Diewalda944fab2015-04-08 21:02:04 +000074 }
75 }
76}