Newer
Older
rails-app / app / assets / stylesheets / application.css
@ItoRino ItoRino on 15 Jan 2023 4 KB add:railsのアプリ
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */
 /* reset ================================ */
/*
 * CSS for hatarakukatati project
 */
 /*全ページ共通部分のCSS始まり*/
 @charset "UTF-8";
 
 * {
     margin: 0px;
     padding: 0px;
 }
  
  html {
     font-size: 100%;
   }
  body{
     margin: 0;
     height: 100%;
     font-family: 'DotGothic16', sans-serif;
     font-family: 'Noto Sans JP', sans-serif;
     color: rgb(20, 20, 20);
     line-height: 1.7;
 }
 img {
    max-width: 100%;
    object-fit: cover;
  }
  a{
      text-decoration: none;
      color: #333;
      padding-bottom: 1px;
      transition: 0.5ms;
  }
  li{
      list-style: none;
  }
  input {
    background-color: transparent;
    outline-width: 0;
  }
  
  form input[type="submit"] {
    border: none;
    cursor: pointer;
  }
  
  /* 共通レイアウト ================================ */
  
  .main {
    position: absolute;
    top: 64px;
    width: 100%;
    height: auto;
    min-height: 100%;
  }
  
  .container {
    margin: 60px auto;
    clear: both;
    max-width: 1000px;
  }
  
  .header-menus input[type="submit"] {
    padding: 0 20px;
    float: left;
    line-height: 64px;
    color: white;
    margin: 0;
    font-size: 13px;
  }
  
  /*ヘッダーのCSS始まり*/
  #header{
    display: flex;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
    justify-content: space-between;
    width: 100%;
}
.logo-space{
    display: flex;
    align-items: center;
}
.header-nav .header-list{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    
}
.header-nav .header-list li{
    border-left: solid 2px #b5b2b2a2;
}
.header-nav .header-list li:nth-child(4){
  border-right: solid 2px #b5b2b2a2;
}
.header-nav .header-list li a{
    display: inline-block;
}
.header-nav .header-list li a:hover{
    opacity: 0.6;
    transition: all 0.3s 0s ease;
}
.header-nav .header-list li a .header-list_item{
  padding: 0 40px 0 40px;
}
.header-nav .header-list li a p{
    text-align: center;
}
.header-nav .header-list li a .list-title{
    font-size: 1.2rem;
}
.header-nav .header-list li a .list-sub-title{
    font-size: 0.9rem;
}
/*ヘッダーのCSS終わり*/
/*ヘッダー*/
#footer{
    text-align: center;
    color: #fff;
    background-color: #454545;
    padding: 20px 0 20px 0;
}
/*ヘッダー終わり*/
  /* top ================================ */
  /* フォーム================================ */
  .form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 2px 6px #c1ced7;
  }
  
  .form-heading {
    font-weight: 300;
    margin: 60px 0 20px;
    font-size: 30px;
    color: #3f4042;
  }
  
  .form-body {
    padding: 30px;
  }
  
  .form-error {
    color: #ff4d75;
  }
  
  .form input {
    width: 100%;
    border: 1px solid #dfd8de;
    padding: 10px;
    color: #57575f;
    font-size: 16px;
    letter-spacing: 2px;
    border-radius: 2px;
  }
  
  .form textarea {
    width: 100%;
    min-height: 110px;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 80px 13px 80px 10px;
  }
  
  .form input[type="submit"] {
    background-color: #ff86be;
    color: white;
    cursor: pointer;
    font-weight: 300;
    width: 120px;
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 0;
    float: right;
  }
  
  .form-body:after {
    content: '';
    display: table;
    clear: both;
  }
  
  /* フラッシュ ================================ */
  .flash {
    padding: 10px 0;
    color: white;
    background: rgb(251, 170, 88);
    text-align: center;
    position: absolute;
    top: 64px;
    z-index: 10;
    width: 100%;
    border-radius: 0 0 2px 2px;
    font-size: 14px;
  }