JezK
Edit File: teststyle.css
/* Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ */ /* reset */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;} article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;} ol,ul{list-style:none;margin:0;padding:0;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;} table{border-collapse:collapse;border-spacing:0;} /* start editing from here */ a{text-decoration:none;} .clear{clear:both;}/* clear float */ img{max-width:100%;} /*end reset*/ body{ font-family: Arial, Helvetica, sans-serif; font-style:normal; font-size:11px; background: #01aee6; background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size: cover; } .wrap{ width: 40%; margin: 0 auto; } /*start-contact-form*/ .contact_form { width: 50%; float: left; position: relative; } .contact-form{ background:#fff; padding: 3%; display: block; margin-left: auto; margin-right: auto; margin-top:100px;; margin-bottom:70px; position: relative; border-radius: 12px; -webkit-border-radius: 12px; -moz-border-radius: 12px; -o-border-radius: 12px; width:700px; } .contact-form h1{ font-size: 1.1em; color:#474646; position: relative; top: 50%; transform: translateY(-50%); } .contact_form ul { list-style-type:none; list-style-position:outside; margin:0px; padding:0px; margin-left:30px; } .contact_form li{ position:relative; } /* form element visual styles */ .contact_form li{ float: left; border: 1px solid #DDDDDD; font-size: 1.1em; color: #B6B6B6; width: 78.5%; font-weight: 100; margin-top: 2%; position: relative; height: 40px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; transition: all 0.5s ease-out; -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; } .contact_form li:hover{ border: 1px solid #79B42B; color:#79B42B; } .contact_form input { float: left; font-size: 1.1em; font-family: Arial, Helvetica, sans-serif; padding: 8px 14px; width: 88%; border: none; outline: none; color: #666666; } .contact_form p { float: right; padding: 8px 7px; width: 9.3%; cursor: pointer; } .contact_form input[type="submit"] { border: none; outline: none; color: #fff; background: #01aee6; width: 73%; padding: 10px; font-size: 1.3em; letter-spacing:1px; margin: 15px 0 30px; margin-left:30px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; } .contact_form input[type="submit"]:hover { background: #a5de37; } .contact_form i{ font-size: 1.2em; color:#B6B6B6; width: 40%; float: left; } .forgot{ float: right; margin-right: 77px; width: 35%; margin-top: -15px; } .forgot a{ color:#01aee6; font-size: 1.1em; font-family:Arial, Helvetica, sans-serif; font-style:normal; -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; } .forgot a:hover{ color: #a5de37; } /* === Form hints === */ /*end-contact-form*/ /*start-account*/ .account{ float:right; width: 50%; } /*end-footer*/ /*start-checkbox*/ /*end-checkbox*/ /*-----start-responsive-design------*/ @media only screen and (max-width: 1440px){ .wrap{ width:56%; } .span i { font-size: 1.4em; } .span1 i { font-size: 1.4em; } .span2 i { font-size: 1.4em; } .contact_form p { padding: 8px 7px; } } @media only screen and (max-width: 1366px){ .wrap{ width:59%; } .span i { font-size: 1.4em; } .span1 i { font-size: 1.4em; } .span2 i { font-size: 1.4em; } .contact_form p { padding: 8px 3px; } } @media only screen and (max-width: 1280px){ .wrap{ width:63%; } .span i { font-size: 1.3em; } .span1 i { font-size: 1.3em; } .span2 i { font-size: 1.3em; } } @media only screen and (max-width: 1024px){ .wrap{ width:79%; } .contact_form input { width: 100%; } .span i { font-size: 1.2em; padding: 13px 14px; } .span1 i { font-size: 1.2em; padding: 13px 14px; } .span2 i { font-size: 1.2em; padding: 13px 14px; } .checkbox { margin-right: 0px; } } @media only screen and (max-width: 800px){ .wrap{ width:95%; } .span i { padding: 14px 12px; font-size: 1.2em; } .span1 i { font-size: 1.2em; padding: 13px 20px; } .span2 i { font-size: 1.2em; padding: 13px 20px; } .contact_form { background: url("../images/border.png") no-repeat 313px 77px; } .forgot { margin-right: 65px; width: 38%; } .checkbox { margin-right: 0px; } } @media only screen and (max-width: 640px){ .wrap{ width:95%; } .contact-form h1 { font-size: 1.3em; } .contact_form li { height: 37px; margin-top: 7.3%; } .contact_form input { font-size: 1em; padding: 5px ; } .contact_form input[type="submit"] { font-size: 1.2em; padding: 10px; margin: 22px 0 30px; } .forgot a { font-size: 1em; } .span i { padding: 11px 6px; font-size: 1em; } .span img { padding: 2px; } .span1 img { padding: 2px; } .span1 i { padding: 11px 6px; font-size: 1em; } .span2 img { padding: 2px; } .span2 i { padding: 11px 6px; font-size: 1em; } .contact_form { background: url("../images/border.png") no-repeat 247px 41px; } .forgot { margin-right: 27px; width: 39%; margin-top: 6px; } .account h2 a { font-size: 0.9em; } .checkbox i { bottom: 10px; } } @media only screen and (max-width: 480px){ .wrap{ width:56%; } .contact_form { width: 100%; background:none; } .contact_form li { width: 99.5%; } .contact_form input[type="submit"] { width: 100%; margin: 22px 0 13px; } .forgot { width: 82%; margin-top: 7px; margin-right: 41px; } .account { width: 100%; } .account h2 a { text-align: left; margin-top: 15px; } .span { margin-top: 3.4%; } .form_hint { font-size: 0.8em; padding: 6px 5px; right: -128px; bottom: 6px; } .form_hint::before { bottom: 5px; } .checkbox i { bottom: 34px; } .footer p { font-size: 1.1em; } } @media only screen and (max-width: 320px){ .wrap{ width:85%; } .contact_form { width: 100%; background:none; } .contact_form li { width: 99.5%; } .contact_form input[type="submit"] { width: 100%; margin: 22px 0 13px; } .forgot { width: 82%; margin-top: 7px; margin-right: 41px; } .account { width: 100%; } .account h2 a { text-align: left; margin-top: 15px; } .span { margin-top: 3.4%; } .form_hint { font-size: 0.8em; padding: 6px 5px; right: -128px; bottom: 6px; } .form_hint::before { bottom: 5px; } .checkbox i { bottom: 34px; } .footer p { font-size: 1em; } }