Browse Source

Added image to background of about section.

master
jrtechs 6 years ago
parent
commit
279abcd5b8
4 changed files with 10 additions and 10 deletions
  1. +4
    -3
      contactform.php
  2. +6
    -7
      css/freelancer.css
  3. BIN
      img/background_2.png
  4. BIN
      img/background_light.png

+ 4
- 3
contactform.php View File

@ -8,17 +8,18 @@
* @author Jeffery Russell 6-17-18
*/
$secret_file_path = '../captchaSecret.txt';
$personal_email_path = '../email.txt';
if(isset($_POST['submit']))
{
if(isset($_POST['g-recaptcha-response']))
{
$secret_file_path = '../captchaSecret.txt';
$secret = file_get_contents($secret_file_path, FILE_USE_INCLUDE_PATH);
$personal_email_path = '../email.txt';
$toEmail = file_get_contents($personal_email_path, FILE_USE_INCLUDE_PATH);
if($secret === false)
{
echo "File with the captcha secret is not set:";

+ 6
- 7
css/freelancer.css View File

@ -79,7 +79,8 @@ section {
section.success {
color: white;
background: #37ADBE; }
background: url("../img/background_2.png") center center fixed;
}
@media (max-width: 767px) {
section {
@ -184,7 +185,7 @@ header.masthead {
header.masthead .intro-text .name
{
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size:7vw;
font-size:6vw;
font-weight: 700;
display: block;
text-transform: uppercase;
@ -192,7 +193,7 @@ header.masthead {
}
header.masthead .intro-text .skills
{
font-size: 1.25em;
font-size:2vw;
font-weight: 300;
}
@ -480,13 +481,11 @@ footer a{
.banner {
background: #384859;
background: transparent;
background: url("../img/background_light.png") center center fixed;
box-sizing: border-box;
color: #fff;
display: block;
margin: 0 auto;
padding: 10px 0;
position: relative;
min-height: 350px;
height: 100vh !important;

BIN
img/background_2.png View File

Before After
Width: 1024  |  Height: 953  |  Size: 15 KiB

BIN
img/background_light.png View File

Before After
Width: 1024  |  Height: 953  |  Size: 43 KiB Width: 1024  |  Height: 953  |  Size: 28 KiB

Loading…
Cancel
Save