XHTML/CSS・トップ | CSSソース・目次


●CSSソース2(neptune.css)





@charset "Shift_JIS";

        body {
          background-color: #000;
          color: #fff;
          margin: 0;
          padding: 0;
          height: 100%;
          font-size: 1em;
          letter-spacing: 1px;
        }

        br {
          letter-spacing: normal; /* ← IE6対策 */ 
        }

        * {
          font-family: "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS UI Gothic", sans-serif;
        }

        h1, h2, h3, h4, h5, h6, p {
          margin-top: 0;
        }

        ul, ol, dl { 
          padding: 0;
          margin: 0;
        }

        a:link {
          color: #aff;
          text-decoration: underline;
        }

        a:visited {
          color: #fff;
          text-decoration: underline;
        }

        a:hover {
          color: #f0f;
          background-color: #dfd;
          text-decoration: none;
        }

        a:active {
          color: #f00;
          text-decoration: underline;
        }

        h1, h2 {
          margin-left: 3%;
          margin-right: 30%;
        }
        h3, h4, h5, h6, p {
          margin-left: 5%;
          margin-right: 30%;
        }
        h3, h4, h5, h6 {
          margin-top: 3%;
          margin-bottom: 1%;
        }

        h1 {
          font-size: 1.3em;
        }
        h2 {
          font-size: 1.2em;
        }
        h3 {
          font-size: 1.1em;
        }
        h4 {
          font-size: 1em;
        }
        h5 {
          font-size: 0.9em;
        }
        h6 {
          font-size: 0.8em;
        }

        p {
          font-size: 1em;
          line-height: 1.4;
        }
        p.sun {
          font-size: 0.8em;
          margin-top: 2%;
          margin-left: 5%;
          margin-right: 30%;
        }

        .saturn {
          background-color: #696900;
          color: #ffffff;
          font-size: 0.9em;
          line-height: 1.4;
          margin: 1em 30% 2em 5%;
        }

        ul {
          margin-left: 7%;
          margin-right: 30%;
          padding: 0 4px 4px 2px;
          list-style-position: outside;
        }

        li {
          font-size: 0.9em;
          padding-bottom: 4px;
        }

        dl {
          margin-left: 7%;
          margin-right: 30%;
          padding: 0 4px 4px 2px;
        }

        dt, dd {
          font-size: 0.9em;
          padding-bottom: 4px;
        }

        img {
          margin-top: 5%;
          margin-bottom: 5%;
          border-width: 0px;
        }

        div {
          text-align: center;
          margin-top: 3%;
          margin-bottom: 5%;
        }

        caption {
          font-size: 0.9em;
          margin-left: auto;
          margin-right: auto;
          margin-bottom: 0.5em;
        }

        table {
          margin: auto;
        }
        th, td {
          font-size: 0.9em;
        }

        .yoko1 {
          padding : 0 0 5px 5px;
          border-bottom: 4px solid #00ffff;
          margin-top: 1em;
          margin-bottom: 2em;
        }
        .yoko2 {
          padding : 0 0 2em 0;
          border-bottom: 4px solid #00ffff;
        }

        .venus1 {
          text-align: left;
        }
        .venus2 {
          text-align: center;
        }
        .venus3 {
          text-align: right;
        }

        .moon1 {
          width: 1em;
        }
        .moon2 {
          width: 2em;
        }
        .moon3 {
          width: 3em;
        }
        .moon4 {
          width: 4em;
        }
        .moon5 {
          width: 5em;
        }
        .moon6 {
          width: 6em;
        }
        .moon7 {
          width: 7em;
        }
        .moon8 {
          width: 8em;
        }
        .moon9 {
          width: 9em;
        }
        .moon10 {
          width: 10em;
        }
        .moon15 {
          width: 15em;
        }
        .moon20 {
          width: 20em;
        }



XHTML/CSS・目次 | CSSソース・目次