Ticket #7175: 7175.diff
File 7175.diff, 25.0 KB (added by , 13 months ago) |
---|
-
header.php
1 1 <?php 2 2 3 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 5 6 6 } else { 7 7 require WPORGPATH . 'header.php'; 8 8 } 9 9 10 10 $current_url = esc_url_raw( set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ) ); 11 11 ?> 12 12 13 13 <div id="headline" class="clear"> 14 14 <div class="wrapper"> 15 <h 2>Profiles</h2>15 <h1><a href="<?php echo bp_core_get_user_domain( bp_displayed_user_id() ); ?>">Profiles</a></h1> 16 16 17 17 <nav id="site-navigation" class="main-navigation" role="navigation"> 18 18 <button class="menu-toggle dashicons dashicons-arrow-down-alt2" aria-controls="primary-menu" aria-expanded="false" aria-label="Primary Menu"></button> 19 19 <div id="primary-menu" class="menu"> 20 20 <ul class="nav-menu"> 21 21 <?php if ( ! is_user_logged_in() ) : ?> 22 22 <li><a href="<?php echo esc_url( add_query_arg( array( 'redirect_to' => urlencode( $current_url ) ), wp_registration_url() ) ); ?>" rel="nofollow">Register</a></li> 23 23 <li><a href="<?php echo esc_url( wp_login_url( $current_url ) ); ?>" rel="nofollow">Log In</a></li> 24 24 <?php else: ?> 25 25 <li><a href="<?php echo bp_core_get_user_domain( bp_loggedin_user_id() ); ?>">Logged in as: <?php echo wp_get_current_user()->display_name; ?></a></li> 26 26 <li><a href="<?php echo esc_url( wp_logout_url( $current_url ) ); ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a></li> 27 27 <?php endif; ?> 28 28 29 29 </ul> 30 30 </div> -
members/single/member-header.php
$location = bp_get_profile_field_data( 12 12 $website = bp_get_profile_field_data( array( 'field' => 'Website URL', 'user_id' => bp_displayed_user_id() ) ); 13 13 $github = get_user_meta( bp_displayed_user_id(), 'github', true ); 14 14 15 15 // The $website variable is the destination url, which will be displayed, but this is the anchor for the link. 16 16 $website_url = site_url( '/website-redirect/' . get_user_by( 'id', bp_displayed_user_id() )->user_nicename ); 17 17 18 18 $company = bp_get_profile_field_data( array( 'field' => 'Company', 'user_id' => bp_displayed_user_id() ) ); 19 19 $job_title = bp_get_profile_field_data( array( 'field' => 'Job Title', 'user_id' => bp_displayed_user_id() ) ); 20 20 21 21 $contribution_sponsored = 'Yes' === bp_get_profile_field_data( array( 'field' => 'Sponsored' ) ); 22 22 $contribution_sponsor_links = $contribution_sponsored ? wporg_profiles_get_5ftf_sponsor_links( bp_displayed_user_id() ) : ''; 23 23 24 24 $contribution_hours = absint( bp_get_profile_field_data( array( 'field' => 'Hours per week' ) ) ); 25 25 $contribution_teams = (array) bp_get_profile_field_data( array( 'field' => 'Contributor Teams' ) ); 26 26 27 $is_memorialized = bp_get_profile_field_data( [ 'field' => 'Memorial Profile', 'user_id' => bp_get_displayed_user()->id ] ) === 'Yes'; 28 $memorial_text = bp_get_profile_field_data( [ 'field' => 'Memorial Text', 'user_id' => bp_get_displayed_user()->id ] ); 29 $memorial_link = bp_get_profile_field_data( [ 'field' => 'Memorial link url', 'user_id' => bp_get_displayed_user()->id ] ); 30 $memorial_link_text = bp_get_profile_field_data( [ 'field' => 'Memorial link text', 'user_id' => bp_get_displayed_user()->id ] ); 31 27 32 // Hide certain fields sometimes. 28 33 if ( 29 34 // If this profile is banned and visitor is not caped. 30 35 ( bp_wporg_is_user_banned( bp_displayed_user_id() ) && ! is_caped( get_current_user_id() ) ) 31 36 || 32 37 // Visitor is logged out and this profile has no items. 33 38 ( ! is_user_logged_in() && ! wporg_profiles_has_items() && ! bp_has_groups() ) 34 39 ) { 35 40 $bio = $interests = $origin = $website = false; 36 41 } 37 42 38 43 ?> 39 44 40 <header class="site-header clear ">45 <header class="site-header clear <?php if ( $is_memorialized ) { echo 'is-memorialized'; } ?>"> 41 46 <?php 42 47 remove_filter( 'get_avatar_url', 'bp_core_get_avatar_data_url_filter', 10 ); 43 48 echo get_avatar( bp_displayed_user_id(), 100 ); 44 49 add_filter( 'get_avatar_url', 'bp_core_get_avatar_data_url_filter', 10, 3 ); 45 50 ?> 46 51 52 <?php if ( $is_memorialized ) : ?> 53 <span class="remembering"><?php _e( 'Remembering', 'wporg' ) ?></span> 54 <?php endif; ?> 47 55 <h2><a href="<?php echo bp_core_get_user_domain( bp_displayed_user_id() ); ?>"><?php bp_displayed_user_fullname(); ?></a></h2> 48 56 <p id="slack-username"> 49 57 <?php 50 58 $slack = bp_wporg_get_slack_username( bp_displayed_user_id() ); 51 59 $user_nicename = bp_get_displayed_user_username(); 52 60 53 61 if ( $slack && $slack !== $user_nicename ) : 54 62 printf( 55 63 '<span class="username-on-wporg">%s,</span> <span class="username-on-slack">%s</span>', 56 64 sprintf( 57 65 /* translators: %s: WordPress.org username. */ 58 66 __( '%s on WordPress.org', 'wporg' ), 59 67 '<span class="username">@' . esc_html( $user_nicename ) . '</span>' 60 68 ), 61 69 sprintf( … … if ( 90 98 <li><a class="view-link" href="<?php echo esc_url( bp_displayed_user_domain() ); ?>">View Profile</a></li> 91 99 <?php else : ?> 92 100 <li><a class="edit-link" href="<?php echo esc_url( bp_displayed_user_domain() . 'profile/edit/' ); ?>">Edit Profile</a></li> 93 101 <?php endif; ?> 94 102 <li><a class="edit-link" href="<?php echo esc_url( "https://wordpress.org/support/users/{$user_nicename}/edit" ); ?>"><?php _e( 'Edit Forum Profile', 'wporg' ); ?></a></li> 95 103 <?php endif; ?> 96 104 97 105 <li><?php do_action( 'bp_before_member_header_meta' ) ?></li> 98 106 </ul> 99 107 </div> 100 108 </header> 101 109 102 110 <?php if ( 'public' === $GLOBALS['bp']->current_action ) : ?> 103 111 104 112 <div id="meta-status-badge-container"> 113 <div> 114 <?php if ( $is_memorialized ) : ?> 115 <div class="item-remembering"> 116 <p class="item-remembering-content"><?php echo esc_html( trim( $memorial_text ) ); ?></p> 117 <?php if ( $memorial_link && $memorial_link_text ): ?> 118 <a class="item-remembering-link" href="<?php echo esc_url( $memorial_link ); ?>"> 119 <?php echo esc_html( $memorial_link_text ); ?> 120 </a> 121 <?php endif; ?> 122 </div> 123 <?php endif; ?> 124 125 <?php if ( $bio || $interests || $origin || ( ! empty( $contribution_hours ) && ! empty( $contribution_teams ) ) ) : ?> 126 <div id="content-about"> 127 <?php if ( $bio ) : ?> 128 <h3>Bio</h3> 129 <div class="item-meta-about"> 130 <?php echo wporg_profiles_prepare_user_content( $bio ); ?> 131 </div> 132 <?php endif; ?> 133 134 <?php do_action( 'bp_profile_header_meta' ) ?> 135 136 <?php if ( $interests ) : ?> 137 <h3>Interests</h3> 138 <div class="item-meta-interests"> 139 <?php echo wporg_profiles_prepare_user_content( $interests ); ?> 140 </div> 141 <?php endif; ?> 142 143 <?php if ( $origin ) : ?> 144 <h3>WordPress Origin Story</h3> 145 <div class="item-meta-interests"> 146 <?php echo wporg_profiles_prepare_user_content( $origin ); ?> 147 </div> 148 <?php endif; ?> 149 150 <?php if ( ! empty( $contribution_hours ) && ! empty( $contribution_teams ) ) : ?> 151 <h3> 152 Contributions 153 <?php if ( $contribution_sponsored ) : ?> 154 <span class="contribution-sponsored">Sponsored</span> 155 <?php endif; ?> 156 </h3> 157 <div class="item-meta-contribution"> 158 <?php 159 $hours_string = 1 === $contribution_hours ? 'hour' : 'hours'; 160 $multiple_sponsors = strpos( $contribution_sponsor_links, ' and ' ); 161 $sponsor_string = $contribution_sponsor_links 162 ? sprintf( 163 '%s %s %s to contribute', 164 $contribution_sponsor_links, 165 $multiple_sponsors ? 'sponsor' : 'sponsors', 166 bp_get_displayed_user_fullname() 167 ) 168 : bp_get_displayed_user_fullname() . ' contributes'; 169 170 $teams_string = 1 === count( $contribution_teams ) 171 ? wporg_profiles_build_teams_list( $contribution_teams ) . ' team' 172 : 'following teams: ' . wporg_profiles_build_teams_list( $contribution_teams ); 173 174 printf( 175 '<p>%s %d %s per week to the %s.</p>', 176 $sponsor_string, 177 absint( $contribution_hours ), 178 $hours_string, 179 $teams_string 180 ); 181 ?> 182 </div> 183 <?php endif; ?> 184 </div> 185 <?php endif; ?> 186 </div> 105 187 <ul id="user-meta"> 106 188 <?php if ( is_caped() ) : ?> 107 189 <li id="wporg-id"> 108 190 <span>ID:</span> 109 191 <strong> 110 192 <?php echo absint( bp_displayed_user_id() ); ?> 111 193 </strong> 112 194 </li> 113 195 <?php endif; ?> 114 196 115 197 <?php 116 198 // Show negative user statuses to caped users, forum moderators, and users with special rights on make.wordpress.org/* 117 199 if ( 118 200 is_caped( get_current_user_id() ) || 119 201 bp_wporg_is_user_forum_moderator( get_current_user_id() ) || … … if ( 222 304 <?php if ( $company ) : ?> 223 305 <li id="user-company"> 224 306 <span>Employer:</span> 225 307 <strong><?php echo esc_html( $company ); ?></strong> 226 308 </li> 227 309 <?php endif; ?> 228 310 229 311 <li id="user-social-media-accounts-tag" class="transparent"> 230 312 <span><?php _e( 'Find me on:', 'wporg' ); ?></span> 231 313 <ul id="user-social-media-accounts" class="transparent"> 232 314 <!-- this will be populated with an AJAX request after the page has loaded --> 233 315 </ul> 234 316 235 317 <script type="text/html" id="tmpl-social-media-account"> 236 318 <li> 237 <a href="<%- account.url %>">319 <a class="<%- account.genericon %>" href="<%- account.url %>"> 238 320 <div class="genericon genericon-<%- account.genericon %>" title="<%- account.shortname %>"></div> 239 321 </a> 240 322 </li> 241 323 </script> 242 324 </li> 243 325 </ul> <!-- #user-meta --> 326 </div> 244 327 245 <?php if ( $bio || $interests || $origin || ( ! empty( $contribution_hours ) && ! empty( $contribution_teams ) ) ) : ?> 246 <div id="content-about"> 247 <?php if ( $bio ) : ?> 248 <h3>Bio</h3> 249 <div class="item-meta-about"> 250 <?php echo wporg_profiles_prepare_user_content( $bio ); ?> 251 </div> 252 <?php endif; ?> 253 254 <?php do_action( 'bp_profile_header_meta' ) ?> 255 256 <?php if ( $interests ) : ?> 257 <h3>Interests</h3> 258 <div class="item-meta-interests"> 259 <?php echo wporg_profiles_prepare_user_content( $interests ); ?> 260 </div> 261 <?php endif; ?> 262 263 <?php if ( $origin ) : ?> 264 <h3>WordPress Origin Story</h3> 265 <div class="item-meta-interests"> 266 <?php echo wporg_profiles_prepare_user_content( $origin ); ?> 267 </div> 268 <?php endif; ?> 269 270 <?php if ( ! empty( $contribution_hours ) && ! empty( $contribution_teams ) ) : ?> 271 <h3> 272 Contributions 273 <?php if ( $contribution_sponsored ) : ?> 274 <span class="contribution-sponsored">Sponsored</span> 275 <?php endif; ?> 276 </h3> 277 <div class="item-meta-contribution"> 278 <?php 279 $hours_string = 1 === $contribution_hours ? 'hour' : 'hours'; 280 $multiple_sponsors = strpos( $contribution_sponsor_links, ' and ' ); 281 $sponsor_string = $contribution_sponsor_links 282 ? sprintf( 283 '%s %s %s to contribute', 284 $contribution_sponsor_links, 285 $multiple_sponsors ? 'sponsor' : 'sponsors', 286 bp_get_displayed_user_fullname() 287 ) 288 : bp_get_displayed_user_fullname() . ' contributes'; 289 290 $teams_string = 1 === count( $contribution_teams ) 291 ? wporg_profiles_build_teams_list( $contribution_teams ) . ' team' 292 : 'following teams: ' . wporg_profiles_build_teams_list( $contribution_teams ); 293 294 printf( 295 '<p>%s %d %s per week to the %s.</p>', 296 $sponsor_string, 297 absint( $contribution_hours ), 298 $hours_string, 299 $teams_string 300 ); 301 ?> 302 </div> 303 <?php endif; ?> 304 </div> 305 <?php endif; ?> 306 307 <div class="contributions"> 328 <div class="contributions"> 308 329 <?php locate_template( array( 'groups/associations-loop.php' ), true ); ?> 309 330 </div> 310 </div>311 331 312 332 <?php /* todo 313 333 <ul id="contributions-overview"> 314 334 <li><span class="contribution-count">12</span> Plugins</li> 315 335 <li><span class="contribution-count">2353</span> Core commits</li> 316 336 <li><span class="contribution-count">#</span> Label</li> 317 337 </ul> 318 338 */ ?> 319 339 320 340 <?php endif; ?> 321 341 322 342 <?php do_action( 'bp_after_member_header' ); 323 343 324 344 do_action( 'template_notices' ); -
style.css
1 1 /* 2 2 Theme Name: WordPress Profiles 3 3 Theme URI: http://wordpress.org/ 4 4 Description: The theme for the 1.2 version of Profiles.WordPress.org 5 5 Version: 1.0 6 6 Author: Andy Peatling 7 7 Author URI: http://wordpress.org 8 8 Tags: two-columns, custom-header, white, blue, buddypress 9 9 Template: bp-default 10 10 */ 11 11 12 12 #content .padder { 13 13 margin: 0 10px; 14 font-family: 'Inter', sans-serif; 14 15 } 15 16 16 17 .clear:before, 17 18 .clear:after { 18 19 content: ""; 19 20 display: table; 20 21 table-layout: fixed; 21 22 } 22 23 .clear:after { 23 24 clear: both; 24 25 } 25 26 26 27 div.pagination { padding: 5px 0 10px 0 !important; } 27 28 28 29 h4 { 29 30 font-size: 12px !important; 30 31 border:none !important; 31 32 padding:0 !important; 32 33 margin:5px 0px !important; 33 34 } 34 35 36 #container { 37 color: #1E1E1E; 38 } 39 35 40 #container a { 36 border:none; 41 border: none; 42 color: #3858e9; 37 43 } 38 44 39 45 ul { 40 46 list-style: none; 41 47 } 42 48 43 49 /* Hide visually but not from screen readers */ 44 50 .screen-reader-text { 45 51 position: absolute; 46 52 margin: -1px; 47 53 padding: 0; 48 54 height: 1px; 49 55 width: 1px; 50 56 overflow: hidden; 51 57 clip: rect(0 0 0 0); 52 58 border: 0; 53 59 } 54 60 55 61 .wrapper { 56 62 position: relative; 63 padding-left: 20px; 64 padding-right: 20px; 65 max-width: unset !important; 66 } 67 68 @media screen and (min-width: 890px) { 69 .wrapper { 70 padding-left: 80px; 71 padding-right: 80px; 72 } 57 73 } 58 74 59 75 #main-column { 60 76 float: left; 61 77 width: calc( 100% - 210px ); 62 78 margin-left: -2px; 63 79 min-height: 133px; 64 80 font-size: 1.4em; 65 81 padding: 25px 0 30px 30px; 66 82 border-top: 2px solid #eee; 67 83 border-left: 2px solid #eee; 68 84 } 69 85 70 86 #main-column.empty { 71 87 background-color: inherit; … … ul { 134 150 vertical-align: top; 135 151 } 136 152 137 153 .main-photos ul li a img { 138 154 object-fit: cover; 139 155 } 140 156 141 157 .main-themes h3 { 142 158 margin-top: 4px; 143 159 } 144 160 145 161 #content-tabs { 146 162 border-top: 2px solid #eee; 147 163 border-right: 2px solid #eee; 148 164 float: left; 149 font: 12px 'Open Sans';150 165 width: 173px; 151 166 padding-top: 10px; 152 167 padding-bottom: 30px; 153 168 } 154 169 155 170 #content-tabs ul li { 156 171 position: relative; 157 172 padding: 14px 14px 14px 16px; 158 173 font-size: 1.4em; 159 174 overflow: hidden; 160 175 } 161 176 162 177 #content-tabs ul li.active { 163 178 right: -2px; 164 179 padding-right: 11px; … … div.widget { 304 319 content: "\f487"; 305 320 } 306 321 #content-favorites .favorite-plugins > h3:before { 307 322 content: "\f106"; 308 323 } 309 324 #content-favorites .favorite-themes > h3:before { 310 325 content: "\f100"; 311 326 } 312 327 313 328 /* > Container 314 329 -------------------------------------------------------------- */ 315 330 316 331 div#container { 317 332 position: relative; 318 333 width: 960px; 319 margin: 30px auto;334 margin: 50px auto; 320 335 } 321 336 body.activity-permalink div#container { 322 337 background: none; 323 338 border: none; 324 339 } 325 340 326 341 /* > Sidebar 327 342 -------------------------------------------------------------- */ 328 343 329 344 div#sidebar { 330 345 display: none !important; 331 346 } 332 347 333 348 /* > Headline 334 349 -------------------------------------------------------------- */ 335 350 336 351 #headline { 337 352 height: 62px; 338 353 height: inherit; 339 background-color: #0073aa; 340 font-family: "Open Sans", sans-seriff; 354 background-color: #23282d; 355 border-top: 1px solid #ffffff26; 356 font-family: Inter, sans-seriff; 341 357 color: hsla(0,0%,100%,.8); 342 358 padding: 1rem 0; 343 359 } 344 #headline h 2{360 #headline h1 { 345 361 color: #fff; 346 362 float: left; 347 font-family: "Open Sans", sans-seriff; 363 font-family: Inter, sans-serif; 364 font-size: 14px; 365 height: 24px; /* Needed to keep the mobile menu working */ 348 366 text-shadow: inherit; 349 padding: 2px 10px 6px; 367 padding: 0; 368 line-height: 24px; 350 369 } 351 370 352 371 #headline a { 353 372 color: hsla(0,0%,100%,.8); 354 373 } 355 374 #headline a:hover { 356 375 color: #fff; 357 376 } 358 377 359 378 /* > Content 360 379 -------------------------------------------------------------- */ 361 380 #content { 362 381 overflow: auto; 363 382 } 364 383 365 384 /* > Item Headers (Profiles, Groups) 366 385 -------------------------------------------------------------- */ 367 386 368 387 div#item-header { 369 font-family: 'Open Sans';370 388 overflow: hidden; 371 389 } 372 390 373 391 div#item-header div#item-header-location { 374 392 margin-left: 770px; 375 393 top: -5px; 376 394 position: relative; 377 395 } 378 396 379 397 .site-header { 380 398 position: relative; 381 399 } 382 400 401 .site-header.is-memorialized img { 402 filter: grayscale(1); 403 } 404 383 405 .site-header h2 :link, 384 406 .site-header h2 :visited { 385 407 color: inherit; 386 408 } 387 409 388 410 div#item-header h2 { 389 font-size: 3 2px;411 font-size: 36px; 390 412 line-height: 1.5; 391 413 margin-top: 8px; 414 color: #1E1E1E; 415 font-family: 'EB Garamond', serif; 416 } 417 418 div#item-header h2 a { 419 color: #1E1E1E; 420 } 421 422 .site-header .remembering { 423 display: inline-block; 424 background: #F6F6F6; 425 padding: 0px 8px; 426 border-radius: 12px; 427 font-size: 14px; 428 margin-top: 4px; 392 429 } 393 430 431 div#item-header .remembering + h2 { 432 margin-top: -6px; 433 } 394 434 395 435 div#item-header h3 { 396 font-size: 20px; 397 font-size: 1.25rem; 436 font-size: 24px; 398 437 line-height: 1.5; 399 margin: 48px 0 16px;400 margin: 3rem 0 1rem;438 margin: 50px 0 16px; 439 font-weight: normal; 401 440 } 402 441 403 442 #slack-username { 404 color: # 82878C;405 font-size: 1 8px;443 color: #1E1E1E; 444 font-size: 14px; 406 445 font-weight: 300; 407 446 line-height: 1.5; 408 447 } 409 448 @media (min-width: 768px) { 410 449 #slack-username { 411 450 max-width: 76%; 412 451 } 413 452 } 414 453 415 454 #slack-username span { 416 455 display: inline-block; 417 456 } 418 457 419 458 #slack-username .username { 420 459 word-break: break-all; … … div#item-header { 431 470 border-radius: 50%; 432 471 float: left; 433 472 margin: 0 20px 12px 3px; 434 473 } 435 474 436 475 #header-meta-links { 437 476 font-size: 14px; 438 477 margin: 33px 0; 439 478 position: absolute; 440 479 right: 0; 441 480 top: 0; 442 481 text-align: right; 443 482 } 444 483 445 484 #meta-status-badge-container { 446 border-top: 2px solid #eee; 447 margin: 10px 0 4rem; 485 display: flex; 486 padding-top: 50px; 487 flex-direction: column; 448 488 overflow: auto; 449 padding-top: 20px; 489 line-height: 30px; 490 } 491 492 #meta-status-badge-container > div { 493 flex: 1; 450 494 } 451 495 452 496 #user-meta { 453 border-bottom: 1px solid #eee;454 float: right;455 497 font-size: 14px; 456 498 margin: 0 0 30px 30px; 457 width: 33%;499 min-width: 300px; 458 500 } 501 502 @media screen and ( min-width: 800px ) { 503 #meta-status-badge-container { 504 flex-direction: row; 505 } 506 507 #user-meta { 508 padding-left: 50px; 509 } 510 } 511 459 512 460 513 #user-meta > li { 461 border- top: 1px solid #eee;514 border-bottom: 1px solid #eee; 462 515 overflow: hidden; 463 padding: 8px 0;516 padding: 4px 0; 464 517 text-align: right; 465 518 } 466 519 467 520 div#item-header #user-meta > li > span { 468 521 display: inherit; 469 522 float: left; 470 523 margin-right: 0.5rem; 471 524 } 472 525 473 526 #user-meta > li > strong { 474 527 text-align: right; 528 font-weight: normal; 529 } 530 531 #user-meta > li > strong a { 532 font-weight: normal; 475 533 } 476 534 477 535 #user-social-media-accounts-tag { 478 536 transition: all 1.25s ease; 479 537 } 480 538 481 539 #user-social-media-accounts-tag.transparent { 482 540 display: none; 483 541 } 484 542 485 543 #user-social-media-accounts { 486 544 float: right; 487 545 overflow: auto; 488 546 transition: all 1.25s ease; 489 547 } 490 548 491 549 #user-social-media-accounts:before { 492 550 margin-right: 10px; 493 551 font-weight: bold; 494 552 } 495 553 496 554 #user-social-media-accounts li { 497 555 display: inline-block; 498 556 margin-right: 6px; 499 557 } 500 558 501 559 #user-social-media-accounts li a .dashicons, 502 560 #user-social-media-accounts li a .genericon { 503 color: #21759B; 504 } 505 506 #user-social-media-accounts li a .dashicons:visited, 507 #user-social-media-accounts li a .genericons:visited { 508 color: #4CA6CF; 561 margin-top: 6px; 562 font-size: 18px; 563 color: #1E1E1E; 509 564 } 510 565 511 566 #user-social-media-accounts li a .genericon-mastodon { 512 567 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='79' viewBox='0 0 74 79' fill='%2321759B'%3E%3Cpath d='M73.7014 17.4323C72.5616 9.05152 65.1774 2.4469 56.424 1.1671C54.9472 0.950843 49.3518 0.163818 36.3901 0.163818H36.2933C23.3281 0.163818 20.5465 0.950843 19.0697 1.1671C10.56 2.41145 2.78877 8.34604 0.903306 16.826C-0.00357854 21.0022 -0.100361 25.6322 0.068112 29.8793C0.308275 35.9699 0.354874 42.0498 0.91406 48.1156C1.30064 52.1448 1.97502 56.1419 2.93215 60.0769C4.72441 67.3445 11.9795 73.3925 19.0876 75.86C26.6979 78.4332 34.8821 78.8603 42.724 77.0937C43.5866 76.8952 44.4398 76.6647 45.2833 76.4024C47.1867 75.8033 49.4199 75.1332 51.0616 73.9562C51.0841 73.9397 51.1026 73.9184 51.1156 73.8938C51.1286 73.8693 51.1359 73.8421 51.1368 73.8144V67.9366C51.1364 67.9107 51.1302 67.8852 51.1186 67.862C51.1069 67.8388 51.0902 67.8184 51.0695 67.8025C51.0489 67.7865 51.0249 67.7753 50.9994 67.7696C50.9738 67.764 50.9473 67.7641 50.9218 67.7699C45.8976 68.9569 40.7491 69.5519 35.5836 69.5425C26.694 69.5425 24.3031 65.3699 23.6184 63.6327C23.0681 62.1314 22.7186 60.5654 22.5789 58.9744C22.5775 58.9477 22.5825 58.921 22.5934 58.8965C22.6043 58.8721 22.621 58.8505 22.6419 58.8336C22.6629 58.8167 22.6876 58.8049 22.714 58.7992C22.7404 58.7934 22.7678 58.794 22.794 58.8007C27.7345 59.9796 32.799 60.5746 37.8813 60.5733C39.1036 60.5733 40.3223 60.5733 41.5447 60.5414C46.6562 60.3996 52.0437 60.1408 57.0728 59.1694C57.1983 59.1446 57.3237 59.1233 57.4313 59.0914C65.3638 57.5847 72.9128 52.8555 73.6799 40.8799C73.7086 40.4084 73.7803 35.9415 73.7803 35.4523C73.7839 33.7896 74.3216 23.6576 73.7014 17.4323ZM61.4925 47.3144H53.1514V27.107C53.1514 22.8528 51.3591 20.6832 47.7136 20.6832C43.7061 20.6832 41.6988 23.2499 41.6988 28.3194V39.3803H33.4078V28.3194C33.4078 23.2499 31.3969 20.6832 27.3894 20.6832C23.7654 20.6832 21.9552 22.8528 21.9516 27.107V47.3144H13.6176V26.4937C13.6176 22.2395 14.7157 18.8598 16.9118 16.3545C19.1772 13.8552 22.1488 12.5719 25.8373 12.5719C30.1064 12.5719 33.3325 14.1955 35.4832 17.4394L37.5587 20.8853L39.6377 17.4394C41.7884 14.1955 45.0145 12.5719 49.2765 12.5719C52.9614 12.5719 55.9329 13.8552 58.2055 16.3545C60.4017 18.8574 61.4997 22.2371 61.4997 26.4937L61.4925 47.3144Z' fill='inherit'/%3E%3C/svg%3E"); 513 568 background-size: 16px 16px; 514 569 } 515 570 571 572 573 #user-social-media-accounts li a.twitter { 574 background: url('members/single/twitter.svg') no-repeat; 575 background-size: cover; 576 height: 30px; 577 width: 30px; 578 } 579 580 #user-social-media-accounts li a.twitter .genericon-twitter { 581 opacity: 0; 582 } 583 584 585 .item-remembering { 586 margin-bottom: 50px; 587 font-family: 'EB Garamond', serif; 588 -webkit-font-smoothing: antialiased; 589 -moz-osx-font-smoothing: grayscale; 590 } 591 592 .item-remembering:after { 593 content: '❦'; 594 display: block; 595 padding-top: 50px; 596 font-size: 24px; 597 text-align: center; 598 font-style: normal; 599 } 600 601 .item-remembering-content { 602 margin-bottom: 50px; 603 font-size: 24px; 604 font-style: italic; 605 margin-bottom: 1rem; 606 white-space: pre-line 607 } 608 609 .item-remembering .item-remembering-link { 610 display: block; 611 color: #1E1E1E !important; 612 font-size: 16px; 613 text-align: center; 614 text-decoration: underline; 615 } 616 516 617 #content-about { 517 618 font-size: 16px; 518 619 } 519 620 520 621 #content-about h3:first-of-type { 521 622 margin-top: 0; 522 623 } 523 624 524 625 #content-about p { 525 626 margin: 1rem 0; 526 627 } 527 628 528 629 #user-website a, 529 630 #user-github a, 530 631 #slack-username a, 531 632 #content-about a { 532 633 text-decoration: underline; 533 634 } 534 635 535 636 h3 span.contribution-sponsored { 536 637 display: inline-block; 537 638 font-size: 0.8rem; 538 font-weight: bold;639 font-weight: normal; 539 640 line-height: 1.5; 540 641 background-color: #edeff0; 541 642 color: #606a73; 542 643 border-radius: 3px; 543 padding: 1px 5px;644 padding: 2px 6px; 544 645 margin-top: -4px; 545 646 vertical-align: middle; 546 647 } 547 648 548 649 .contributions { 549 width: calc( 67% - 30px );650 margin-bottom: 50px; 550 651 } 551 652 552 653 .contributions li { 553 654 width: 49%; 554 655 } 555 656 556 657 #meta-status-badge-container .contributions h3:first-of-type { 557 658 margin-top: 0; 558 659 } 559 660 560 661 #content-about + .contributions { 561 662 clear: both; 562 663 width: 100%; 563 664 } 564 665 … … div#item-header { 577 678 line-height: 1.3; 578 679 margin: 0; 579 680 } 580 681 581 682 #header-meta-links { 582 683 margin: 10px 0 0; 583 684 position: relative; 584 685 text-align: inherit; 585 686 } 586 687 587 688 #header-meta-links li { 588 689 display: inline-block; 589 690 margin-right: 20px; 590 691 } 591 692 592 #meta-status-badge-container {593 display: flex;594 flex-direction: row;595 flex-wrap: wrap;596 }597 598 693 #item-header #user-meta { 599 694 order: 1; 600 695 margin: 0; 601 696 width: 100%; 602 697 } 603 698 604 699 #content-about { 605 700 margin-bottom: 30px; 606 701 } 607 702 608 703 .contributions { 609 704 clear: both; 610 705 order: 1; 611 706 width: 100%; 612 707 } … … p.user-rating, 2689 2784 p.active_installs, 2690 2785 .ago { 2691 2786 color: #888; 2692 2787 font-size: 13px; 2693 2788 font-style: italic; 2694 2789 } 2695 2790 2696 2791 p.user-rating, 2697 2792 .ago { 2698 2793 text-transform: lowercase; 2699 2794 } 2700 2795 2701 2796 2702 2797 2703 2798 .main-navigation { 2704 background: # 0073aa;2799 background: #23282d; 2705 2800 left: 0; 2706 2801 position: absolute; 2707 top: 4 8px;2802 top: 40px; 2708 2803 width: 100%; 2709 2804 z-index: 1 2710 2805 } 2711 2806 2712 2807 .main-navigation ul { 2713 2808 display: none; 2714 2809 list-style: none; 2715 2810 margin: 0; 2716 2811 padding-left: 0 2717 2812 } 2718 2813 2719 2814 .main-navigation ul ul { 2720 2815 -webkit-box-shadow: 0 3px 3px rgba(0,0,0,.2); 2721 2816 box-shadow: 0 3px 3px rgba(0,0,0,.2); 2722 2817 float: left; … … p.user-rating, 2791 2886 2792 2887 .toggled .menu-toggle:before { 2793 2888 content: "\f343" 2794 2889 } 2795 2890 2796 2891 @media screen and (min-width: 737px) { 2797 2892 .menu-toggle { 2798 2893 display:none 2799 2894 } 2800 2895 2801 2896 .main-navigation { 2802 2897 float: right; 2803 2898 padding-right: 10px; 2804 2899 position: relative; 2805 2900 width: auto; 2806 top: 6px;2901 top: 0; 2807 2902 } 2808 2903 2809 2904 .main-navigation.toggled { 2810 2905 padding: 1px 0 2811 2906 } 2812 2907 2813 2908 .main-navigation ul { 2814 2909 display: inline-block; 2815 2910 font-size: 0 2816 2911 } 2817 2912 2818 2913 .main-navigation ul li { 2819 2914 border: 0; 2820 2915 display: inline-block; 2821 2916 font-size: 1rem;