Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
2 | @import "util"; | ||||
3 | |||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 4 | /** |
5 | * Media rules for different screen sizes. | ||||
6 | * This will override some basic rules. | ||||
7 | */ | ||||
8 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 9 | $standard-margin: 4px; |
10 | |||||
11 | @media (orientation: portrait), (max-width: 42.5em) { | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 12 | body, |
13 | #search ol, | ||||
14 | header, | ||||
15 | header input, | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 16 | div#resultinfo, |
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 17 | #pagination > a { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 18 | font-size: 9pt; |
19 | } | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 20 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 21 | header form { |
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 22 | padding-left: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 23 | padding-top: 33px; |
24 | } | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 25 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 26 | .vc { |
27 | font-size: 9pt; | ||||
28 | } | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 29 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 30 | h1 { |
31 | margin-left: 10px; | ||||
32 | width: 130px; | ||||
33 | height: 40px; | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 34 | background: { |
35 | size: 100%; | ||||
36 | position: 50% 0; | ||||
37 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 38 | 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 | |||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 64 | header .button { |
Akron | 67b5181 | 2017-05-01 14:10:55 +0200 | [diff] [blame^] | 65 | margin-right: $standard-margin; |
66 | &.top { | ||||
67 | height: auto; | ||||
68 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 69 | } |
70 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 71 | #search ol { |
72 | > li:target, > li.active { | ||||
73 | > div > div.snippet { | ||||
Akron | 67b5181 | 2017-05-01 14:10:55 +0200 | [diff] [blame^] | 74 | margin: 2px 2em 2px 4px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 75 | } |
76 | } | ||||
Akron | 67b5181 | 2017-05-01 14:10:55 +0200 | [diff] [blame^] | 77 | > li div.meta { |
78 | display: none; | ||||
79 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 80 | > li:not(:target):not(.active) { |
81 | padding: 3pt 0 3pt 0; | ||||
82 | } | ||||
83 | } | ||||
84 | |||||
85 | div.matchinfo { | ||||
86 | font-size: 9pt; | ||||
87 | } | ||||
88 | |||||
89 | div.matchtable tr > * { | ||||
90 | padding: 1pt 3pt; | ||||
91 | } | ||||
92 | |||||
93 | div.matchtree { | ||||
94 | h6 { | ||||
95 | display: block; | ||||
96 | float: none; | ||||
97 | } | ||||
98 | > div { | ||||
99 | margin-left: 2px; | ||||
100 | } | ||||
101 | } | ||||
102 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 103 | #logos { |
104 | margin-left: 0; | ||||
105 | margin-right: 0; | ||||
106 | |||||
107 | > div { | ||||
108 | border-top-width: 14px; | ||||
109 | } | ||||
110 | } | ||||
111 | |||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 112 | div.intro { |
113 | width: 100%; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 114 | } |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 115 | |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 116 | aside { |
117 | &:not(:focus):not(.active) { | ||||
118 | margin-left: -1 * $logo-left-distance; | ||||
119 | &::after { | ||||
120 | font-size: 12pt; | ||||
121 | width: 10pt; | ||||
122 | height: 11pt; | ||||
123 | } | ||||
124 | } | ||||
125 | ul { | ||||
126 | font-size: 9pt; | ||||
127 | line-height: 1em; | ||||
128 | } | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 129 | } |
130 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 131 | #tutorial { |
132 | border-radius: 0; | ||||
133 | border-width: 0; | ||||
134 | right: 0; | ||||
135 | left: 0; | ||||
136 | bottom: 0; | ||||
137 | top: 0; | ||||
138 | padding: 0; | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 139 | iframe { |
140 | border-radius: 0; | ||||
141 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 142 | } |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 143 | |
144 | main.tutorial { | ||||
145 | margin-right: 30px; | ||||
146 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 147 | } |