ドットインストール - 3分動画でマスターできるプログラミング学習サービス

  • レッスン一覧
  • 料金プラン
    • レッスン一覧
    • 料金プラン
  • ログイン
  • 運営からのお知らせ

    • 2025/09/18 NEW

      【週刊ドットインストール】 Figma入門のレイアウト編がもうすぐリリース、レッスン一覧を改修

    すべて見る
  • トップ /
  • マイページ /
  • styles.css

styles.css

body {
  margin: 0;
  font-size: 16px;
  font-family: Verdana, sans-serif;
  color: #333;
}
header {
  background:#f59a00;
  color:#fff;
  text-align: center;
  padding-top: 64px;
}
header h1,
header p {
  margin: 0;
}
header img {
  width: 280px;
  vertical-align: bottom;

}

.btn {
  text-decoration: none;
  background: #fff;
  color: #f59a00;
  display: block;
  width: 140px;
  line-height: 44px;
  margin: 40px auto 48px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
}

.btn:hover {
  opacity: 0.9;
}
.features img {
  width: 100%;
}

.features > h1 {
  text-align: center;
  padding: 64px;
  font-weight: normal;
}

.features .container {
  margin: 0 32px;
}

.features p {
  line-height: 1.8;
}

.features section {
  padding-bottom: 64px;
}

.members {
  background: #f2f2f3;
}

.members > h1 {
  text-align: center;
  padding: 64px;
  font-weight: normal;
}

.members ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

.members img {
  width: 160px;
  border-radius: 50%;
}

.members h2 {
  font-size: 20px;
}

.members li {
  padding-bottom: 64px;
}

.call-to-action {
  background: #f59a00;
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.call-to-action h1 {
  font-weight: normal;
}

.call-to-action .btn {
  margin: 0 auto;
}

footer {
  padding: 64px 0;
  background: #323135;
  color: #98969c;
  text-align: center;
}

@media (min-width:900px) {
  header .container {
    display: flex;
    width: 800px;
    margin: 0 auto;
  }

header .info {
  width: 60%;
  align-self: center;
}

header .pic {
  width:40%;
}

.features .container {
  width: 800px;
  margin: 0 auto;
}
.features section {
  display:flex;
  justify-content: space-between;
}

.features section:nth-child(even) {
  flex-direction: row-reverse;
}

.features .pic {
  width: 50%;
}

.features .info {
  width: calc(50% - 32px);
}

.members ul {
  width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.members li {
  width: 250px;
}
}
dotinstall

3分動画でマスターできるプログラミング学習サービスです。あなたもプログラミングを始めてみませんか?

サービスメニュー

  • レッスン一覧
  • 料金プラン
  • 法人向けライセンス
  • 256times
  • 運営からのお知らせ
  • プログラミング学習ガイド
  • プログラミング学習相談室

ご利用にあたって

  • ヘルプ
  • 利用規約
  • プライバシーポリシー
  • 利用者情報の外部送信について
  • 運営企業情報
  • 採用情報
  • 教材利用について
  • お問い合わせ

ソーシャルメディア

  • note
  • X (@dotinstall)
  • Facebookページ

更新情報

  • 新着レッスンRSS
  • 新着補足情報RSS

Copyright © 2011-2025 dotinstall.com. All Rights Reserved.