diff --git buddypress.org/public_html/wp-content/themes/bporg-developer/css/style.css buddypress.org/public_html/wp-content/themes/bporg-developer/css/style.css
index 222b24234..9e9a3a938 100644
|
|
|
1 | | html { |
2 | | font-size: 62.5%; |
3 | | line-height: 1.5; |
4 | | } |
5 | | |
6 | 1 | #header { |
7 | 2 | background-color: #be3631; |
8 | 3 | border-bottom: 1px solid #9e1611; |
9 | 4 | width: 100%; |
10 | 5 | z-index: 99; |
11 | 6 | font-size: 13px; |
| 7 | position: fixed; |
| 8 | top: 0; |
| 9 | } |
| 10 | |
| 11 | #header-inner { |
| 12 | margin: 0 auto; |
| 13 | width: 100%; |
| 14 | height: 80px; |
| 15 | padding: 0; |
12 | 16 | } |
13 | 17 | |
14 | 18 | body.admin-bar header#masthead { |
15 | | margin-top: 124px; |
| 19 | margin-top: 123px; |
| 20 | } |
| 21 | |
| 22 | #wp-toolbar, #header-inner { |
| 23 | margin: 0 auto; |
| 24 | } |
| 25 | |
| 26 | #wp-admin-bar-my-account img.avatar { |
| 27 | border-radius: 50%; |
| 28 | } |
| 29 | |
| 30 | @media screen and (min-width: 960px) { |
| 31 | #header-inner, #footer, #wp-toolbar { |
| 32 | max-width: 960px; |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | @media screen and (max-width: 600px) { |
| 37 | #header { |
| 38 | position: absolute; |
| 39 | } |
16 | 40 | } |
17 | 41 | |
18 | 42 | #header #network-title { |
… |
… |
body .meta a, |
250 | 274 | margin: 0; |
251 | 275 | } |
252 | 276 | |
253 | | @media screen and ( min-width: 960px ) { |
254 | | #content, |
255 | | div.content, |
256 | | div.site-content, |
257 | | .devhub-wrap #content-area, |
258 | | .devhub-wrap .inner-wrap { |
259 | | width: 960px; |
260 | | margin: 0 auto; |
261 | | max-width: 100%; |
262 | | } |
263 | | } |
264 | | |
265 | 277 | /* Shrink logo to make room for navigation */ |
266 | 278 | @media screen and ( max-width: 820px ) { |
267 | 279 | #header-inner #network-title a { |
… |
… |
body .meta a, |
271 | 283 | |
272 | 284 | /* Do not fix #header for non-desktops */ |
273 | 285 | @media screen and ( max-width: 782px ) { |
274 | | #header #bb-nav { |
| 286 | #header { |
275 | 287 | z-index: 999999; |
276 | 288 | } |
277 | 289 | #main { |
… |
… |
body .meta a, |
303 | 315 | position: absolute; |
304 | 316 | width: 100%; |
305 | 317 | right: 0; |
| 318 | top: 81px; |
306 | 319 | border-bottom: 1px solid #aaa; |
307 | 320 | } |
308 | 321 | #header #bb-nav li { |
diff --git buddypress.org/public_html/wp-content/themes/bporg-developer/functions.php buddypress.org/public_html/wp-content/themes/bporg-developer/functions.php
index db2ecab9b..bbe570a00 100644
|
|
defined( 'ABSPATH' ) || exit; |
16 | 16 | * @since 1.0.0 |
17 | 17 | */ |
18 | 18 | function bporg_developer_enqueue_styles() { |
19 | | wp_enqueue_style( 'bb-base', content_url( 'themes' ) . '/bb-base/style.css' ); |
20 | 19 | wp_enqueue_style( 'wporg-developer', get_template_directory_uri() . '/style.css' ); |
21 | 20 | wp_enqueue_style( 'bporg-developer-main', |
22 | 21 | get_stylesheet_directory_uri() . '/css/style.css', |
23 | | array( 'wp-dev-sass-compiled', 'dashicons', 'bb-base' ), |
| 22 | array( 'wp-dev-sass-compiled', 'dashicons' ), |
24 | 23 | wp_get_theme()->get( 'Version' ) |
25 | 24 | ); |
26 | 25 | } |