Harigami
ログイン
1
anonymous 課題
CSS
@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 基本設定
****************************************/
html {
  font-size: 62.5%;
}

body {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

iframe {
  vertical-align: middle;
}

/* CLEAR-FIX */
.clearfix {
  zoom: 1;
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}


/* 共通
****************************************/

.inner {
  width: 1000px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.fl_between {
  justify-content: space-between;
}

.sec {
  padding: 70px 0;
}

.sec_icon {
  display: block;
  text-align: center;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.sec_ttl {
  font-size: 24px;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.075em;
}

.sec_ttl span {
  font-weight: bold;
}

.sec_ttl span::before,
.sec_ttl span::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #333;
  vertical-align: middle;
}

.sec_ttl span::before {
  margin-right: 50px;
}

.sec_ttl span::after {
  margin-left: 50px;
}


/* ヘッダー
****************************************/
.header {
  width: 100%;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header_inner {
  align-items: flex-end;
}

.header_nav li {
  margin-left: 45px;
}

.header_nav a {
  color: #333;
  text-decoration: none;
}

.header_nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

.header_nav a:hover::after {
  width: 100%;
}


/* メインビジュアル
****************************************/
.mv {
  height: 400px;
  background-image: url(../image/mv.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding-top: 150px;
}

.mv_ttl {
  font-size: 50px;
  margin-bottom: 40px;
}

.mv_subttl {
  font-size: 20px;
}



/* プロフィール
****************************************/
.profile_cont {
  width: 700px;
  margin: 0 auto;
  align-items: flex-start;
}

.profile_img {
  width: 280px;
  border-radius: 50%;
  overflow: hidden;
}

.profile_textbox {
  width: 380px;
}

.profile_name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* スキル
****************************************/

.skill {
  background: url(../image/bg_slill.jpg) center / cover no-repeat;
}

.skill_list li {
  width: 220px;
}

.skill_list figure {
  text-align: center;
  margin-bottom: 50px;
}

.skill_list a {
  color: #0ca8cf;
}

/* 実績
****************************************/

.works_cont {
  width: 300px;
}

.works_cont_ttl {
  background: #0ca8cf;
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 10px;
  font-weight: normal;
  margin-bottom: 35px;
  position: relative;
}

.works_cont_ttl::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 14px 0 14px;
  border-color: #0ca8cf transparent transparent transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -14px;
}

.works_cont_comennt {
  font-size: 18px;
  margin: 10px 0 5px;
}

.works_cont_link {
  text-align: right;
}

.works_cont_link a {
  color: #333;
  font-size: 14px;
}


/* お問合せ
****************************************/
.contact {
  background: #dbf6fd;
}

.contact_snslist {
  justify-content: center;
}

.contact_snslist li + li {
  margin-left: 75px;
}

.contact_snslist i {
  font-family: "Font Awesome 5 Brands";
  color: #0a86a6;
  font-size: 72px;
}

.contact_snslist a {
  transition: 0.3s;
}

.contact_snslist a:hover {
  opacity: 0.8;
}

.contact_linkbtn {
  width: 300px;
  margin: 65px auto 0;
}

.contact_linkbtn a {
  display: block;
  text-align: center;
  color: #0ca8cf;
  font-size: 24px;
  font-weight: bold;
  line-height: 80px;
  text-decoration: none;
  border: 2px solid #0ca8cf;
  border-radius: 40px;
  transition: 0.3s;
}


/* フッター
****************************************/
.footer {
  background: #0a86a6;
  color: #fff;
  text-align: center;
  font-size: 20px;
}

.contact_linkbtn a:hover {
  background: #0ca8cf;
  color: #dbf6fd;
}

.footer {
  padding: 25px;
}
  • 0
  • 0
anonymous Angular Material の Form field に iphone safari で日本語とか絵文字を入力すると下が切れる対策
MIT CSS
input.mat-input-element {
  line-height: 1.4;
}
  • 0
  • 0
anonymous タイトルなし
CSS
💩
  • 0
  • 0
anonymous タイトルなし
CSS
💩
  • 0
  • 0
あなたもコードを投稿しませんか?
投稿する
1