/* * Prefixed by https://autoprefixer.github.io * PostCSS: v8.4.14, * Autoprefixer: v10.4.7 * Browsers: last 4 version */ /* BODY ------------------------------------------------------------ */ @font-face { font-family: "04B"; src: url("../font/04B_11_.TTF"); font-display: block; } html{ background: #000; } body { display: none; width: 100%; height: 100%; margin: 0; padding: 0; overflow-x: hidden; background: transparent; font-family: '04B'; } /* SCROLL ------------------------------------------------------------ */ ::-webkit-scrollbar { width: .8vw; background: #000; } ::-webkit-scrollbar-track { background: #000; } ::-webkit-scrollbar-thumb { background: #fff; } /* LINK SURFACE ------------------------------------------------------------ */ .link { display: block; position: absolute; top: 0; left: 0; z-index: 99; width: 100%; height: 100%; cursor: pointer; } /* NORITTER ------------------------------------------------------------ */ #wrap { overflow-y: hidden; } .noritter { display: block; position: relative; clear: all; width: 98%; height: auto; margin: 0 auto 1%; padding: 0; color: #fff; } .author-image { display: inline-block; position: relative; width: 30vh; height: 30vh; margin: 1% 1% 2% 2%; padding: 0; border: solid 1vw #fff; border-radius: 50%; background: 50% 30% / 200% no-repeat url('../image/design/06/baby.png') #0d0d0d; vertical-align: top; } .article { display: inline-block; position: relative; width: 90%; height: auto; margin: 0; padding: 1%; color: #fff; } .article > span:nth-child(1) { position: relative; font-size: 3.5vw; vertical-align: middle; } .article > span:nth-child(2) { position: relative; font-size: 2vw; vertical-align: middle; } .article > p { margin: 2% 0 0; padding: 0; color: #fff; font-size: 2vw; line-height: 12.5vw; word-break: break-all; } hr { clear: both; height: .7vw; margin: 2% 0%; padding: 0; border: 0; background: #fff; } .noritter-img { display: inline-block; opacity: 0.5; float: left; width: 15vw; height: 15vw; margin: 0 1% .5% 0; border-radius: 10px; -webkit-transition: .4s; -o-transition: .4s; transition: .4s; -o-object-fit: cover; object-fit: cover; } .noritter-img:hover { opacity: 1; } .movie { display: block; opacity: 0.5; width: 70%; height: 30vw; margin: 0 auto; border-radius: 10px; -webkit-transition: .4s; -o-transition: .4s; transition: .4s; } .movie:hover { opacity: 1; } /* PREVIEW & NEXT ------------------------------------------------------------ */ #prev-next { display: block; position: relative; width: 98%; height: 3vw; margin: 2% auto; padding: 0; } #prev-next > a { font-size: 6vw; color: #fff; text-decoration: none; } #prev-next > a:hover { background: rgba(255,255,255,0.2); } #prev-next > #prev, #next { display: inline-block; position: absolute; top: 0; width: auto; text-align: center; } #prev-next > #prev { left: 0; } #prev-next > #next { right: 0; } /* IE ------------------------------------------------------------ */ #ie{ display: none; opacity: 0; position: absolute; z-index: 99; } @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { #wrap{ display: none; } #ie{ display: block; z-index: 9999; width: 100%; height: 100%; background: 0% 0% / 200% repeat url(../image/rainbow.gif) #6633cc; text-align: center; } #ie span{ display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 90%; height: 7vw; margin: auto; color: #fff; font-size: 3vw; } } /* FOR LANDSCAPE ------------------------------------------------------------ */ @media screen and (orientation: landscape) { .noritter:nth-child(1) { margin: 2% auto 1%; } .author-image { width: 20vw; height: 20vw; margin: 1% 2% 2%; } .article { width: 70%; padding: 0 0 1%; } .article > span:nth-child(1) { margin: 0 2% 0 0; font-size: 5vw; } .article > span:nth-child(2) { font-size: 2vw; } .article > p { font-size: 1.8vw; line-height: 2vw; } .noritter-img { width: 13vw; height: 13vw; } #prev-next { width: 94%; } #prev-next > a { font-size: 4vw; } } /* FOR PORTRAIT ------------------------------------------------------------ */ @media screen and (orientation: portrait) { #wrap { padding: 8% 1% 10%; } .noritter { width: 98%; } .author-image { display:none; } .article { display: block; width: 100%; padding: 1% 0; } .article > span:nth-child(1) { font-size: 5.5vw; } .article > span:nth-child(2) { font-size: 3.5vw; } .article > p { font-size: 3.5vw; line-height: 4vw; } .noritter-img { width: 20vw; height: 20vw; } .movie { width: 80%; height: 40vw; } }