/* * Prefixed by https://autoprefixer.github.io * PostCSS: v8.4.14, * Autoprefixer: v10.4.7 * Browsers: last 4 version */ /* INDEX ------------------------------------------------------------ */ #box { background: rgba(0,255,0,0.1); } header { position: relative; z-index: 5; width: 100%; height: 35vw; margin: -2% 0 0; padding: 0; } header #matrix, header #move, header .diamond, header #fade { display: none; } #site-name { position: relative; width: 110%; height: 100%; } #site-name > pre { font-size: .24vw; line-height: .25vw; } h1 { position: absolute; top: 25vw; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); z-index: 7; width: 40%; background: rgba(0,255,0,0.1); color: rgba(0,0,0,0.9); font-size: .8vw; text-align: center; text-shadow: 0 0 .5vw #00ff00; } /* ACCEPT & LABEL ------------------------------------------------------------ */ p#accept { margin: 5% auto 10%; font-size: .8vw; line-height: 1.3vw; } label { font-size: 1vw; } /* YES AND NO ------------------------------------------------------------ */ #y-n.flexbox { -ms-flex-wrap: nowrap; flex-wrap: nowrap; width: 100%; height: auto; margin: 5% 0; } #y-n.flexbox pre { width: 50%; height: 3vw; padding: 2% 0; color: #000; font-size: .25vw; line-height: .26vw; text-shadow: 0 0 .5vw #000; -webkit-filter: drop-shadow( 0 0 .5vw #00ff00 ); filter: drop-shadow( 0 0 .5vw #00ff00 ); } #y-n.flexbox pre a { color: #000; } #y-n.flexbox pre a:hover { background: #00ff00; } .disabled { pointer-events: none; } #eanble-link { display: none; } /* BUTTON ------------------------------------------------------------ */ #btn { margin: 5% auto 1%; } #btn a > img { display: inline-block; opacity: 0.3; width: 6.5vw; height: 2.2vw; padding: .3vw; -webkit-filter: grayscale(80%) contrast(110%); filter: grayscale(80%) contrast(110%); } #btn a > img:hover { opacity: 0.8; -webkit-filter: grayscale(0) contrast(100%); filter: grayscale(0) contrast(100%); } /* FORBID ------------------------------------------------------------ */ #read { display: inline-block; margin: 0 auto 5%; color: rgba(255,255,255,0.5); font-size: .8vw; } #read:hover { color: rgba(255,255,255,0.8); } /* DECOR ------------------------------------------------------------ */ #earth-1 { left: 77%; width: 14vw; height: 14vw; margin: 64vw 0 0; } #earth-2 { left: 12%; margin: 68vw 0 0; } #atom-1 { right: 10%; width: 10vw; height: 10vw; margin: 20vw 0 0; } #dice-1 { display: none; } /* DECOR CAT ------------------------------------------------------------ */ #cat { opacity: 0.2; position: absolute; top: 0; left: 7%; z-index: 99; width: 6vw; height: 8vw; margin: 54vw 0 0; background: 50% 50% / contain no-repeat url(../image/cat.png); -webkit-transition: .3s; -o-transition: .3s; transition: .3s; } #cat:hover { opacity: 0.6; width: 8vw; height: 10vw; } /* FOR PORTRAIT ------------------------------------------------------------ */ @media screen and (orientation: portrait) { #site-name { width: 110%; height: 65vw; } #site-name > pre { font-size: .50vw; line-height: .50vw; } h1 { top: 50vw; width: 80%; font-size: 2vw; } p#accept { margin: 35vw auto 10%; font-size: 2vw; line-height: 3vw; } label { font-size: 3vw; } #y-n.flexbox { -ms-flex-wrap: nowrap; flex-wrap: nowrap; width: 100%; height: auto; margin: 5% 0; } #y-n.flexbox pre { height: 6.2vw; padding: 2% 0; font-size: .55vw; line-height: .55vw; } #btn { flex-wrap: wrap; margin: 10% auto 5%; } #btn a > img { width: 20vw; height: 7vw; padding: 1vw; } #read { font-size: 2vw; } }