File tree Expand file tree Collapse file tree 2 files changed +54
-7
lines changed Expand file tree Collapse file tree 2 files changed +54
-7
lines changed Original file line number Diff line number Diff line change 17
17
< a class ="minimal-header-link " href ="{{ headerUrl }}about "> About WCAG {{ headerLabel }}</ a >
18
18
< div class ="minimal-header-logo ">
19
19
< a href ="http://w3.org/ " aria-label ="W3C ">
20
- < svg xmlns ="http://www.w3.org/2000/svg " height ="2em " viewBox ="0 0 91.968 44 "
21
- style ="margin: 0.75em 0 0.75em 0.5em ">
20
+ < svg xmlns ="http://www.w3.org/2000/svg " height ="2em " viewBox ="0 0 91.968 44 ">
22
21
< g fill-rule ="evenodd " fill ="none ">
23
22
< path fill ="#015a9c " d ="M-.231-.21h92.917v44.659H-.23z " />
24
23
< g fill-rule ="nonzero " fill ="#fff ">
29
28
</ svg >
30
29
</ a >
31
30
< a href ="http://w3.org/WAI/ " aria-label ="Web Accessibility Initiative ">
32
- < svg xmlns ="http://www.w3.org/2000/svg " height ="2em " viewBox ="0 0 162.5 45.9 "
33
- style ="margin: 0.75em 0 0.75em 0.5em ">
31
+ < svg xmlns ="http://www.w3.org/2000/svg " height ="2em " viewBox ="0 0 162.5 45.9 ">
34
32
< g fill ="none " fill-rule ="evenodd ">
35
33
< path d ="M0 0h162.5v45.9H0z " fill ="#015a9c " />
36
34
< path d ="M1.2 24.5h160 " stroke ="#eed009 " stroke-linecap ="square " stroke-width ="2 " />
Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
.nav-container {
6
- background-image : linear-gradient (# d0e1f1 0 , # d0e1f1 50px , # fff 50px );
6
+ }
7
+
8
+ .nav {
9
+ overflow : inherit;
7
10
}
8
11
9
12
.nav__item a {
10
13
display : inline-block;
14
+ white-space : inherit;
11
15
}
12
16
13
17
.nav__item a svg {
@@ -162,6 +166,9 @@ padding: 1.75em 0 0 0;
162
166
.minimal-header-logo img {
163
167
margin : 1px 0 1px 0 ;
164
168
}
169
+ .minimal-header-logo svg {
170
+ margin : 0.75em 0 0.75em 0.5em ;
171
+ }
165
172
166
173
# site-header .minimal-header {
167
174
margin : 1.2em 0 ;
@@ -282,13 +289,13 @@ align-items: center;
282
289
.nav .standalone-resource-pager a ,
283
290
.nav .standalone-resource-pager span {
284
291
margin-left : 0 ;
285
- margin-right : 1.5 em ;
292
+ margin-right : 0 ;
286
293
}
287
294
288
295
.pager-icon {
289
296
vertical-align : middle;
290
297
padding : 0 0.15em 0.15em 0.15em ;
291
- width : 1.65 em ;
298
+ width : 1 em ;
292
299
height : 2em ;
293
300
fill : # 005A6A ; /* when these are used as actual SVGs */
294
301
}
@@ -393,4 +400,46 @@ margin-right:.8em;
393
400
}
394
401
# brief dl {
395
402
margin-left : 2em ;
403
+ }
404
+
405
+ @media (max-width : 35em ) {
406
+ .nav-container {
407
+ padding : 0 ;
408
+ }
409
+ .nav a {
410
+ display : inline-block;
411
+ width : calc (100% - 2em );
412
+ }
413
+ @supports (display : gred) {
414
+ # site-header {
415
+ padding-left : 0 ;
416
+ }
417
+ }
418
+ .minimal-header {
419
+ display : block;
420
+ }
421
+ # site-header .minimal-header .minimal-header-name , # site-header .minimal-header .minimal-header-subtitle , # site-header .minimal-header .minimal-header-link {
422
+ display : block;
423
+ }
424
+ # site-header .minimal-header .minimal-header-subtitle {
425
+ display : none;
426
+ }
427
+ .minimal-header-name {
428
+ font-size : 160% ;
429
+ margin-bottom : 0.5em ;
430
+ }
431
+ .minimal-header-link {
432
+ margin-left : 0 ;
433
+ padding-left : 0 ;
434
+ border : none;
435
+ }
436
+ .minimal-header-logo {
437
+ display : block;
438
+ }
439
+ .minimal-header-logo > a {
440
+ display : inline-block;
441
+ }
442
+ .minimal-header-logo svg {
443
+ margin : 1em 0 0 0 ;
444
+ }
396
445
}
You can’t perform that action at this time.
0 commit comments