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

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

    • 2025/08/28 NEW

      【週刊ドットインストール】 Figma入門を制作中、256timesの新クラスを企画中

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

style.css

/* common */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

h1,
h2 {
  margin: 0;
  font-weight: normal;
  color: #22577a;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

p {
  margin: 0;
  line-height: 1.6;
}

p + p {
margin-top: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  vertical-align: bottom;
}

.btn {
  display: block;
  width: 160px;
  background: #329e00;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  border-radius: 4px;
  font-weight: bold;
}

.container {
  width: calc(100% - 32px);
  margin: 0 auto;
  outline: 2px solid red;
}

/* header */

header {
  padding: 16px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* hero */

.hero {
  background-color: #99e6ff;
  background-image: url(../img/bg.png);
  background-repeat: repeat-x;
  background-position: center bottom;
  padding-top: 64px;
  text-align: center;
}

.hero p {
  margin-top: 8px;
}

.hero .btn {
  margin: 64px auto 0;
}

.hero img {
  margin-top: 64px;
}

/* features */

.features {
  padding: 64px 0;
}

.features h1 {
  text-align: center;
  padding-bottom: 64px;
}

.features .pic {
  padding: 32px;
}

.features img {
  width: 100%;
}

.features h2 {
  padding-bottom: 16px;
}

.features section + section {
  margin-top: 40px;
}

/*voices*/

.voices {
  background: #99e6ff;
  padding: 64px 0;
}

.voices h1 {
  text-align: center;
  padding-bottom: 64px;
}

.voices section {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}

.voices footer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.voices section + section {
  margin-top: 16px;
}

/*call-to-action*/

.call-to-action {
  padding: 64px 0;
  background-color: #85d8f2;
  background-image: url(../img/bg.png);
  background-repeat: repeat-x;
  background-position: center bottom;
}

.call-to-action h1 {
  text-align: center;
  padding-bottom: 64px;
}

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

/*copyright*/

.copyright {
  background: #323435;
  padding: 64px 0;
  text-align: center;
}

.copyright small {
  font-size: 16px;
  color: #eee;
}

/* large screen */

@media (min-width: 600px) {

.hero .container {
  display: flex;
}

.hero .desc,
.hero .pic {
  width: 50px;
}
}
dotinstall

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

サービスメニュー

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

ご利用にあたって

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

ソーシャルメディア

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

更新情報

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

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