blob: bb2975d3c7135fdabee5213fb20e9e40473f1d14 [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;
Nils Diewalda944fab2015-04-08 21:02:04 +000066 input {
67 font-size: 9pt;
68 }
69 button[type=submit] {
70 right: 0;
71 }
72 }
73
74 .level-1 {
75 padding-bottom: 2px;
76 }
77
78 .level-2 {
79 padding-bottom: 4px;
80 }
81
82 main {
83 margin-left: $standard-margin;
84 margin-right: $standard-margin;
85 }
86
Akronb917a7c2015-07-02 11:02:42 +020087 header .button {
Akron67b51812017-05-01 14:10:55 +020088 margin-right: $standard-margin;
89 &.top {
90 height: auto;
91 }
Akronb917a7c2015-07-02 11:02:42 +020092 }
93
Nils Diewalda944fab2015-04-08 21:02:04 +000094 #search ol {
95 > li:target, > li.active {
96 > div > div.snippet {
Akron67b51812017-05-01 14:10:55 +020097 margin: 2px 2em 2px 4px;
Nils Diewalda944fab2015-04-08 21:02:04 +000098 }
99 }
Akron67b51812017-05-01 14:10:55 +0200100 > li div.meta {
101 display: none;
102 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000103 }
104
105 div.matchinfo {
106 font-size: 9pt;
107 }
108
109 div.matchtable tr > * {
110 padding: 1pt 3pt;
111 }
112
Akron8b592d42018-01-26 18:33:06 +0100113 div.matchtree { //, div.metatable {
Nils Diewalda944fab2015-04-08 21:02:04 +0000114 h6 {
115 display: block;
116 float: none;
117 }
Akron8b592d42018-01-26 18:33:06 +0100118 > div { // , > dl {
Nils Diewalda944fab2015-04-08 21:02:04 +0000119 margin-left: 2px;
120 }
121 }
Akrone6be0a82019-03-12 15:24:31 +0100122
Nils Diewalda944fab2015-04-08 21:02:04 +0000123 #logos {
124 margin-left: 0;
125 margin-right: 0;
126
127 > div {
128 border-top-width: 14px;
Akrone6be0a82019-03-12 15:24:31 +0100129 padding-right: 0;
130 .logo > * {
131 background: {
132 size: 60%;
133 position: 0 0;
134 }
135 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000136 }
137 }
138
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000139 div.intro {
140 width: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +0000141 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000142
Akron1120a582017-10-17 12:29:16 +0200143 body.embedded aside > div {
144 top: 0;
145 transform: translateY(0);
146 }
147
Nils Diewald7148c6f2015-05-04 15:07:53 +0000148 aside {
149 &:not(:focus):not(.active) {
150 margin-left: -1 * $logo-left-distance;
151 &::after {
Akron05238fb2017-06-02 14:29:03 +0200152 font-size: 12pt;
Akron05238fb2017-06-02 14:29:03 +0200153 height: 11pt;
Akron2167ff52018-08-29 18:04:06 +0200154 text-align: right;
155 padding-right: 3pt;
156 padding-top: 2pt;
Nils Diewald7148c6f2015-05-04 15:07:53 +0000157 }
158 }
159 ul {
160 font-size: 9pt;
161 line-height: 1em;
162 }
Akron1120a582017-10-17 12:29:16 +0200163 &.active ~ main div.intro,
Akronf7ec4442019-10-27 20:01:05 +0100164 &.active ~ main.page {
Akron05238fb2017-06-02 14:29:03 +0200165 margin-left: $standard-margin !important;
166 }
Akron4751da62017-06-07 22:37:10 +0200167
168 &.active {
169 position: relative;
170 display: block;
171 padding-top: 0;
172 width: 100%;
173 top: 0;
174 border-width: 0;
175 fieldset input {
176 font-size: 9pt;
177 }
178 &::after {
179 display: none;
180 }
Akronef6d5f12018-05-28 17:54:58 +0200181 p, hr {
Akron4751da62017-06-07 22:37:10 +0200182 display: none;
183 }
184 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000185 }
186
Nils Diewalda944fab2015-04-08 21:02:04 +0000187 #tutorial {
188 border-radius: 0;
189 border-width: 0;
190 right: 0;
191 left: 0;
192 bottom: 0;
193 top: 0;
194 padding: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000195 iframe {
196 border-radius: 0;
197 }
Akron1120a582017-10-17 12:29:16 +0200198 > ul.action.right {
199 height: 1.5em;
200 right: 20px;
201 border-bottom-left-radius: 5px;
202 border-bottom-right-radius: 5px;
203 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000204 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000205
Akronf7ec4442019-10-27 20:01:05 +0100206 main.page {
Akron1120a582017-10-17 12:29:16 +0200207 margin-right: 20px;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000208 }
Akroned280252021-03-15 15:02:41 +0100209
210 footer {
211 padding-left: 0 !important;
212 }
Akron7e2b8de2018-02-13 18:59:37 +0100213}
214
215
216@media print {
217 body, html, select, g > text {
218 color: black;
219 }
220 header, aside {
221 display: none;
222 }
Akronf7ec4442019-10-27 20:01:05 +0100223 main.page {
Akron7e2b8de2018-02-13 18:59:37 +0100224 margin: 1em;
225 }
Akron9490e3b2019-10-17 12:26:29 +0200226 a.embedded-link {
Akron7e2b8de2018-02-13 18:59:37 +0100227 color: black;
228 text-decoration: underline;
229 }
230 pre.query.tutorial {
231 background-color: white;
232 color: black;
233 margin-left: 1em;
234 margin-right: 1em;
235 }
236 blockquote.warning {
237 background-color: grey;
238 color: white;
239 border-left-color: black;
240 border-left-width: 1em;
241 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000242}