diff --git buddypress.org/public_html/wp-content/themes/bb-base/style-buddypress.css buddypress.org/public_html/wp-content/themes/bb-base/style-buddypress.css
index 00c4734b3..b3f2c606b 100644
|
|
|
1 | 1 | /* =Site Style |
2 | 2 | -------------------------------------------------------------- */ |
3 | 3 | |
4 | | #header { |
| 4 | #header, |
| 5 | #wporg-header { |
5 | 6 | background-color: #be3631; |
6 | 7 | border-bottom: 1px solid #9e1611; |
7 | 8 | } |
8 | 9 | |
9 | 10 | #header h1 a, |
10 | | #header h1 :link, |
11 | | #header h1 :link:hover { |
| 11 | #wporg-header h1 :link, |
| 12 | #wporg-header h1 :link:hover { |
12 | 13 | width: 265px; |
13 | 14 | background: url('../buddypress-org/images/buddypress-logo.png') no-repeat 0 0; |
14 | 15 | position: relative; |
… |
… |
div.free-page div.standard { |
49 | 50 | -------------------------------------------------------------- */ |
50 | 51 | |
51 | 52 | #nav li a:hover, |
52 | | #header #nav li :link:hover { |
| 53 | #wporg-header #wporg-header-menu li :link:hover { |
53 | 54 | background-color: #cf4944; |
54 | 55 | color: rgba(255,255,255,0.9); |
55 | 56 | } |
… |
… |
input.submit:hover { |
101 | 102 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { |
102 | 103 | |
103 | 104 | #header h1 a, |
104 | | #header h1 :link, |
105 | | #header h1 :link:hover { |
| 105 | #wporg-header h1 :link, |
| 106 | #wporg-header h1 :link:hover { |
106 | 107 | background-image: url('../buddypress-org/images/buddypress-logo-2x.png'); |
107 | 108 | background-size: 269px 65px; |
108 | 109 | } |
diff --git buddypress.org/public_html/wp-content/themes/bb-base/style.css buddypress.org/public_html/wp-content/themes/bb-base/style.css
index cde2e214d..df462542a 100644
|
|
body { |
45 | 45 | margin: 0; |
46 | 46 | color: #222; |
47 | 47 | } |
48 | | #header { |
| 48 | #header, |
| 49 | #wporg-header { |
49 | 50 | border-bottom: 1px solid #252; |
50 | 51 | position: fixed; |
51 | 52 | width: 100%; |
… |
… |
body.page-template-page-homepage-php #header { |
66 | 67 | height: 80px; |
67 | 68 | padding: 0; |
68 | 69 | } |
69 | | #header h1 { |
| 70 | #header h1, |
| 71 | #wporg-header h1 { |
70 | 72 | text-indent: -9999px; |
71 | 73 | } |
72 | | #header h1 a { |
| 74 | #header h1 a, |
| 75 | #wporg-header h1 a { |
73 | 76 | margin-top: 8px; |
74 | 77 | width: 220px; |
75 | 78 | height: 62px; |
… |
… |
div.single-post table tr.alt td { |
332 | 335 | /* =Navigation |
333 | 336 | -------------------------------------------------------------- */ |
334 | 337 | |
335 | | #bb-menu-icon { |
| 338 | #bb-menu-icon, |
| 339 | #mobile-menu-button { |
336 | 340 | display: none; |
337 | 341 | } |
338 | 342 | |
339 | | #bb-menu-icon:before { |
| 343 | #bb-menu-icon:before, |
| 344 | #mobile-menu-button:before { |
340 | 345 | font: normal 16px/1 'dashicons'; |
341 | 346 | color: #000; |
342 | 347 | content: '\f349' |
343 | 348 | } |
344 | 349 | |
345 | | #nav { |
| 350 | #nav, |
| 351 | #wporg-header-menu { |
346 | 352 | float: right; |
347 | 353 | margin: 30px 0 0 0; |
348 | 354 | line-height: 20px; |
349 | 355 | } |
350 | | #nav li { |
| 356 | #nav li, |
| 357 | #wporg-header #wporg-header-menu li { |
351 | 358 | display: inline; |
352 | 359 | float: left; |
353 | 360 | margin: 0 3px 0 3px; |
354 | 361 | list-style: none; |
355 | 362 | } |
356 | 363 | #nav li a, |
357 | | #header #nav li :link, |
358 | | #header #nav li :visited { |
| 364 | #wporg-header #wporg-header-menu li :link, |
| 365 | #wporg-header #wporg-header-menu li :visited { |
359 | 366 | text-decoration: none; |
360 | 367 | color: #fff; |
361 | 368 | height: auto; |
… |
… |
div.single-post table tr.alt td { |
369 | 376 | border-radius: 3px; |
370 | 377 | border: 1px solid transparent; |
371 | 378 | } |
372 | | #nav li a:hover { |
| 379 | #nav li a:hover, |
| 380 | #wporg-header-menu li :link:hover { |
373 | 381 | color: #ddeedd; |
374 | 382 | } |
375 | 383 | #nav li a.active { |
376 | 384 | color: #fff; |
377 | 385 | } |
378 | 386 | |
379 | | #subnav { |
| 387 | #subnav, |
| 388 | body.buddypress.trac #subnav { |
380 | 389 | background: #eee; |
381 | 390 | border-bottom: #ddd solid 1px; |
382 | 391 | font-size: 12px; |
… |
… |
body.trac .attachment { |
1652 | 1661 | float: none; |
1653 | 1662 | margin: 10px 0; |
1654 | 1663 | } |
1655 | | #bb-menu-icon { |
| 1664 | #bb-menu-icon, |
| 1665 | #mobile-menu-button { |
1656 | 1666 | display: block; |
1657 | 1667 | position: absolute; |
1658 | 1668 | right: 0; |
1659 | 1669 | padding: 33px 20px 33px 33px; |
1660 | 1670 | text-decoration: none; |
1661 | 1671 | } |
1662 | | #header #nav { |
| 1672 | #header #nav, |
| 1673 | #wporg-header #wporg-header-menu { |
1663 | 1674 | margin: 0; |
1664 | 1675 | float: right; |
1665 | 1676 | overflow: visible; |
1666 | 1677 | } |
1667 | | #header #bb-nav { |
| 1678 | #header #bb-nav, |
| 1679 | #wporg-header #wporg-header-menu { |
1668 | 1680 | position: absolute; |
1669 | 1681 | width: 100%; |
1670 | 1682 | right: 0; |
1671 | 1683 | top: 81px; |
1672 | 1684 | border-bottom: 1px solid #aaa; |
1673 | 1685 | } |
1674 | | #header #bb-nav li { |
| 1686 | #header #bb-nav li, |
| 1687 | #wporg-header #wporg-header-menu li { |
1675 | 1688 | width: 100%; |
1676 | 1689 | text-align: center; |
1677 | 1690 | margin: 0; |
1678 | 1691 | padding: 0; |
1679 | 1692 | } |
1680 | | #header #nav #bb-nav li a { |
| 1693 | #header #nav #bb-nav li a, |
| 1694 | #wporg-header #wporg-header-menu li :link, |
| 1695 | #wporg-header #wporg-header-menu li :visited { |
1681 | 1696 | display: block; |
1682 | 1697 | margin: 0; |
1683 | 1698 | padding: 20px; |
… |
… |
body.trac .attachment { |
1691 | 1706 | } |
1692 | 1707 | #header #bb-nav, |
1693 | 1708 | #bbpress-forums .bbp-pagination-count, |
1694 | | .bbp-topic-meta { |
| 1709 | .bbp-topic-meta, |
| 1710 | #wporg-header #wporg-header-menu { |
1695 | 1711 | display: none; |
1696 | 1712 | } |
1697 | 1713 | #header #nav:hover #bb-nav, |
1698 | | #header #nav:focus #bb-nav { |
| 1714 | #header #nav:focus #bb-nav, |
| 1715 | #wporg-header #wporg-header-menu.toggled { |
1699 | 1716 | background-color: #eee; |
1700 | 1717 | display: block !important; |
1701 | 1718 | } |
| 1719 | #wporg-header #wporg-header-menu.toggled { |
| 1720 | background: #eee; |
| 1721 | } |
1702 | 1722 | #header #nav:hover #bb-menu-icon:before, |
1703 | | #header #nav:focus #bb-menu-icon:before { |
| 1723 | #header #nav:focus #bb-menu-icon:before, |
| 1724 | #wporg-header #mobile-menu-button[aria-expanded="true"]:before { |
1704 | 1725 | color: #fff; |
1705 | 1726 | } |
1706 | 1727 | #wp-admin-bar-my-account img.avatar { |
diff --git trac.wordpress.org/templates/buddypress/wporg-header.html trac.wordpress.org/templates/buddypress/wporg-header.html
index bc89b97a3..f53dd4215 100644
|
|
|
7 | 7 | <dt>Skip to:</dt> |
8 | 8 | <dd><a href="#content" title="Skip to content">Content</a></dd> |
9 | 9 | </dl> |
10 | | <div id="header"> |
| 10 | <div id="wporg-header"> |
11 | 11 | <div id="header-inner"> |
12 | | <ul id="nav" class="menu"> |
13 | | <li><a href="http://buddypress.org/about/">About</a></li> |
14 | | <li><a href="http://buddypress.org/plugins/">Plugins</a></li> |
15 | | <li><a href="http://buddypress.org/themes/">Themes</a></li> |
16 | | <li><a href="http://codex.buddypress.org/">Documentation</a></li> |
17 | | <li><a href="http://buddypress.org/blog/">Blog</a></li> |
18 | | <li><a href="http://buddypress.org/support/">Support</a></li> |
19 | | <li class="download"><a href="http://buddypress.org/download/">Download</a></li> |
| 12 | <button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button> |
| 13 | <ul id="wporg-header-menu"> |
| 14 | <li><a href="https://buddypress.org/about/">About</a></li> |
| 15 | <li><a href="https://buddypress.org/plugins/">Plugins</a></li> |
| 16 | <li><a href="https://buddypress.org/themes/">Themes</a></li> |
| 17 | <li><a href="https://codex.buddypress.org/">Documentation</a></li> |
| 18 | <li><a href="https://buddypress.org/blog/">Blog</a></li> |
| 19 | <li><a href="https://buddypress.org/support/">Support</a></li> |
| 20 | <li class="download"><a href="https://buddypress.org/download/">Download</a></li> |
20 | 21 | </ul> |
21 | 22 | |
22 | | <h1><a href="http://buddypress.org">BuddyPress.org</a></h1> |
| 23 | <h1><a href="https://buddypress.org">BuddyPress.org</a></h1> |
23 | 24 | </div> |
24 | 25 | </div> |
25 | 26 | |