blob: 1a61392eb087bbb3883227da71b3393cd36a855d [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Nils Diewald652e5f42015-05-10 18:11:45 +00004/**
5 * Media rules for different screen sizes.
6 * This will override some basic rules.
7 */
8
Nils Diewalda944fab2015-04-08 21:02:04 +00009$standard-margin: 4px;
10
Akron05238fb2017-06-02 14:29:03 +020011// (orientation: portrait),
12@media all and (max-width: 42.5em) {
Nils Diewald652e5f42015-05-10 18:11:45 +000013 body,
Akron2167ff52018-08-29 18:04:06 +020014 #search > ol,
15 #search div.snippet > span,
Nils Diewald652e5f42015-05-10 18:11:45 +000016 header,
17 header input,
Akron179c8ac2015-06-30 19:30:50 +020018 div#resultinfo,
Nils Diewald652e5f42015-05-10 18:11:45 +000019 #pagination > a {
Nils Diewalda944fab2015-04-08 21:02:04 +000020 font-size: 9pt;
21 }
Nils Diewald652e5f42015-05-10 18:11:45 +000022
Akron2167ff52018-08-29 18:04:06 +020023 header {
24 padding-right: 8px;
25 };
26
Nils Diewalda944fab2015-04-08 21:02:04 +000027 header form {
Nils Diewald652e5f42015-05-10 18:11:45 +000028 padding-left: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000029 padding-top: 33px;
30 }
Nils Diewald652e5f42015-05-10 18:11:45 +000031
Nils Diewalda944fab2015-04-08 21:02:04 +000032 .vc {
Akron451ed5e2018-11-12 10:52:33 +010033
Nils Diewalda944fab2015-04-08 21:02:04 +000034 font-size: 9pt;
Akron90654812018-08-29 18:57:23 +020035 .builder {
36 .doc {
37 padding-left: 3em;
38 }
39 * .docGroup {
40 margin-left: 3em;
41 }
Akron451ed5e2018-11-12 10:52:33 +010042 > .doc {
43 padding-left: .5em;
44 }
45 > .docGroup {
46 margin-left: .5em;
47 }
Akron90654812018-08-29 18:57:23 +020048 }
Nils Diewalda944fab2015-04-08 21:02:04 +000049 }
Nils Diewald652e5f42015-05-10 18:11:45 +000050
Nils Diewalda944fab2015-04-08 21:02:04 +000051 h1 {
52 margin-left: 10px;
53 width: 130px;
54 height: 40px;
Nils Diewald652e5f42015-05-10 18:11:45 +000055 background: {
56 size: 100%;
57 position: 50% 0;
58 }
Akronbd36c712018-02-15 11:14:23 +010059 z-index: 110;
Nils Diewalda944fab2015-04-08 21:02:04 +000060 }
61
62 #searchbar {
63 padding-right: 30px;
64 input {
65 font-size: 9pt;
66 }
67 button[type=submit] {
68 right: 0;
69 }
70 }
71
72 .level-1 {
73 padding-bottom: 2px;
74 }
75
76 .level-2 {
77 padding-bottom: 4px;
78 }
79
80 main {
81 margin-left: $standard-margin;
82 margin-right: $standard-margin;
83 }
84
Akronb917a7c2015-07-02 11:02:42 +020085 header .button {
Akron67b51812017-05-01 14:10:55 +020086 margin-right: $standard-margin;
87 &.top {
88 height: auto;
89 }
Akronb917a7c2015-07-02 11:02:42 +020090 }
91
Nils Diewalda944fab2015-04-08 21:02:04 +000092 #search ol {
93 > li:target, > li.active {
94 > div > div.snippet {
Akron67b51812017-05-01 14:10:55 +020095 margin: 2px 2em 2px 4px;
Nils Diewalda944fab2015-04-08 21:02:04 +000096 }
97 }
Akron67b51812017-05-01 14:10:55 +020098 > li div.meta {
99 display: none;
100 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000101 }
102
103 div.matchinfo {
104 font-size: 9pt;
105 }
106
107 div.matchtable tr > * {
108 padding: 1pt 3pt;
109 }
110
Akron8b592d42018-01-26 18:33:06 +0100111 div.matchtree { //, div.metatable {
Nils Diewalda944fab2015-04-08 21:02:04 +0000112 h6 {
113 display: block;
114 float: none;
115 }
Akron8b592d42018-01-26 18:33:06 +0100116 > div { // , > dl {
Nils Diewalda944fab2015-04-08 21:02:04 +0000117 margin-left: 2px;
118 }
119 }
120
Akrone6be0a82019-03-12 15:24:31 +0100121 #kalamar-bg {
122 overflow: hidden;
123 }
124
Nils Diewalda944fab2015-04-08 21:02:04 +0000125 #logos {
126 margin-left: 0;
127 margin-right: 0;
128
129 > div {
130 border-top-width: 14px;
Akrone6be0a82019-03-12 15:24:31 +0100131 padding-right: 0;
132 .logo > * {
133 background: {
134 size: 60%;
135 position: 0 0;
136 }
137 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000138 }
139 }
140
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000141 div.intro {
142 width: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +0000143 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000144
Akron1120a582017-10-17 12:29:16 +0200145 body.embedded aside > div {
146 top: 0;
147 transform: translateY(0);
148 }
149
Nils Diewald7148c6f2015-05-04 15:07:53 +0000150 aside {
151 &:not(:focus):not(.active) {
152 margin-left: -1 * $logo-left-distance;
153 &::after {
Akron05238fb2017-06-02 14:29:03 +0200154 font-size: 12pt;
Akron05238fb2017-06-02 14:29:03 +0200155 height: 11pt;
Akron2167ff52018-08-29 18:04:06 +0200156 text-align: right;
157 padding-right: 3pt;
158 padding-top: 2pt;
Nils Diewald7148c6f2015-05-04 15:07:53 +0000159 }
160 }
161 ul {
162 font-size: 9pt;
163 line-height: 1em;
164 }
Akron1120a582017-10-17 12:29:16 +0200165 &.active ~ main div.intro,
Akronf7ec4442019-10-27 20:01:05 +0100166 &.active ~ main.page {
Akron05238fb2017-06-02 14:29:03 +0200167 margin-left: $standard-margin !important;
168 }
Akron4751da62017-06-07 22:37:10 +0200169
170 &.active {
171 position: relative;
172 display: block;
173 padding-top: 0;
174 width: 100%;
175 top: 0;
176 border-width: 0;
177 fieldset input {
178 font-size: 9pt;
179 }
180 &::after {
181 display: none;
182 }
Akronef6d5f12018-05-28 17:54:58 +0200183 p, hr {
Akron4751da62017-06-07 22:37:10 +0200184 display: none;
185 }
186 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000187 }
188
Nils Diewalda944fab2015-04-08 21:02:04 +0000189 #tutorial {
190 border-radius: 0;
191 border-width: 0;
192 right: 0;
193 left: 0;
194 bottom: 0;
195 top: 0;
196 padding: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000197 iframe {
198 border-radius: 0;
199 }
Akron1120a582017-10-17 12:29:16 +0200200 > ul.action.right {
201 height: 1.5em;
202 right: 20px;
203 border-bottom-left-radius: 5px;
204 border-bottom-right-radius: 5px;
205 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000206 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000207
Akronf7ec4442019-10-27 20:01:05 +0100208 main.page {
Akron1120a582017-10-17 12:29:16 +0200209 margin-right: 20px;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000210 }
Akron7e2b8de2018-02-13 18:59:37 +0100211}
212
213
214@media print {
215 body, html, select, g > text {
216 color: black;
217 }
218 header, aside {
219 display: none;
220 }
Akronf7ec4442019-10-27 20:01:05 +0100221 main.page {
Akron7e2b8de2018-02-13 18:59:37 +0100222 margin: 1em;
223 }
224 #kalamar-bg {
225 display: none;
226 }
Akron9490e3b2019-10-17 12:26:29 +0200227 a.embedded-link {
Akron7e2b8de2018-02-13 18:59:37 +0100228 color: black;
229 text-decoration: underline;
230 }
231 pre.query.tutorial {
232 background-color: white;
233 color: black;
234 margin-left: 1em;
235 margin-right: 1em;
236 }
237 blockquote.warning {
238 background-color: grey;
239 color: white;
240 border-left-color: black;
241 border-left-width: 1em;
242 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000243}