@charset "UTF-8";

/*! Copyright (C) 2015-2020 AIZAWA Hina | MIT License */

$box-padding: 15px;
$icon-left: 6px;
$icon-size: 48px;

#user-miniinfo {
  margin-bottom: 15px;

  #user-miniinfo-box {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: $box-padding;
  }

  h2 {
    font-size: 19px;
    font-weight: bold;
    margin: 0 (-1 * $box-padding) 10px;
    position: relative;
  }

  .miniinfo-user-icon {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    bottom: 0;
    display: inline-block;
    left: $icon-left;
    line-height: 1px;
    position: absolute;
  }

  .miniinfo-user-name {
    display: inline-block;
    margin: 0;
    overflow: hidden;
    padding: 0 4px 0 ($icon-left + 2px + $icon-size + 4px);
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .miniinfo-databox {
    margin: $box-padding 0 0;
  }

  .activity {
    display: inline-block !important;
  }
}
