/* * @Author: prpr * @Date: 2016-01-21 20:07:47 * @Last Modified by: prpr * @Last Modified time: 2016-01-21 21:09:54 */ .home-menu-blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -100; } .home-menu-wrp { height: 100%; background-color: rgba(255,255,255,0.4); } .home-menu-bg { background-image: url("http://ww4.sinaimg.cn/large/823186a6gw1enwts09sbrj21hc0u016u.jpg"); background-position: center 0; background-size: auto 800px; position: absolute; width: 100%; height: 100%; z-index: -1; filter: blur(4px); -webkit-filter: blur(4px); -moz-filter: blur(4px); -o-filter: blur(4px); -ms-filter: blur(4px); box-shadow: rgba(0,0,0,0.1) 0 1px 2px; } .container { background-image: url("http://ww4.sinaimg.cn/large/823186a6gw1enwts09sbrj21hc0u016u.jpg"); /* background-size: cover; */ background-size: auto 800px; background-repeat: no-repeat; background-position: center 0; width: 100%; height: 100%; top: 0; left: 0; position: fixed !important; } .container .pure-button { color: white; padding: 0.8em 2.5em; border-radius: 5px; background: transparent; border: 1px solid #fff; font-size: 120%; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out; } .container .pure-button:hover { background-color: rgba(255, 255, 255, 0.2); } .splash { width: 80%; height: 50%; margin: auto; position: absolute; top: 100px; left: 0; bottom: 0; right: 0; text-align: center; } .splash-head { font-size: 20px; font-weight: bold; color: white; padding: 1em 0.5em; font-weight: 100; line-height: 1.5em; margin: 0.2em 0 0.5em; font-family: Minecraft; text-shadow: 0px 4px 3px rgba(0,0,0,0.4), 0px 8px 13px rgba(0,0,0,0.1), 0px 18px 23px rgba(0,0,0,0.1); } .splash-subhead { letter-spacing: 0.05em; margin-top: 0.8em; margin-bottom: 1.5em; } .pure-form { margin: 10px auto; width: 40%; } .pure-input { margin: 10px 0; width: 100%; } #keep-label { float: left; } #login-button { float: right; margin: .5em 0; } #register-button { margin: .5em 0; width: 100%; float: left; } #msg { width: 40%; margin: 3.5em auto 0; } /* Mobile phone */ @media (max-width: 48em) { .splash-head { font-size: 200%; } .splash { width: 100%; height: 50%; } /*.splash-subhead { font-size: 200%; }*/ } @media (min-width: 48em) { .splash { width: 80%; height: 50%; } .splash-head { font-size: 250%; } } @media (min-width: 78em) { .splash-head { font-size: 300%; } } @media (min-height: 800px) { .home-menu-bg, .container { background-size: cover; } }