common.css 3.24 KB
Newer Older
藤川諒 committed
1
@charset "UTF-8";
2
@import url(./notosansjp.css);
藤川諒 committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124

body{
  max-width: 1280px;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0 auto;
  color: #323743;
  margin-bottom: 60px;
  overflow-x: hidden;
}
a:hover{ text-decoration: none; }
.none{ display: none!important;}
/**************************** nav *************************/
nav{
  max-width: 1280px;
  height: 60px;
  position: fixed;
  top: 0;
  width: 100%;
  border-bottom: 1px solid #CDCDCD;
  background: #fff;
  z-index: 2;
}
main{ margin-top: 60px; }
.nav-item{ padding: 0 10px; }
.nav-ttl{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav_prev a{
  color: #323743;
  display: inline-block;
}
.nav_prev a:before{
  content: "\f053";
  font: 16px FontAwesome;
  color: #323743;
  margin-right: 5px;
}

.fas.fa-chevron-left{ margin-right: 10px;}

/**************************** search form *************************/
.search_form input {
  padding-left: 10px;
  width: 100%;
  border: 1px solid #BDBDBD;
  border-radius: 5px;
  height: 40px;
  margin: 10px 0;
  padding-left: 35px;
}
.search_form{
  position: relative;
  margin: 0 5px;
}
.search_form .src_icon{
  position: absolute;
  top: 23px;
  left: 10px;
  background-image: url("../icon/icon_search.png");
  background-size: contain;
  width: 16px;
  height: 16px;
}
.chat_room_src_form.none{
    display: none!important;
}

.search_form input.focus{
  width: calc( 100% - 100px );
}
.search_form input:focus,.chat_room_src_form input:focus{
  border-color: #71a2ff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(0 83 240 / 25%);
}
.search_form .cancel {
  width: 100px;
  font-size: 14px;
  padding: 0 10px;
  color: #8F8F8F;
  text-align: center;
}


/**************************** color *************************/
.bg_gray{ background: #f3f3f3; }
.bg_blue{ background: #0070CA; }
.bg_navy{ background: #1D3557; }
.bg_red{ background: #ff4747; }
.bg_green{ background: #89E54D; }
.bg_white{ background: #fff;}
.border_gray{ border:1px solid #dadce0; }
.text_blue{ color: #0070CA; }
.text_white{ color: #fff; }

/**************************** modal *************************/
/* プロフィールモーダル */
.profile_modal .modal-footer button{
  color: #fff;
  border-radius: 10px;
  min-width: 100px;
  font-size: 14px;
}
.profile_modal .modal-footer button img{ width: 30px; height: 30px; }
.profile_modal .modal-body p {
  max-height: 200px;
  overflow-y: scroll;
}
.profile_modal .modal-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.profile_modal .modal-header,.profile_modal .modal-body { padding-bottom: 0; }
.profile_modal .modal-footer button { width: 33%; padding: 5px;}
.profile_modal.w_50 .modal-footer button { width: 50%; padding: 5px;}
125 126
.profile_modal .modal-header .profile_desc{ width: 100%;}
.profile_modal .modal-header .profile_name {
藤川諒 committed
127 128 129
  width: 100%;
  text-align: center;
}
130
.profile_modal .modal-header .profile_name span {
藤川諒 committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
    line-height: 60px;
    font-weight: bold;
    font-size: 20px;
}

@media screen and (max-width: 768px){
  /* navi */
  .nav-ttl{
    font-size: 16px;
  }
  .nav_prev a span{
    font-size: 16px;
  }
  /* search form */
  .search_form input {
    font-size: 14px;
  }
  input::placeholder {
    font-size: 14px;
  }
}