blob: 84d3a56554070d0ed19e1aec4cfa5aa51daf68c2 [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
11@media (orientation: portrait), (max-width: 42.5em) {
Nils Diewald652e5f42015-05-10 18:11:45 +000012 body,
13 #search ol,
14 header,
15 header input,
Akron179c8ac2015-06-30 19:30:50 +020016 div#resultinfo,
Nils Diewald652e5f42015-05-10 18:11:45 +000017 #pagination > a {
Nils Diewalda944fab2015-04-08 21:02:04 +000018 font-size: 9pt;
19 }
Nils Diewald652e5f42015-05-10 18:11:45 +000020
Nils Diewalda944fab2015-04-08 21:02:04 +000021 header form {
Nils Diewald652e5f42015-05-10 18:11:45 +000022 padding-left: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000023 padding-top: 33px;
24 }
Nils Diewald652e5f42015-05-10 18:11:45 +000025
Nils Diewalda944fab2015-04-08 21:02:04 +000026 .vc {
27 font-size: 9pt;
28 }
Nils Diewald652e5f42015-05-10 18:11:45 +000029
Nils Diewalda944fab2015-04-08 21:02:04 +000030 h1 {
31 margin-left: 10px;
32 width: 130px;
33 height: 40px;
Nils Diewald652e5f42015-05-10 18:11:45 +000034 background: {
35 size: 100%;
36 position: 50% 0;
37 }
Nils Diewalda944fab2015-04-08 21:02:04 +000038 z-index: 300;
39 }
40
41 #searchbar {
42 padding-right: 30px;
43 input {
44 font-size: 9pt;
45 }
46 button[type=submit] {
47 right: 0;
48 }
49 }
50
51 .level-1 {
52 padding-bottom: 2px;
53 }
54
55 .level-2 {
56 padding-bottom: 4px;
57 }
58
59 main {
60 margin-left: $standard-margin;
61 margin-right: $standard-margin;
62 }
63
Akronb917a7c2015-07-02 11:02:42 +020064 header .button {
65 margin-right: $standard-margin;
66 }
67
Nils Diewalda944fab2015-04-08 21:02:04 +000068 #search ol {
69 > li:target, > li.active {
70 > div > div.snippet {
71 margin: 2px 2em 2px 4px;
72 }
73 }
74 > li:not(:target):not(.active) {
75 padding: 3pt 0 3pt 0;
76 }
77 }
78
79 div.matchinfo {
80 font-size: 9pt;
81 }
82
83 div.matchtable tr > * {
84 padding: 1pt 3pt;
85 }
86
87 div.matchtree {
88 h6 {
89 display: block;
90 float: none;
91 }
92 > div {
93 margin-left: 2px;
94 }
95 }
96
Nils Diewalda944fab2015-04-08 21:02:04 +000097 #logos {
98 margin-left: 0;
99 margin-right: 0;
100
101 > div {
102 border-top-width: 14px;
103 }
104 }
105
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000106 div.intro {
107 width: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +0000108 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000109
Nils Diewald7148c6f2015-05-04 15:07:53 +0000110 aside {
111 &:not(:focus):not(.active) {
112 margin-left: -1 * $logo-left-distance;
113 &::after {
114 font-size: 12pt;
115 width: 10pt;
116 height: 11pt;
117 }
118 }
119 ul {
120 font-size: 9pt;
121 line-height: 1em;
122 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000123 }
124
Nils Diewalda944fab2015-04-08 21:02:04 +0000125 #tutorial {
126 border-radius: 0;
127 border-width: 0;
128 right: 0;
129 left: 0;
130 bottom: 0;
131 top: 0;
132 padding: 0;
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000133 iframe {
134 border-radius: 0;
135 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000136 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +0000137
138 main.tutorial {
139 margin-right: 30px;
140 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000141}