|
|
(42 intermediate revisions not shown) |
Line 1: |
Line 1: |
| + | {{Team:HokkaidoU_Japan/Common/CSS}} |
| <html> | | <html> |
| <style type="text/css"> | | <style type="text/css"> |
- |
| |
- | body {
| |
- | background: #ffffff;
| |
- | }
| |
- |
| |
- | #globalWrapper {
| |
- | position: absolute;
| |
- | top: 0;
| |
- | left: 0;
| |
- | width: 100%;
| |
- | height: 0;
| |
- | margin: 0;
| |
- | padding: 0;
| |
- | border: 0;
| |
- | font-size: 100%;
| |
- | }
| |
- |
| |
- | #content {
| |
- | position: absolute;
| |
- | top: 0;
| |
- | left: 0;
| |
- | width: 100%;
| |
- | height: 0;
| |
- | margin: 0;
| |
- | padding: 0;
| |
- | border: 0;
| |
- | font-size: 100%;
| |
- | }
| |
- |
| |
- | #bodyContent {
| |
- | position: absolute;
| |
- | top: 0;
| |
- | left: 0;
| |
- | width: 100%;
| |
- | height: 0;
| |
- | margin: 0;
| |
- | padding: 0;
| |
- | border: 0;
| |
- | font-size: 100%;
| |
- | }
| |
- |
| |
- | #p-logo {
| |
- | display: none;
| |
- | }
| |
- |
| |
- | #footer-box {
| |
- | display: none;
| |
- | }
| |
- |
| |
- | #catlinks {
| |
- | display: none;
| |
- | }
| |
- |
| |
- | .firstHeading {
| |
- | display: none;
| |
- | }
| |
- |
| |
- | #search-controls {
| |
- | display: none;
| |
- | }
| |
- |
| |
- | #top-section {
| |
- | border: none;
| |
- | }
| |
- |
| |
- | html {
| |
- | overflow-y: scroll;
| |
- | }
| |
- |
| |
- | body {
| |
- | font-size: 18px;
| |
- | line-height: 28px;
| |
- | text-align: justify;
| |
- | }
| |
- |
| |
- | h1, h2, h3, h4, h5, h6 {
| |
- | font-family: 'Rosario', sans-serif;
| |
- | }
| |
- |
| |
- | ul, ol {
| |
- | margin-left: 40px;
| |
- | }
| |
- |
| |
- | th, td {
| |
- | padding: 0 10px;
| |
- | }
| |
- |
| |
- | th {
| |
- | font-family: 'Rosario', sans-serif;
| |
- | }
| |
- |
| |
- | dt {
| |
- | margin-left: 20px;
| |
- | }
| |
- |
| |
- | dd {
| |
- | margin-left: 60px;
| |
- | }
| |
- |
| |
- | #background {
| |
- | position: absolute;
| |
- | top: 0;
| |
- | width: 100%;
| |
- | margin: 0;
| |
- | padding: 0;
| |
- | }
| |
- |
| |
- | .wrapper {
| |
- | width: 960px;
| |
- | margin: 0 auto 0;
| |
- | }
| |
- |
| |
- | .clearfix {
| |
- | clear: both;
| |
- | height: 0;
| |
- | }
| |
- |
| |
- | #hokkaidou-contents {
| |
- | font-family: 'Open Sans', sans-serif;
| |
- | width: 880px;
| |
- | margin: 60px auto 0;
| |
- | }
| |
- | #hokkaidou-contents h1 {
| |
- | font-size: 44px;
| |
- | line-height: 52px;
| |
- | margin: 90px 0 20px;
| |
- | }
| |
- | #hokkaidou-contents h2 {
| |
- | font-size: 32px;
| |
- | line-height: 40px;
| |
- | margin: 50px 0 10px;
| |
- | }
| |
- | #hokkaidou-contents h3 {
| |
- | font-size: 22px;
| |
- | line-height: 28px;
| |
- | margin: 30px 0 10px;
| |
- | }
| |
- | #hokkaidou-contents p {
| |
- | margin: 30px 0 0;
| |
- | }
| |
- | #hokkaidou-contents p:first-letter {
| |
- | margin-left: 20px;
| |
- | }
| |
- | #hokkaidou-contents h1 + p, #hokkaidou-contents h2 + p, #hokkaidou-contents h3 + p {
| |
- | margin: 0;
| |
- | }
| |
- | #hokkaidou-contents sup {
| |
- | vertical-align: super;
| |
- | font-size: smaller;
| |
- | }
| |
- | #hokkaidou-contents .fig {
| |
- | float: right;
| |
- | padding: 30px;
| |
- | }
| |
- | #hokkaidou-contents .fig div {
| |
- | font-size: 14px;
| |
- | line-height: 20px;
| |
- | padding-top: 20px;
| |
- | text-align: center;
| |
- | }
| |
- | #hokkaidou-contents .fig200 {
| |
- | width: 160px;
| |
- | }
| |
- | #hokkaidou-contents .fig200 img {
| |
- | width: 160px;
| |
- | }
| |
- | #hokkaidou-contents .fig300 {
| |
- | width: 260px;
| |
- | }
| |
- | #hokkaidou-contents .fig300 img {
| |
- | width: 260px;
| |
- | }
| |
- | #hokkaidou-contents .fig400 {
| |
- | width: 360px;
| |
- | }
| |
- | #hokkaidou-contents .fig400.para {
| |
- | float: left;
| |
- | padding: 30px 40px;
| |
- | }
| |
- | #hokkaidou-contents .fig400 img {
| |
- | width: 360px;
| |
- | }
| |
- | #hokkaidou-contents .fig800 {
| |
- | float: none;
| |
- | width: 800px;
| |
- | margin: 30px auto;
| |
- | }
| |
- | #hokkaidou-contents .fig800 img {
| |
- | width: 800px;
| |
- | }
| |
- | #hokkaidou-contents .citation-list {
| |
- | margin-top: 40px;
| |
- | }
| |
- |
| |
- | #top_header {
| |
- | width: 100%;
| |
- | height: 130px;
| |
- | background-color: black;
| |
- | }
| |
- |
| |
- | #top_univ {
| |
- | position: relative;
| |
- | text-align:center;
| |
- | margin: 0 auto;
| |
- | font-size: 30px;
| |
- | top: 45px;
| |
- | }
| |
- |
| |
- | #top_button {
| |
- | position: relative;
| |
- | width: 640px;
| |
- | top: 55px;
| |
- | background:transparent;
| |
- | color: red;
| |
- | text-align: center;
| |
- | margin: 0 auto;
| |
- | }
| |
- |
| |
- | #top_button ul {
| |
- | text-align:center;
| |
- | margin: 0 auto;
| |
- | }
| |
- |
| |
- | #top_button li {
| |
- | position: relative;
| |
- | display: inline-block;
| |
- | margin-right: 10px;
| |
- | margin-left: 10px;
| |
- | }
| |
- |
| |
- | #top_button a {
| |
- | display: block;
| |
- | }
| |
- |
| |
- |
| |
- | #top_logo_snow {
| |
- | position: relative;
| |
- | margin: 0 auto;
| |
- | left: 30px;
| |
- | background-image: url ()
| |
- | }
| |
- |
| |
- | /* bookblock*/
| |
- |
| |
- | .bb-bookblock {
| |
- | width: 100%;
| |
- | height: 100%;
| |
- | margin: 0 auto;
| |
- | position: relative;
| |
- | z-index: 100;
| |
- | -webkit-perspective: 1300px;
| |
- | -moz-perspective: 1300px;
| |
- | perspective: 1300px;
| |
- | -webkit-backface-visibility: hidden;
| |
- | -moz-backface-visibility: hidden;
| |
- | backface-visibility: hidden;
| |
- | }
| |
- |
| |
- | .bb-page {
| |
- | position: absolute;
| |
- | -webkit-transform-style: preserve-3d;
| |
- | -moz-transform-style: preserve-3d;
| |
- | transform-style: preserve-3d;
| |
- | -webkit-transition-property: -webkit-transform;
| |
- | -moz-transition-property: -moz-transform;
| |
- | transition-property: transform;
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-page {
| |
- | width: 50%;
| |
- | height: 100%;
| |
- | left: 50%;
| |
- | -webkit-transform-origin: left center;
| |
- | -moz-transform-origin: left center;
| |
- | transform-origin: left center;
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-page {
| |
- | width: 100%;
| |
- | height: 50%;
| |
- | top: 50%;
| |
- | -webkit-transform-origin: center top;
| |
- | -moz-transform-origin: center top;
| |
- | transform-origin: center top;
| |
- | }
| |
- |
| |
- | .bb-page > div,
| |
- | .bb-outer,
| |
- | .bb-content,
| |
- | .bb-inner {
| |
- | position: absolute;
| |
- | height: 100%;
| |
- | width: 100%;
| |
- | top: 0;
| |
- | left: 0;
| |
- | background: #fff;
| |
- | }
| |
- |
| |
- | .bb-outer {
| |
- | -webkit-backface-visibility: hidden;
| |
- | -moz-backface-visibility: hidden;
| |
- | backface-visibility: hidden;
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-content {
| |
- | width: 200%;
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-content {
| |
- | height: 200%;
| |
- | }
| |
- |
| |
- | .bb-page > div {
| |
- | width: 100%;
| |
- | -webkit-transform-style: preserve-3d;
| |
- | -moz-transform-style: preserve-3d;
| |
- | transform-style: preserve-3d;
| |
- | }
| |
- |
| |
- | .bb-page > div:not(:only-child) {
| |
- | -webkit-backface-visibility: hidden;
| |
- | -moz-backface-visibility: hidden;
| |
- | backface-visibility: hidden;
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-back {
| |
- | -webkit-transform: rotateY(-180deg);
| |
- | -moz-transform: rotateY(-180deg);
| |
- | transform: rotateY(-180deg);
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-back {
| |
- | -webkit-transform: rotateX(-180deg);
| |
- | -moz-transform: rotateX(-180deg);
| |
- | transform: rotateX(-180deg);
| |
- | }
| |
- |
| |
- | .bb-outer {
| |
- | width: 100%;
| |
- | overflow: hidden;
| |
- | z-index: 999;
| |
- | }
| |
- |
| |
- | .bb-overlay,
| |
- | .bb-flipoverlay {
| |
- | background-color: rgba(0, 0, 0, 0.7);
| |
- | position: absolute;
| |
- | top: 0px;
| |
- | left: 0px;
| |
- | width: 100%;
| |
- | height: 100%;
| |
- | opacity: 0;
| |
- | }
| |
- |
| |
- | .bb-flipoverlay {
| |
- | background-color: rgba(0, 0, 0, 0.2);
| |
- | }
| |
- |
| |
- | /* */
| |
- |
| |
- | .bb-bookblock.bb-vertical > div.bb-page:first-child,
| |
- | .bb-bookblock.bb-vertical > div.bb-page:first-child .bb-back {
| |
- | -webkit-transform: rotateY(180deg);
| |
- | -moz-transform: rotateY(180deg);
| |
- | transform: rotateY(180deg);
| |
- | }
| |
- |
| |
- | .bb-bookblock.bb-horizontal > div.bb-page:first-child,
| |
- | .bb-bookblock.bb-horizontal > div.bb-page:first-child .bb-back {
| |
- | -webkit-transform: rotateX(180deg);
| |
- | -moz-transform: rotateX(180deg);
| |
- | transform: rotateX(180deg);
| |
- | }
| |
- |
| |
- | /* Content display */
| |
- | .bb-vertical .bb-front .bb-content {
| |
- | left: -100%;
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-front .bb-content {
| |
- | top: -100%;
| |
- | }
| |
- |
| |
- | /* Flipping classes */
| |
- | .bb-vertical .bb-flip-next,
| |
- | .bb-vertical .bb-flip-initial {
| |
- | -webkit-transform: rotateY(-180deg);
| |
- | -moz-transform: rotateY(-180deg);
| |
- | transform: rotateY(-180deg);
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-flip-prev {
| |
- | -webkit-transform: rotateY(0deg);
| |
- | -moz-transform: rotateY(0deg);
| |
- | transform: rotateY(0deg);
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-flip-next,
| |
- | .bb-horizontal .bb-flip-initial {
| |
- | -webkit-transform: rotateX(180deg);
| |
- | -moz-transform: rotateX(180deg);
| |
- | transform: rotateX(180deg);
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-flip-prev {
| |
- | -webkit-transform: rotateX(0deg);
| |
- | -moz-transform: rotateX(0deg);
| |
- | transform: rotateX(0deg);
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-flip-next-end {
| |
- | -webkit-transform: rotateY(-15deg);
| |
- | -moz-transform: rotateY(-15deg);
| |
- | transform: rotateY(-15deg);
| |
- | }
| |
- |
| |
- | .bb-vertical .bb-flip-prev-end {
| |
- | -webkit-transform: rotateY(-165deg);
| |
- | -moz-transform: rotateY(-165deg);
| |
- | transform: rotateY(-165deg);
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-flip-next-end {
| |
- | -webkit-transform: rotateX(15deg);
| |
- | -moz-transform: rotateX(15deg);
| |
- | transform: rotateX(15deg);
| |
- | }
| |
- |
| |
- | .bb-horizontal .bb-flip-prev-end {
| |
- | -webkit-transform: rotateX(165deg);
| |
- | -moz-transform: rotateX(165deg);
| |
- | transform: rotateX(165deg);
| |
- | }
| |
- |
| |
- | .bb-item {
| |
- | width: 100%;
| |
- | height: 100%;
| |
- | position: absolute;
| |
- | top: 0;
| |
- | left: 0;
| |
- | display: none;
| |
- | background: #fff;
| |
- | }
| |
- |
| |
- | /* No JS */
| |
- | .no-js .bb-bookblock,
| |
- | .no-js ul.bb-custom-grid li {
| |
- | width: auto;
| |
- | height: auto;
| |
- | }
| |
- |
| |
- | .no-js .bb-item {
| |
- | display: block;
| |
- | position: relative;
| |
- | }
| |
- |
| |
- | /*Demo 4*/
| |
- | @font-face {
| |
- | font-family: 'arrows';
| |
- | src:url('../fonts/arrows/arrows.eot');
| |
- | src:url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
| |
- | url('../fonts/arrows/arrows.woff') format('woff'),
| |
- | url('../fonts/arrows/arrows.ttf') format('truetype'),
| |
- | url('../fonts/arrows/arrows.svg#arrows') format('svg');
| |
- | font-weight: normal;
| |
- | font-style: normal;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper {
| |
- | width: 100%;
| |
- | height: 100%;
| |
- | position: relative;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper .bb-bookblock {
| |
- | width: 100%;
| |
- | height: 100%;
| |
- | -webkit-perspective: 2000px;
| |
- | -moz-perspective: 2000px;
| |
- | perspective: 2000px;
| |
- | }
| |
- |
| |
- | .bb-custom-side {
| |
- | width: 50%;
| |
- | float: left;
| |
- | height: 100%;
| |
- | overflow: hidden;
| |
- | /* Centering with flexbox */
| |
- | display: -webkit-box;
| |
- | display: -moz-box;
| |
- | display: -webkit-flex;
| |
- | display: flex;
| |
- | -webkit-flex-direction: row;
| |
- | flex-direction: row;
| |
- | -webkit-flex-wrap: wrap;
| |
- | flex-wrap: wrap;
| |
- | -webkit-box-pack: center;
| |
- | -moz-box-pack: center;
| |
- | -webkit-justify-content: center;
| |
- | justify-content: center;
| |
- | -webkit-box-align: center;
| |
- | -moz-box-align: center;
| |
- | -webkit-align-items: center;
| |
- | align-items: center;
| |
- | }
| |
- |
| |
- | .bb-custom-firstpage h1 {
| |
- | font-size: 2.625em;
| |
- | line-height: 1.3;
| |
- | margin: 0;
| |
- | font-weight: 300;
| |
- | }
| |
- |
| |
- | .bb-custom-firstpage h1 span {
| |
- | display: block;
| |
- | font-size: 60%;
| |
- | opacity: 0.3;
| |
- | padding: 0 0 0.6em 0.1em;
| |
- | }
| |
- |
| |
- | .bb-custom-firstpage {
| |
- | text-align: center;
| |
- | padding-top: 15%;
| |
- | width: 50%;
| |
- | float: left;
| |
- | height: 100%;
| |
- | }
| |
- |
| |
- | .bb-custom-side p {
| |
- | padding: 8%;
| |
- | font-size: 1.8em;
| |
- | font-weight: 300;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper h3 {
| |
- | font-size: 1.4em;
| |
- | font-weight: 300;
| |
- | margin: 0.4em 0 1em;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper > nav {
| |
- | width: 100%;
| |
- | height: 40px;
| |
- | margin: 1em auto 0;
| |
- | position: fixed;
| |
- | bottom: 20px;
| |
- | z-index: 1000;
| |
- | text-align: center;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper > nav a {
| |
- | display: inline-block;
| |
- | width: 40px;
| |
- | height: 40px;
| |
- | text-align: center;
| |
- | border-radius: 2px;
| |
- | background: #1baede;
| |
- | color: #fff;
| |
- | font-size: 0;
| |
- | margin: 2px;
| |
- | }
| |
- |
| |
- | .bb-custom-wrapper > nav a:hover {
| |
- | opacity: 0.6;
| |
- | }
| |
- |
| |
- | .bb-custom-icon:before {
| |
- | font-family: 'arrows';
| |
- | speak: none;
| |
- | font-style: normal;
| |
- | font-weight: normal;
| |
- | font-variant: normal;
| |
- | text-transform: none;
| |
- | line-height: 1;
| |
- | font-size: 30px;
| |
- | line-height: 40px;
| |
- | display: block;
| |
- | -webkit-font-smoothing: antialiased;
| |
- | }
| |
- |
| |
- | .bb-custom-icon-first:before,
| |
- | .bb-custom-icon-last:before {
| |
- | content: "\e002";
| |
- | }
| |
- |
| |
- | .bb-custom-icon-arrow-left:before,
| |
- | .bb-custom-icon-arrow-right:before {
| |
- | content: "\e003";
| |
- | }
| |
- |
| |
- | .bb-custom-icon-arrow-left:before,
| |
- | .bb-custom-icon-first:before {
| |
- | -webkit-transform: rotate(180deg);
| |
- | -moz-transform: rotate(180deg);
| |
- | -ms-transform: rotate(180deg);
| |
- | transform: rotate(180deg);
| |
- | }
| |
- |
| |
- | /* No JS */
| |
- | .no-js .bb-custom-wrapper {
| |
- | height: auto;
| |
- | }
| |
- |
| |
- | .no-js .bb-custom-content {
| |
- | height: 470px;
| |
- | }
| |
- |
| |
- | @media screen and (max-width: 61.75em){
| |
- | .bb-custom-side {
| |
- | font-size: 70%;
| |
- | }
| |
- | }
| |
- |
| |
- | @media screen and (max-width: 33em){
| |
- | .bb-custom-side {
| |
- | font-size: 60%;
| |
- | }
| |
- | }
| |
- |
| |
- |
| |
| | | |
| </style> | | </style> |
| </html> | | </html> |