header.vue 1.85 KB
<template>
  <header>
    <div class = "headerBox">
      <div class = "logo_content"> KHU NOTICE</div>
      <div class = "logo_content_medium"> FOR LAZE</div>
      <div class = "logo_content_little"> started by 2020-2 open source project visit khu-hub registory</div>
      <a href = "http://khuhub.khu.ac.kr/2019100538/khu-notice-project"><div class = "visit"> Visit</div></a>
      <img class = "logo" src = "../assets/khlogo.png">
      <div class = "search">
        <input class = "search_blank">
      </div>
    </div>
  </header>
</template>

<script>
export default {
  name: 'header',
  data () {
    return {
    }
  }
}
</script>

<style>
  header{
    height: 443px;
    background:linear-gradient(131deg,rgb(247,183,66),rgb(252,74,66));
  }
  .headerBox{
    width:1010px;
    height: inherit;
    margin: 0 auto 0 auto;
    position: relative;
  }
  .logo{
    position: absolute;
    right: 50px;
  }
  .logo_content{
    color: white;
    font-family: 'BIGJOHN';
    font-size: 60px;
    display: block;
    position: absolute;
    top:100px;
  }
  .logo_content_medium{
    color: white;
    font-family: 'BIGJOHN';
    font-size: 40px;
    display: block;
    position: absolute;
    top:170px;
  }
  .logo_content_little{
    color: white;
    font-family: 'BIGJOHN';
    font-size: 15px;
    display: block;
    position: absolute;
    top:240px;
    width: 400px;
  }
  .visit{
    color: white;
    font-family: 'consolas';
    font-size: 30px;
    display: block;
    position: absolute;
    top:300px;
    padding: 5px 20px 5px 20px;
    border: 2px solid white;
    cursor: pointer;
  }
  .search{
    position: absolute;
    right:0px;
    top: 3px;
    height: 25px;
  }
  .search_blank{
    outline: none;
    height: 20px;
    border: 2px solid white;
    background-color: transparent;
    border-radius: 1px;
    color:white;
    width:250px;
  }
</style>