Newer
Older
cafe-2022 / ryuei / cafe-all.css
/*--------------共通--------------*/
body {
  width: 100%;
  margin: 0px;
  background-color: #f5deb3;
}
/*--------------ここまで共通--------------*/


/*------------ロード-----------------*/
/* Loading背景画面設定 */
#splash {
  /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: #f5deb3;
    text-align:center;
    color:#fff;
  }
  
  /* Loading画像中央配置 */
  #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定 */
  #splash_logo img {
    width:360px;
  }
  
  /* fadeUpをするアイコンの動き */
  .fadeUp{
  animation-name: fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

/*-------------------------ヘッダー---------------------*/
/*名前*/


  
header h1{
  text-align: center; /*真ん中にする*/
}

/*ナビゲーション*/
nav{
  text-align: center; /*真ん中にする*/
  font-size: 15px; /*フォントの大きさ*/
  line-height: 2em; /*行の高さを指定*/
}
   
nav ul{
  margin: 0; /*余白*/
  padding: 0; /*余白*/
}

nav ul li{
  list-style: none; /*箇条書きの点をなくす*/
  display: inline-block; /*横に並ぶ inlineとblockの中間*/
  width: 10%; /*隣同士の間隔*/
  min-width: 85px; /*幅の最低値*/
}
   
nav ul li a{
  text-decoration: underline; /*テキストに下線引く*/
  color: #8b4513; /*テキスト 色指定*/
}

nav ul li a:hover{
  color: #ff8c00; /*カーソルのせたとき,テキスト 色指定*/
}


a{
  text-decoration: none;
  color: #4b4b4b;
}

/*---------------------ここまでヘッダー----------------------*/

.slide{
  position: relative;
  width: 50%;
  padding-top: 0%;
  }

.slide img{
     position: absolute;
     width: 100%;
     height: auto;
     top:    0%;
     left:   50%;
     opacity: 0%;
     animation: slideshow 32s linear infinite;
     }


.slide img:nth-child(2){
  animation-delay: 8s;
}

.slide img:nth-child(3){
  animation-delay: 16s;
}

.slide img:nth-child(4){
  animation-delay: 24s;
}

@keyframes slideshow{
         0%{
            opacity: 0%;
            }

10%{
   opacity: 1;
   }

28%{
    opacity: 1;
    }

38%{
    opacity: 0;
    }

 100%{
     opacity: 0;
     }
}


/*-----------新着情報------------*/
#news{
  font-size: large; 
  text-align: center;
  background-color: #f6f5ed;
  border-radius: 20px;
  border: 2px solid #6f6f6f;
  width: 80%;
  margin: 550px 10% 50px 10%;
  padding: 0;
}



/*-----------新着情報------------*/

ul.notice{
  list-style-type: none;
}

ul.notice li{
  text-align: left;
}

ul.notice li a time{
  display: inline-block;
}

ul.notice li a p{
  display: inline-block;
  color: #ff8c00;
  border-bottom: 1px solid #aa5d00;
}

.new::after{
  content:"新着";
  color: #d10679;
  font-size: 1rem;
  border: 2px solid #d10679;
  padding: 4px 5px;
  margin: 0 0 0 20px;
  display: inline-block;
  line-height: 1;
}
/*-------場所で検索------*/
.area {
  text-align: center;
  letter-spacing: 1em;
  margin-bottom: 30px;
}

.round{
border: 2px solid maroon ; 
border-radius: 9px 9px; 
background-color: #ffffff;
}



.floatl {
text-align: center;
float: left;
}

.txdes {
 color: black;
 text-shadow: white 2px 2px 2px;
 font-size: 1.4rem;
 }
/*-------場所で検索------*/

.footer {
  width: 100%;
  font-size: smaller;
  margin-top: 100px;
  text-align: center;
}