blob: d7875f896e8b3e7ddd83609695e71d9354526809 [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;
Akron6b42c602020-09-08 17:00:13 +020025 }
Akron2167ff52018-08-29 18:04:06 +020026
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 {
Akrond059ea22021-03-02 15:32:27 +010052 margin-left: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000053 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;
Akronc3f063c2021-04-20 14:29:42 +020060 position: absolute !important;
Nils Diewalda944fab2015-04-08 21:02:04 +000061 }
62
63 #searchbar {
64 padding-right: 30px;
Akrond059ea22021-03-02 15:32:27 +010065 margin-top: 0;
Uyen-Nhu Trancac3cd92024-04-10 01:28:27 +020066 input#q-field {
Nils Diewalda944fab2015-04-08 21:02:04 +000067 font-size: 9pt;
Uyen-Nhu Trancac3cd92024-04-10 01:28:27 +020068 border-radius: 6px 0 0 6px;
Nils Diewalda944fab2015-04-08 21:02:04 +000069 }
70 button[type=submit] {
71 right: 0;
72 }
73 }
74
75 .level-1 {
76 padding-bottom: 2px;
77 }
78
79 .level-2 {
80 padding-bottom: 4px;
81 }
82
83 main {
84 margin-left: $standard-margin;
85 margin-right: $standard-margin;
86 }
87
Akronb917a7c2015-07-02 11:02:42 +020088 header .button {
Akron67b51812017-05-01 14:10:55 +020089 margin-right: $standard-margin;
90 &.top {
91 height: auto;
92 }
Akronb917a7c2015-07-02 11:02:42 +020093 }
94
Nils Diewalda944fab2015-04-08 21:02:04 +000095 #search ol {
96 > li:target, > li.active {
97 > div > div.snippet {
Akron67b51812017-05-01 14:10:55 +020098 margin: 2px 2em 2px 4px;
Nils Diewalda944fab2015-04-08 21:02:04 +000099 }
100 }
Akron67b51812017-05-01 14:10:55 +0200101 > li div.meta {
102 display: none;
103 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000104 }
105
106 div.matchinfo {
107 font-size: 9pt;
108 }
109
110 div.matchtable tr > * {
111 padding: 1pt 3pt;
112 }
113
Akron8b592d42018-01-26 18:33:06 +0100114 div.matchtree { //, div.metatable {
Nils Diewalda944fab2015-04-08 21:02:04 +0000115 h6 {
116 display: block;
117 float: none;
118 }
Akron8b592d42018-01-26 18:33:06 +0100119 > div { // , > dl {
Nils Diewalda944fab2015-04-08 21:02:04 +0000120 margin-left: 2px;
121 }
122 }
Akrone6be0a82019-03-12 15:24:31 +0100123
Nils Diewalda944fab2015-04-08 21:02:04 +0000124 #logos {
125 margin-left: 0;
126 margin-right: 0;
127
128 > div {
129 border-top-width: 14px;
Akrone6be0a82019-03-12 15:24:31 +0100130 padding-right: 0;
131 .logo > * {
132 background: {
133 size: 60%;
134 position: 0 0;
135 }
136 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000137 }
138 }
139
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000140 div.intro {
141 width: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +0000142 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000143
Akron1120a582017-10-17 12:29:16 +0200144 body.embedded aside > div {
145 top: 0;
146 transform: translateY(0);
147 }
148
Nils Diewald7148c6f2015-05-04 15:07:53 +0000149 aside {
150 &:not(:focus):not(.active) {
151 margin-left: -1 * $logo-left-distance;
152 &::after {
Akron05238fb2017-06-02 14:29:03 +0200153 font-size: 12pt;
Akron05238fb2017-06-02 14:29:03 +0200154 height: 11pt;
Akron2167ff52018-08-29 18:04:06 +0200155 text-align: right;
156 padding-right: 3pt;
157 padding-top: 2pt;
Nils Diewald7148c6f2015-05-04 15:07:53 +0000158 }
159 }
160 ul {
161 font-size: 9pt;
162 line-height: 1em;
163 }
Akron1120a582017-10-17 12:29:16 +0200164 &.active ~ main div.intro,
Akronf7ec4442019-10-27 20:01:05 +0100165 &.active ~ main.page {
Akron05238fb2017-06-02 14:29:03 +0200166 margin-left: $standard-margin !important;
167 }
Akron4751da62017-06-07 22:37:10 +0200168
169 &.active {
170 position: relative;
171 display: block;
172 padding-top: 0;
173 width: 100%;
174 top: 0;
175 border-width: 0;
176 fieldset input {
177 font-size: 9pt;
178 }
179 &::after {
180 display: none;
181 }
Akronef6d5f12018-05-28 17:54:58 +0200182 p, hr {
Akron4751da62017-06-07 22:37:10 +0200183 display: none;
184 }
185 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000186 }
187
Nils Diewalda944fab2015-04-08 21:02:04 +0000188 #tutorial {
189 border-radius: 0;
190 border-width: 0;
191 right: 0;
192 left: 0;
193 bottom: 0;
194 top: 0;
195 padding: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000196 iframe {
197 border-radius: 0;
198 }
Akron1120a582017-10-17 12:29:16 +0200199 > ul.action.right {
200 height: 1.5em;
201 right: 20px;
202 border-bottom-left-radius: 5px;
203 border-bottom-right-radius: 5px;
204 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000205 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000206
Akronf7ec4442019-10-27 20:01:05 +0100207 main.page {
Akron1120a582017-10-17 12:29:16 +0200208 margin-right: 20px;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000209 }
Akroned280252021-03-15 15:02:41 +0100210
211 footer {
212 padding-left: 0 !important;
213 }
Akron7e2b8de2018-02-13 18:59:37 +0100214}
215
216
217@media print {
218 body, html, select, g > text {
219 color: black;
220 }
221 header, aside {
222 display: none;
223 }
Akronf7ec4442019-10-27 20:01:05 +0100224 main.page {
Akron7e2b8de2018-02-13 18:59:37 +0100225 margin: 1em;
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}