Misc fixes

This commit is contained in:
2015-09-08 20:25:50 +08:00
parent 3294885db9
commit 88ad9b8a53
7 changed files with 45 additions and 8 deletions

View File

@@ -62,6 +62,16 @@ header {
text-align: center;
}
.contact:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba( 255, 255, 255, 0.6 );
}
.begin-wrapper:before {
content: "";
position: absolute;
@@ -70,10 +80,11 @@ header {
height: 100%;
width: 100%;
background-image: url(http://file.astropenguin.net/blog/layout-images/home.png);
background-image: url(http://file.astropenguin.net/blog/layout-images/home-blur.png);
background-position: 50% 0;
background-repeat: no-repeat;
opacity: 0.2;
opacity: 0.6;
}
.contact-wrapper {
@@ -99,6 +110,33 @@ header {
margin-bottom: 0.5em;
}
.contact-form textarea, .contact-form input {
background-color: rgba( 0, 0, 0, 0.1 );
padding: 0.5em;
font-size: 0.8em;
}
.contact-form ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #AAA;;
}
.contact-form :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #AAA;;
opacity: 1;
}
.contact-form ::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #AAA;;
opacity: 1;
}
.contact-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #AAA;;
}
.contact-form textarea:hover, .contact-form input:hover
, .contact-form textarea:focus, .contact-form input:focus {
color: white;
background-color: rgba( 0, 0, 0, 0.5 );
}
.contact-form > input[type="submit"] {
width: auto;
}