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