blob: a03f107fe4bc9fb2bca9f6b97942a568cbcac62b [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;
Nils Diewalda944fab2015-04-08 21:02:04 +000060 }
61
62 #searchbar {
63 padding-right: 30px;
Akrond059ea22021-03-02 15:32:27 +010064 margin-top: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000065 input {
66 font-size: 9pt;
67 }
68 button[type=submit] {
69 right: 0;
70 }
71 }
72
73 .level-1 {
74 padding-bottom: 2px;
75 }
76
77 .level-2 {
78 padding-bottom: 4px;
79 }
80
81 main {
82 margin-left: $standard-margin;
83 margin-right: $standard-margin;
84 }
85
Akronb917a7c2015-07-02 11:02:42 +020086 header .button {
Akron67b51812017-05-01 14:10:55 +020087 margin-right: $standard-margin;
88 &.top {
89 height: auto;
90 }
Akronb917a7c2015-07-02 11:02:42 +020091 }
92
Nils Diewalda944fab2015-04-08 21:02:04 +000093 #search ol {
94 > li:target, > li.active {
95 > div > div.snippet {
Akron67b51812017-05-01 14:10:55 +020096 margin: 2px 2em 2px 4px;
Nils Diewalda944fab2015-04-08 21:02:04 +000097 }
98 }
Akron67b51812017-05-01 14:10:55 +020099 > li div.meta {
100 display: none;
101 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000102 }
103
104 div.matchinfo {
105 font-size: 9pt;
106 }
107
108 div.matchtable tr > * {
109 padding: 1pt 3pt;
110 }
111
Akron8b592d42018-01-26 18:33:06 +0100112 div.matchtree { //, div.metatable {
Nils Diewalda944fab2015-04-08 21:02:04 +0000113 h6 {
114 display: block;
115 float: none;
116 }
Akron8b592d42018-01-26 18:33:06 +0100117 > div { // , > dl {
Nils Diewalda944fab2015-04-08 21:02:04 +0000118 margin-left: 2px;
119 }
120 }
Akrone6be0a82019-03-12 15:24:31 +0100121
Nils Diewalda944fab2015-04-08 21:02:04 +0000122 #logos {
123 margin-left: 0;
124 margin-right: 0;
125
126 > div {
127 border-top-width: 14px;
Akrone6be0a82019-03-12 15:24:31 +0100128 padding-right: 0;
129 .logo > * {
130 background: {
131 size: 60%;
132 position: 0 0;
133 }
134 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000135 }
136 }
137
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000138 div.intro {
139 width: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +0000140 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000141
Akron1120a582017-10-17 12:29:16 +0200142 body.embedded aside > div {
143 top: 0;
144 transform: translateY(0);
145 }
146
Nils Diewald7148c6f2015-05-04 15:07:53 +0000147 aside {
148 &:not(:focus):not(.active) {
149 margin-left: -1 * $logo-left-distance;
150 &::after {
Akron05238fb2017-06-02 14:29:03 +0200151 font-size: 12pt;
Akron05238fb2017-06-02 14:29:03 +0200152 height: 11pt;
Akron2167ff52018-08-29 18:04:06 +0200153 text-align: right;
154 padding-right: 3pt;
155 padding-top: 2pt;
Nils Diewald7148c6f2015-05-04 15:07:53 +0000156 }
157 }
158 ul {
159 font-size: 9pt;
160 line-height: 1em;
161 }
Akron1120a582017-10-17 12:29:16 +0200162 &.active ~ main div.intro,
Akronf7ec4442019-10-27 20:01:05 +0100163 &.active ~ main.page {
Akron05238fb2017-06-02 14:29:03 +0200164 margin-left: $standard-margin !important;
165 }
Akron4751da62017-06-07 22:37:10 +0200166
167 &.active {
168 position: relative;
169 display: block;
170 padding-top: 0;
171 width: 100%;
172 top: 0;
173 border-width: 0;
174 fieldset input {
175 font-size: 9pt;
176 }
177 &::after {
178 display: none;
179 }
Akronef6d5f12018-05-28 17:54:58 +0200180 p, hr {
Akron4751da62017-06-07 22:37:10 +0200181 display: none;
182 }
183 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000184 }
185
Nils Diewalda944fab2015-04-08 21:02:04 +0000186 #tutorial {
187 border-radius: 0;
188 border-width: 0;
189 right: 0;
190 left: 0;
191 bottom: 0;
192 top: 0;
193 padding: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000194 iframe {
195 border-radius: 0;
196 }
Akron1120a582017-10-17 12:29:16 +0200197 > ul.action.right {
198 height: 1.5em;
199 right: 20px;
200 border-bottom-left-radius: 5px;
201 border-bottom-right-radius: 5px;
202 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000203 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000204
Akronf7ec4442019-10-27 20:01:05 +0100205 main.page {
Akron1120a582017-10-17 12:29:16 +0200206 margin-right: 20px;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000207 }
Akron7e2b8de2018-02-13 18:59:37 +0100208}
209
210
211@media print {
212 body, html, select, g > text {
213 color: black;
214 }
215 header, aside {
216 display: none;
217 }
Akronf7ec4442019-10-27 20:01:05 +0100218 main.page {
Akron7e2b8de2018-02-13 18:59:37 +0100219 margin: 1em;
220 }
Akron9490e3b2019-10-17 12:26:29 +0200221 a.embedded-link {
Akron7e2b8de2018-02-13 18:59:37 +0100222 color: black;
223 text-decoration: underline;
224 }
225 pre.query.tutorial {
226 background-color: white;
227 color: black;
228 margin-left: 1em;
229 margin-right: 1em;
230 }
231 blockquote.warning {
232 background-color: grey;
233 color: white;
234 border-left-color: black;
235 border-left-width: 1em;
236 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000237}