/* * Prefixed by https://autoprefixer.github.io * PostCSS: v8.4.14, * Autoprefixer: v10.4.7 * Browsers: last 4 version */ /* WORKS BODY ------------------------------------------------------------ */ body { background: transparent; } /* WORKS SCROLL ------------------------------------------------------------ */ ::-webkit-scrollbar { width: .8vw; background: #000; } ::-webkit-scrollbar-track { background: #000; } ::-webkit-scrollbar-thumb { background: #fff; } /* WORKS WRAP ------------------------------------------------------------ */ #wrap { display: block; opacity: 0.9; position: relative; z-index: 1; width: 100%; height: auto; margin: 0 auto; padding: 2% 0; overflow-x: hidden; } /* WORKS CONTENTS ------------------------------------------------------------ */ #contents { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; position: relative; width: 90%; height: auto; margin: 0 auto; padding: 1%; background: rgba(0,0,0,0.8); } #contents div { display: inline-block; position: relative; width: 48%; height: auto; margin: 0; padding: 0 1%; vertical-align: top; } #contents div > h1 { margin: 0; padding: 0; color: #fff; font-weight: bold; font-size: 4.7vw; } #contents div > h2 { display: block; margin: 10% 0 0; padding: 0; color: #fff; font-weight: bold; font-size: 4.7vw; } /* WORKS CONTENTS > VIDEOS ------------------------------------------------------------ */ #contents div:first-child { vertical-align: top; } #contents div:first-child > p.thumb_image { display: block; width: 96%; height: 12vw; margin: 0 0 2%; border: solid .5vw #fff; background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; cursor: pointer; -webkit-filter:saturate(200%); filter:saturate(200%); } #contents div:first-child > p.thumb_image:hover { -webkit-filter:saturate(0%); filter:saturate(0%); } #contents div:first-child > p.thumb_image > span { color: #fff; font-weight: bold; font-size: 3vw; } /* WORKS CONTENTS > MATERIAL ------------------------------------------------------------ */ #contents div:last-child { margin: 0; } #contents div:last-child > span#reset { display: inline-block; width: 12vw; height: 12vw; margin: 1%; border: solid .5vw #fff; color: #fff; font-size: 2vw; vertical-align: top; cursor: pointer; } #contents div:last-child > img.bg-change, img.dp { width: 12vw; height: 12vw; margin: 1%; border: solid .5vw #fff; vertical-align: top; cursor: pointer; } #bg_test { display: block; opacity: 0.6; position: fixed; top: 0; left: 0; width: 100%; height: 100%; } /* WORKS > VIDEOS > VIDEO THUMBNAIL ------------------------------------------------------------ */ #omiso { background-image: url(../image/thumb_video/omiso.gif); } #usakoo { background-image: url(../image/thumb_video/usakoo.gif); } #hiroto { background-image: url(../image/thumb_video/hiroto.gif); } #inducer { background-image: url(../image/thumb_video/inducer.gif); -webkit-filter: saturate(100%); filter: saturate(100%); } #ochazuke { background-image: url(../image/thumb_video/ochazuke.gif); } #suitable { background-image: url(../image/thumb_video/suitable.gif); } #nostalgic { background-image: url(../image/thumb_video/nostalgic.gif); } #tousenbou { background-image: url(../image/thumb_video/tousenbou.gif); } #lankykong { background-image: url(../image/thumb_video/lankykong.gif); } #shinchan { background-image: url(../image/thumb_video/chaos_chan.gif); } /* IE ------------------------------------------------------------ */ #ie { display: none; } @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { #wrap { display: none; } #ie { display: block; opacity: 1; position: absolute; z-index: 9999; width: 100%; height: 100%; background: 0% 0%/200% repeat url(../image/rainbow.gif) #6633cc; font-family: '04B'; text-align: center; } #ie span { position: absolute; top: 50%; left: 50%; -webkit-transform : translate(-50%,-50%); -ms-transform : translate(-50%,-50%); transform : translate(-50%,-50%); width: 90%; height: 6vw; margin: 0; color: #fff; font-size: 3vw; font-family: '04B'; } } /* FOR PORTRAIT ------------------------------------------------------------ */ @media screen and (orientation: portrait) { body { overflow-x: hidden; } #contents { display: block; position: relative; top: 50%; width: 100%; height: 100%; background: rgba(0,0,0,0.4); } #contents div { width: 100%; height: auto; padding: 8% 1% 10%; } #contents div > h1 { font-size: 8vw; } #contents div > h2 { margin: 10% 0 0; font-size: 8vw; } #contents div:first-child > p.thumb_image { display: inline-block; width: 45%; height: 20vw; margin: 0 1% 2% 0; border: solid 1vw #fff; vertical-align: top; } #contents div:first-child > p.thumb_image > span { font-size: 4vw; } #contents div:last-child { padding: 0 0 20%; } #contents div:last-child > span#reset { width: 12vw; height: 12vw; border: solid 1vw #fff; font-size: 4vw; word-break: break-all; } #contents div:last-child > img.bg-change, img.dp { width: 12vw; height: 12vw; border: solid 1vw #fff; } }