blessing-skin-server/assets/css/index.style.css

167 lines
2.9 KiB
CSS
Raw Normal View History

/*
* @Author: prpr
* @Date: 2016-01-21 20:07:47
* @Last Modified by: prpr
2016-02-03 22:15:12 +08:00
* @Last Modified time: 2016-02-03 22:06:53
*/
.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 {
2016-02-02 21:52:53 +08:00
background-image: url("../images/bg.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:
2016-02-02 21:52:53 +08:00
url("../images/bg.jpg");
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;
2016-02-03 22:15:12 +08:00
width: 50%;
}
.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 {
2016-02-03 22:15:12 +08:00
width: 50%;
margin: 3.5em auto 0;
}
2016-02-03 22:15:12 +08:00
.alert {
padding: 15px 0;
}
.pure-form > .pure-button {
height: 40px;
}
/* Mobile phone */
@media (max-width: 48em) {
.splash-head {
font-size: 200%;
}
.splash {
width: 100%;
height: 50%;
}
2016-02-03 22:15:12 +08:00
.pure-form {
width: 100%;
}
#msg {
width: 100%;
}
#login-button {
width: 40%;
}
}
@media (min-width: 48em) {
.splash {
width: 80%;
height: 50%;
}
.splash-head {
font-size: 250%;
}
}
2016-02-03 22:15:12 +08:00
@media (min-width: 64em) {
.splash-head {
font-size: 300%;
}
}
@media (min-height: 800px) {
.home-menu-bg,
.container {
background-size: cover;
}
}