Skip to content

Instantly share code, notes, and snippets.

@elinachar
Last active April 25, 2018 16:49
Show Gist options
  • Save elinachar/7c605dd880ed086aa5f85400bd60e717 to your computer and use it in GitHub Desktop.
Save elinachar/7c605dd880ed086aa5f85400bd60e717 to your computer and use it in GitHub Desktop.
First personal website, about.html file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Calculator</title>
<!-- Google Fonts API -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Open+Sans:light">
<!-- Custom styles for this template go here -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/calculator_styles.css">
<!-- Google CDN for jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="header">
<h1 style= "text-align:center">Fake iPhone Calculator</h1>
</div> <!-- end header -->
<div class="calculator">
<div class="row1" id="screen">0</div>
<div class="buttons">
<div class="button grey row2" id="clear">AC</div>
<div class="button grey row2" id="change-sign"><sup>&plus;</sup>/<sub>&minus;</sub></div>
<div class="button grey row2" id="percent">%</div>
<div class="button orange row2" id="div">&#247;</div>
<div class="button dark-grey append-on-screen row3">7</div>
<div class="button dark-grey append-on-screen row3">8</div>
<div class="button dark-grey append-on-screen row3">9</div>
<div class="button orange row3" id="times">&times;</div>
<div class="button dark-grey append-on-screen row4">4</div>
<div class="button dark-grey append-on-screen row4">5</div>
<div class="button dark-grey append-on-screen row4">6</div>
<div class="button orange row4" id="minus">&minus;</div>
<div class="button dark-grey append-on-screen row5">1</div>
<div class="button dark-grey append-on-screen row5">2</div>
<div class="button dark-grey append-on-screen row5">3</div>
<div class="button dark-grey orange row5" id="plus">&plus;</div>
<div class="button dark-grey append-on-screen row6" id="zero">0</div>
<div class="button dark-grey row6" id="comma">.</div>
<div class="button orange row6" id="equal">=</div>
</div> <!-- end buttons -->
</div> <!-- end calculator -->
<!-- ============================= -->
<!-- All JavaScript comes now -->
<!-- ============================= -->
<script src="js/calculator.js"></script>
</body>
</html>
$(document).ready(function(){
var clearScreen = false, div = false, times = false, minus = false, plus = false
// Function for updating screen (show till 11 charachters)
function showInScreen(x, method){
if (method === "replace") {
$("#screen").text(x);
} else if (method === "append") {
$("#screen").append(x);
};
// style ouput number on screen
var newNumberLength = $("#screen").text().length;
if (newNumberLength > 8 && newNumberLength < 11) { // set smaller font in case shown characters are more than 8 (but less than 11)
$("#screen").css("font-size","50px");
} else if (newNumberLength >= 11) { // set number to scientific form in case the characters are more than 11
x = Number(x).toExponential();
$("#screen").text(x);
};
};
// Type numbers and comma on the screen and set proper size of AC button
$(".append-on-screen").click(function(){
if ($("#screen").text() === "0" || clearScreen) {
showInScreen($(this).text(), "replace");
$("#clear").text("C");
clearScreen = false;
} else {
showInScreen($(this).text(), "append");
};
});
// Reset the screen
$("#clear").click(function() {
showInScreen("0", "replace");
$("#clear").text("AC");
$("#screen").css("font-size","60px")
disableOrangeOperators("div");
disableOrangeOperators("times");
disableOrangeOperators("minus");
disableOrangeOperators("plus");
});
// Change sign operation
$("#change-sign").click(function(){
var screenText = $("#screen").text();
if (screenText[0] === "-") {
$("#screen").text(screenText.replace("-", ""));
} else {
$("#screen").prepend("-")
};
});
// Percent operator
$("#percent").click(function(){
var screenText = $("#screen").text(), percentNumber = (Number(screenText)/100)
decimalsBefore = decimalPlaces(screenText); // To avoid JS accuracy with more decimals, set precision to two decimals of input number
decimalsAfter = decimalsBefore + 2;
percentNumber = percentNumber.toFixed(decimalsAfter);
showInScreen(percentNumber.toString(), "replace");
});
function decimalPlaces(num) {
var match = (''+num).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
if (!match) { return 0; }
return Math.max(
0,
// Number of digits right of decimal point.
(match[1] ? match[1].length : 0)
// Adjust for scientific notation.
- (match[2] ? +match[2] : 0));
}
var firstOperator
// Comma
$("#comma").click(function(){
var screenText = $("#screen").text();
if (screenText.indexOf(".") == -1) {
showInScreen($(this).text(), "append")
};
});
// Division operator
$("#div").click(function(){
firstOperator = Number($("#screen").text());
div = true;
clearScreen = true;
$("#div").css({"background-color":"white", "color":"#FFA500"});
disableOrangeOperators("div");
});
// Multiplication operator
$("#times").click(function(){
firstOperator = Number($("#screen").text());
times = true;
clearScreen = true;
$("#times").css({"background-color":"white", "color":"#FFA500"});
disableOrangeOperators("times");
});
// Subtraction operator
$("#minus").click(function(){
firstOperator = Number($("#screen").text());
minus = true;
clearScreen = true;
$("#minus").css({"background-color":"white", "color":"#FFA500"});
disableOrangeOperators("minus");
});
// Addition operator
$("#plus").click(function(){
firstOperator = Number($("#screen").text());
plus = true;
clearScreen = true;
$("#plus").css({"background-color":"white", "color":"#FFA500"});
disableOrangeOperators("plus");
});
// Equal operator
$("#equal").click(function(){
var secondOperator = Number($("#screen").text());
if (div) {
showInScreen(firstOperator / secondOperator, "replace");
$("#div").css({"background-color":"#FFA500", "color":"white"});
div = false;
} else if (times) {
showInScreen(firstOperator * secondOperator, "replace");
$("#times").css({"background-color":"#FFA500", "color":"white"});
times = false;
} else if (minus) {
showInScreen(firstOperator - secondOperator, "replace");
$("#minus").css({"background-color":"#FFA500", "color":"white"});
minus = false;
} else if (plus) {
showInScreen(firstOperator + secondOperator, "replace");
$("#plus").css({"background-color":"#FFA500", "color":"white"});
plus = false;
};
});
// Disable previously activated operator (+,-,/,+) in case one was clicked and then another one is clicked,
// without the first one to be operated
function disableOrangeOperators(activeOperator) {
if (div && activeOperator !== "div") {
div = false;
$("#div").css({"background-color":"#FFA500", "color":"white"});
} else if (times && activeOperator !== "times") {
times = false;
$("#times").css({"background-color":"#FFA500", "color":"white"});
} else if (minus && activeOperator !== "minus") {
minus = false;
$("#minus").css({"background-color":"#FFA500", "color":"white"});
} else if (plus && activeOperator !== "plus") {
plus = false;
$("#plus").css({"background-color":"#FFA500", "color":"white"});
};
};
});
* { box-sizing: border-box; }
.calculator {
max-width: 320px;
height: 480px;
margin: auto;
border-radius: 3%;
}
.row1 {
/* height: 80px; */
text-align: right;
margin-right: 10px;
padding-bottom: 4px;
padding-top: 20px;
}
.buttons {
text-align: center;
}
.row2, .row3, .row4, .row5, .row6 {
display:inline-block;
width: 20%;
margin: 3px;
}
.button {
width: 67px;
height: 67px;
line-height: 67px;
text-align: center;
border-radius: 50%;
/*/ For not selecting the text in div */
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
/* -webkit-transition: all 2s ease-in-out;
-o-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out;
transition: all 2s ease-in-out; */
}
.button:hover {
cursor: pointer;
}
.button:active {
width: 69px;
height: 69px;
}
#zero {
width: 143px;
border-radius: 50px/50px;
text-align: left;
padding-left: 25px;
}
/**** Typography ****/
body {
font-family: "Open Sans", sans-serif;
}
.row1 {
font-size: 60px;
}
.button {
font-size: 23px;
font-weight: 100;}
.orange {
font-size: 30px;
}
/**** Background and Colors ****/
body {
background-color: #dddede;
}
.calculator {
background-color: #262626;
box-shadow: 1px 1px #a6a6a6;
}
.dark-grey {
background-color: #4c4c4c;
}
.dark-grey:active {
background-color: #b7b7b7;
}
.grey {
background-color: #b2b2b2;
}
.grey:active {
background-color: white;
}
.orange {
background-color: #FFA500;
}
.orange:active {
background-color: white;
color: #FFA500;
}
.row1, .button:not(.grey) {
color: white;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Elina Charalampous</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Google Fonts API -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Amatic+SC:400,700|Kalam|Raleway:light|Lato:light,bold,lightitalic">
<!-- Custom styles for this template go here -->
<link rel="stylesheet" href="css/styles.css">
<!-- Google CDN for jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="body-index body-nav" data-spy="scroll" data-target=".navbar-collapse" id="page-top">
<!--navbar starts here-->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- <div class="projectName navbar-brand"> -->
<a href="#page-top" class="navbar-left"><img src="img/logo_435666.png" alt="Elina Charalampous Logo" id="logo"></a>
<!-- </div> --> <!--end projectName -->
</div> <!-- end navbar-header -->
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right nav-color">
<li><a href="#about-section" >About</a></li>
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
Work <span class="caret"></span>
</a>
<ul class="dropdown-menu same-color">
<li><a href="#calculator">Calculator Project</a></li>
</ul>
</li>
<!-- <li><a href="#work">Work</a></li> -->
<li><a href="#faq-section" >FAQ</a></li>
<li><a href="#contact-section">Contact</a></li>
</ul>
</div> <!-- end navbar-collapse -->
</div> <!-- end container navbar -->
</nav> <!-- end navbar-->
<!-- Carousel starts here -->
<div class="container-fluid">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/carousel1.jpg" alt="laptop and coffee">
<!-- <div class="carousel-img-attribute">Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY</div> -->
<div class="carousel-caption">
<p>No matter where I am! Is my laptop with me? Ready for work!</p>
</div> <!-- end carousel-caption -->
</div> <!-- end item -->
<div class="item">
<img src="img/carousel2.jpg" alt="laptop and phone">
<!-- <div class="carousel-img-attribute">Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY</div> -->
<div class="carousel-caption">
<p> Working always with a hot cup of coffee ... </p>
</div> <!-- end carousel-caption -->
</div> <!-- end item -->
<div class="item">
<img src="img/carousel3.jpg" alt="laptop and chocolate">
<!-- <div class="carousel-img-attribute">Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY</div> -->
<div class="carousel-caption">
<p>... and a chocolate energy bite!</p>
</div> <!-- end for carousel-caption -->
</div> <!-- end item -->
</div> <!-- end carousel-inner -->
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div> <!-- end carousel-slide -->
</div> <!-- /container-fluid -->
<!-- Carousel ends here -->
<!-- Container Index starts here -->
<div class="container-fluid anchor container-index">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2>Portfolio Concept</h2>
<p>As a begginer in Web development I do not have much for my porfolio yet. I hope to fill it soon with intresting and appealing projects! Stay tuned!</p>
<p><a class="btn btn-default" href="#" role="button" data-toggle="tooltip" data-placement="right" title="Read more about my portfolio concept">View details &raquo;</a></p>
</div><!-- /col -->
<div class="col-md-4">
<h2>Project Goals</h2>
<p>I attend the WebDevelopment course of <a href="https://careerfoundry.com/en/home" target="_blank" data-toggle="tooltip" title="Get more information about CareerFoundry">CareerFoundry</a> and I am planning to follow a part-time schedule. As a mother and enjoying spending time with my kid, I plan to commit around 20 hours per week in this project. I hope to finish it within five months till the end of June, 2018, since August is my month off and the month of vacations. If not, I will have to extend the course for one or two more months. </p>
<p><a class="btn btn-default disabled" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
<div class="col-md-4">
<h2>Course Goals</h2>
<p>After finishing the course of WebDevelopment by CareerFoundry I hope to work as a freelancer. I love working from home and having flexible working hours. I like working on various projects, since this is a way to broaden my knowledge and of course to keep my interest always up! </p>
<p><a class="btn btn-default disabled" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
</div><!-- /row -->
<hr>
</div> <!-- /container -->
<!-- Container Index ends here -->
<!-- About Page -->
<div class="container anchor" id="about-section">
<div class="header text-center">
<h1>About me</h1>
</div> <!-- end header -->
<div class="row">
<div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-4 col-md-4 col-md-offset-0"><img src="img/me.png" alt="Elina" class="img-responsive" id="about-img-me"></div>
<div class="col-xs-12 col-sm-7 col-md-4 about-intro">
<h2>Introduction</h2>
<p>I am an upcoming web developer, who seeks challenging and innovative projects. <p>
</div>
<div class="col-xs-10 col-xs-offset-1 col-sm-5 col-sm-offset-0 col-md-4 about-skills">
<h3>My skills</h3>
<ul id="about-skill-list">
<li>Hard worker</li>
<li>Self motivated</li>
<li>Team work</li>
<li>Time-management</li>
<li>Creative</li>
<li>Innovative</li>
</ul>
</div>
</div> <!-- end row -->
<h3 class="about-main-text-header">More about me ...</h3>
<div class="row">
<div class="col-sm-10 about-main-text">
<!-- <h3>More about me ...</h3> -->
<p>I was always wanted to become a programmer.
Since high school I realized that programming is the way to make life easier
and more fun! After two masters in engineering I decided that web development
is what I was seeking for. I personally use web for everything in my daily life
and I am a demanding user on the products provided. I want to create products,
for which I would be a potentional user. My background as engineer helps me
having a clear and structured way of thinking and of course finding solutions
in challenging situations. <b>Innovative</b>, <b>user-friedly</b> and of course <b>reliable</b>
projects is my guarantee.</p>
</div> <!-- end main-text -->
<div class="col-sm-2 buttonCV">
<button class="btn btn-primary buttonCV-btn" data-toggle="modal" data-target="#modal-cv"><span class="buttonCV--mainText">CV</span><span class="buttonCV--hoverText">Check<br>out my<br>cv</span></button>
</div> <!-- end buttonCV -->
<!-- Modal -->
<div class="modal fade" id="modal-cv" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title text-center">Curriculum Vitae</h4>
</div> <!-- end modal-header -->
<div class="modal-body">
<embed id="cv-embed" src="docs/cv.pdf">
</div> <!-- end modal-body -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div> <!-- end modal-footer -->
</div> <!-- end modal-content -->
</div> <!-- end modal-dialog -->
</div> <!-- end modal -->
</div> <!-- end row -->
<hr>
</div><!-- end container -->
<!-- Work Page -->
<div class="container-fluid anchor" id="work-section">
<div class="header text-center">
<h1>Work</h1>
</div> <!-- end header -->
<div class="row work" id="work-row1">
<!-- <div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><a href="calculator.html"><img src="img/calculator.jpg" alt="projects" class="img-responsive" id="calculator"></a>
<div class="text-centered-on-image"><a href="calculator.html" id="calculator-text">Calculator</a></div></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div> -->
</div> <!-- end row -->
<div class="row work" id="work-row2">
<!-- <div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive" id="work2">
<div class="text-centered-on-image">Work 2</div></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div>
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image"><img src="img/projects.jpg" alt="projects" class="img-responsive"></div> -->
</div> <!-- end row -->
<hr>
</div> <!-- end container-->
<!-- FAQ Page -->
<div class="container anchor container-faq" id="faq-section">
<div class="header text-center">
<h1>FAQ</h1>
<p id="faq-explanation">Frequently Asked Questions<p>
</div> <!-- end header -->
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading" data-toggle="collapse" data-parent="#accordion" href="#collapse1">
<h4 class="panel-title">
<a>
Why web developer?
<span class="more-less glyphicon glyphicon-minus"></span>
</a>
</h4>
</div> <!-- end panel-heading -->
<div id="collapse1" class="panel-collapse collapse in">
<div class="panel-body">
Because you can answer with joy to the question: <i>What do you do for a living?</i>
<br>It is important to me to love my job! To come to a point, where I wander: <i>Really?? Is it possible to do what do you like and earn money from that?</i>
<br>Web development turned out to be my dream job. It is creative, challenging and you never get bored.
<br>Moreover, you can work the hours you like and cooperate with people all over the world. The location of your desk does not play any role any more.
<br>Finally, we have to admit it: internet has become now the answer to everything. So why to let it go?
</div> <!-- end panel-body -->
</div> <!-- end panel collapse -->
</div> <!-- end panel panel-default -->
<div class="panel panel-default">
<div class="panel-heading" data-toggle="collapse" data-parent="#accordion" href="#collapse2">
<h4 class="panel-title">
<a>
From where do you work?
<span class="more-less glyphicon glyphicon-plus"></span>
</a>
</h4>
</div> <!-- end panel-heading -->
<div id="collapse2" class="panel-collapse collapse">
<div class="panel-body">
My base is my home in Heraklion, in the sunny island of Crete in Greece! When I am not at home, I work wherever I am, as long as I have my laptop with me!
</div> <!-- end panel-body -->
</div> <!-- end panel collapse -->
</div> <!-- end panel panel-default -->
<div class="panel panel-default">
<div class="panel-heading" data-toggle="collapse" data-parent="#accordion" href="#collapse3">
<h4 class="panel-title">
<a>
Who are your clients?
<span class="more-less glyphicon glyphicon-plus"></span>
</a>
</h4>
</div> <!-- end panel-heading -->
<div id="collapse3" class="panel-collapse collapse">
<div class="panel-body">
Every creative and innovative idea is more than welcome!
</div> <!-- end panel-body -->
</div> <!-- end panel collapse -->
</div> <!-- end panel panel-default -->
<div class="panel panel-default">
<div class="panel-heading" data-toggle="collapse" data-parent="#accordion" href="#collapse4">
<h4 class="panel-title">
<a>
How much time do you need to finish a project?
<span class="more-less glyphicon glyphicon-plus"></span>
</a>
</h4>
</div> <!-- end panel-heading -->
<div id="collapse4" class="panel-collapse collapse">
<div class="panel-body">
Every project is a single case. There is not a fixed project turnaround. An estimated project turnaround is included in the project offer.
</div> <!-- end panel-body -->
</div> <!-- end panel collapse -->
</div> <!-- end panel panel-default -->
<div class="panel panel-default">
<div class="panel-heading" data-toggle="collapse" data-parent="#accordion" href="#collapse5">
<h4 class="panel-title">
<a>
I would like to create a website, what should I do?
<span class="more-less glyphicon glyphicon-plus"></span>
</a>
</h4>
</div> <!-- end panel-heading -->
<div id="collapse5" class="panel-collapse collapse">
<div class="panel-body">
I would be glad to help you make your dream website come true! Please do not hesitate to contact me through my <a href="#contact-section" id="collapse5-contact-href">contact</a> page. After contacting me, we will arrange a skype meeting or a telephone call, where you could explain me in detail your project idea and I will give you all the information you need.
</div> <!-- end panel-body -->
</div> <!-- end panel collapse -->
</div> <!-- end panel panel-default -->
</div> <!-- end panel-group -->
<div class="embed-responsive embed-responsive-16by9 youtube-video">
<!-- <iframe width="624" height="351" src="https://www.youtube.com/embed/1tBapgOmVPI" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
<iframe width="660" height="371" src="https://www.youtube.com/embed/VllseHmQzds" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div> <!-- end youtube-video -->
<hr>
</div> <!-- end container-faq -->
<!-- Contact Page -->
<div class="container-fluid anchor container-contact" id="contact-section" data-stellar-background-ratio="0.3">
<div class="header text-center">
<h1>Get in touch</h1>
</div> <!-- end header -->
<div class="row">
<div class="col-xs-12 col-sm-4 info-contact">
<p style="font-size:1.1em"> If you are interested in working together or if you have any queries please feel free to contact me. <br>I would be glad to hear from you!</p>
<br>
<adress>
<h2 class="typo-kalam">Elina Charalampous</h2>
<p><span class="glyphicon glyphicon-map-marker"></span><adress>Sourgiadaki 8-10, 71306 Heraklion, Crete, Greece</p>
<p><span class="glyphicon glyphicon-phone"></span> +30 694 8510515</p>
<p><span class="glyphicon glyphicon-envelope"></span> <a href="mailto:elinachar@gmail.com">elinachar@gmail.com</a></p>
</adress>
</div> <!-- end info -->
<form class="col-xs-12 col-sm-8" action="https://formspree.io/elinachar@gmail.com"
method="POST">
<div class="row">
<div class="col-sm-6">
<div class="form-group hidden-after-submit">
<label for="form-name" title="This field is required" id="form-name-label">Your Name *</label>
<input type="text" placeholder="Enter your name here" required="required" id="form-name" class="form-control" name="name">
</div> <!-- end form-group -->
</div> <!-- end name -->
<div class="col-sm-6">
<div class="form-group hidden-after-submit">
<label for="form-phone">Your Phone Number </label>
<input type="tel" pattern="^[0-9\-\+\s\(\)]*$" title="Only numbers [0-9] and the following symbols are allowed: - + &blank; ( )." placeholder="Your phone number" id="form-phone" class="form-control" name="phone">
</div> <!-- end form-group -->
</div> <!-- end phone -->
</div> <!-- end row -->
<div class="form-group hidden-after-submit">
<label for="form-email" title="This field is required" id="form-email-label">Your e-mail address *</label>
<input type="email" placeholder="Enter your e-mail here" required="required" id="form-email" class="form-control" name="form-email" >
</div> <!-- end form-group -->
<div class="form-group">
<label class="hidden-after-submit" for="form-message" title="This field is required" id="message-box-label">Your message to me *<span id="message-box-error-label" style="align:left"><span></label>
<textarea class="message-box form-control hidden-after-submit" placeholder="Type your message here" required="required" style="resize:none" cols="40" rows="5" id="form-message" name="message"></textarea>
<p id="char-count" class="hidden-after-submit"></p>
<p id="visible-comment"></p>
</div> <!-- end form-group -->
<div class="form-group">
<label for="form-submit-button" class="sr-only">Submit Button</label>
<button type="submit" class="btn btn-default hidden-after-submit" id="form-submit-button">Submit</button>
</div> <!-- end form-group -->
</form>
</div> <!-- end row -->
<div class="row">
<div class="col-sm-12 col-md-12 img-contact">
<div id="map"></div>
<!-- <iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=place_id:EiVTb3VyZ2lhZGFraSA4LCBJcmFrbGlvIDcxMyAwNiwgSGVsbGFz&key=AIzaSyABuc0p7pOYWvdMngNpJgyreKh5mQyjpnc" allowfullscreen></iframe> -->
<!-- <img src="img/location_map.jpg" alt="location" class="img-responsive" id="img-map"> -->
</div> <!-- end img-contact -->
</div> <!-- end row -->
</div> <!-- end container-contact-->
<footer>
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-9 copyright"><span>&copy; Elina Charalampous 2018</span></div>
<div class="col-xs-6 col-sm-3 social-media">
<a href="https://www.linkedin.com/in/elina-charalampous-4263b915b/" target="_blank">
<svg class="svg-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" viewBox="0 0 512 512">
<g>
</g>
<path d="M29.675 177.275l92.784-1.157v303.831l-92.784 1.178v-303.851z
M200.141 177.275l88.658-1.126v38.646l0.021 10.947c26.255-25.744 53.32-45.2 96.563-45.2 51.016 0 100.362 21.381 100.362 91.034v208.435l-90 1.341v-159.232c0-35.103-8.796-57.733-50.719-57.733-36.935 0-52.398 6.615-52.398 55.214v160.399l-92.478 1.116v-303.841z
M127.836 81.449c0 28.051-22.74 50.79-50.79 50.79s-50.791-22.739-50.791-50.791c0-28.051 22.739-50.791 50.791-50.791 28.051 0 50.791 22.739 50.791 50.791z" fill="#000000"
</svg>
</a>
<a href="https://gist.github.com/elinachar/7c605dd880ed086aa5f85400bd60e717" target="_blank">
<svg class="svg-icon" width="256px" height="250px" viewBox="0 0 256 250" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
<g>
<path d="M128.00106,0 C57.3172926,0 0,57.3066942 0,128.00106 C0,184.555281 36.6761997,232.535542 87.534937,249.460899 C93.9320223,250.645779 96.280588,246.684165 96.280588,243.303333 C96.280588,240.251045 96.1618878,230.167899 96.106777,219.472176 C60.4967585,227.215235 52.9826207,204.369712 52.9826207,204.369712 C47.1599584,189.574598 38.770408,185.640538 38.770408,185.640538 C27.1568785,177.696113 39.6458206,177.859325 39.6458206,177.859325 C52.4993419,178.762293 59.267365,191.04987 59.267365,191.04987 C70.6837675,210.618423 89.2115753,204.961093 96.5158685,201.690482 C97.6647155,193.417512 100.981959,187.77078 104.642583,184.574357 C76.211799,181.33766 46.324819,170.362144 46.324819,121.315702 C46.324819,107.340889 51.3250588,95.9223682 59.5132437,86.9583937 C58.1842268,83.7344152 53.8029229,70.715562 60.7532354,53.0843636 C60.7532354,53.0843636 71.5019501,49.6441813 95.9626412,66.2049595 C106.172967,63.368876 117.123047,61.9465949 128.00106,61.8978432 C138.879073,61.9465949 149.837632,63.368876 160.067033,66.2049595 C184.49805,49.6441813 195.231926,53.0843636 195.231926,53.0843636 C202.199197,70.715562 197.815773,83.7344152 196.486756,86.9583937 C204.694018,95.9223682 209.660343,107.340889 209.660343,121.315702 C209.660343,170.478725 179.716133,181.303747 151.213281,184.472614 C155.80443,188.444828 159.895342,196.234518 159.895342,208.176593 C159.895342,225.303317 159.746968,239.087361 159.746968,243.303333 C159.746968,246.709601 162.05102,250.70089 168.53925,249.443941 C219.370432,232.499507 256,184.536204 256,128.00106 C256,57.3066942 198.691187,0 128.00106,0 Z M47.9405593,182.340212 C47.6586465,182.976105 46.6581745,183.166873 45.7467277,182.730227 C44.8183235,182.312656 44.2968914,181.445722 44.5978808,180.80771 C44.8734344,180.152739 45.876026,179.97045 46.8023103,180.409216 C47.7328342,180.826786 48.2627451,181.702199 47.9405593,182.340212 Z M54.2367892,187.958254 C53.6263318,188.524199 52.4329723,188.261363 51.6232682,187.366874 C50.7860088,186.474504 50.6291553,185.281144 51.2480912,184.70672 C51.8776254,184.140775 53.0349512,184.405731 53.8743302,185.298101 C54.7115892,186.201069 54.8748019,187.38595 54.2367892,187.958254 Z M58.5562413,195.146347 C57.7719732,195.691096 56.4895886,195.180261 55.6968417,194.042013 C54.9125733,192.903764 54.9125733,191.538713 55.713799,190.991845 C56.5086651,190.444977 57.7719732,190.936735 58.5753181,192.066505 C59.3574669,193.22383 59.3574669,194.58888 58.5562413,195.146347 Z M65.8613592,203.471174 C65.1597571,204.244846 63.6654083,204.03712 62.5716717,202.981538 C61.4524999,201.94927 61.1409122,200.484596 61.8446341,199.710926 C62.5547146,198.935137 64.0575422,199.15346 65.1597571,200.200564 C66.2704506,201.230712 66.6095936,202.705984 65.8613592,203.471174 Z M75.3025151,206.281542 C74.9930474,207.284134 73.553809,207.739857 72.1039724,207.313809 C70.6562556,206.875043 69.7087748,205.700761 70.0012857,204.687571 C70.302275,203.678621 71.7478721,203.20382 73.2083069,203.659543 C74.6539041,204.09619 75.6035048,205.261994 75.3025151,206.281542 Z M86.046947,207.473627 C86.0829806,208.529209 84.8535871,209.404622 83.3316829,209.4237 C81.8013,209.457614 80.563428,208.603398 80.5464708,207.564772 C80.5464708,206.498591 81.7483088,205.631657 83.2786917,205.606221 C84.8005962,205.576546 86.046947,206.424403 86.046947,207.473627 Z M96.6021471,207.069023 C96.7844366,208.099171 95.7267341,209.156872 94.215428,209.438785 C92.7295577,209.710099 91.3539086,209.074206 91.1652603,208.052538 C90.9808515,206.996955 92.0576306,205.939253 93.5413813,205.66582 C95.054807,205.402984 96.4092596,206.021919 96.6021471,207.069023 Z" fill="#161614"></path>
</g>
</svg>
</a>
<a href="https://gr.pinterest.com/elinachar/" target="_blank" id="pinterest">
<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M9.797,2.214C9.466,2.256,9.134,2.297,8.802,2.338C8.178,2.493,7.498,2.64,6.993,2.935C5.646,3.723,4.712,4.643,4.087,6.139C3.985,6.381,3.982,6.615,3.909,6.884c-0.48,1.744,0.37,3.548,1.402,4.173c0.198,0.119,0.649,0.332,0.815,0.049c0.092-0.156,0.071-0.364,0.128-0.546c0.037-0.12,0.154-0.347,0.127-0.496c-0.046-0.255-0.319-0.416-0.434-0.62C5.715,9.027,5.703,8.658,5.59,8.101c0.009-0.075,0.017-0.149,0.026-0.224C5.65,7.254,5.755,6.805,5.948,6.362c0.564-1.301,1.47-2.025,2.931-2.458c0.327-0.097,1.25-0.252,1.734-0.149c0.289,0.05,0.577,0.099,0.866,0.149c1.048,0.33,1.811,0.938,2.218,1.888c0.256,0.591,0.33,1.725,0.154,2.483c-0.085,0.36-0.072,0.667-0.179,0.993c-0.397,1.206-0.979,2.323-2.295,2.633c-0.868,0.205-1.519-0.324-1.733-0.869c-0.06-0.151-0.161-0.418-0.101-0.671c0.229-0.978,0.56-1.854,0.815-2.831c0.243-0.931-0.218-1.665-0.943-1.837C8.513,5.478,7.816,6.312,7.579,6.858C7.39,7.292,7.276,8.093,7.426,8.672c0.047,0.183,0.269,0.674,0.23,0.844c-0.174,0.755-0.372,1.568-0.587,2.31c-0.223,0.771-0.344,1.562-0.56,2.311c-0.1,0.342-0.096,0.709-0.179,1.066v0.521c-0.075,0.33-0.019,0.916,0.051,1.242c0.045,0.209-0.027,0.467,0.076,0.621c0.002,0.111,0.017,0.135,0.052,0.199c0.319-0.01,0.758-0.848,0.917-1.094c0.304-0.467,0.584-0.967,0.816-1.514c0.208-0.494,0.241-1.039,0.408-1.566c0.12-0.379,0.292-0.824,0.331-1.24h0.025c0.066,0.229,0.306,0.395,0.485,0.52c0.56,0.4,1.525,0.77,2.573,0.523c1.188-0.281,2.133-0.838,2.755-1.664c0.457-0.609,0.804-1.313,1.07-2.112c0.131-0.392,0.158-0.826,0.256-1.241c0.241-1.043-0.082-2.298-0.384-2.981C14.847,3.35,12.902,2.17,9.797,2.214">
</path>
</svg>
</a>
</div> <!-- end social-media -->
</div> <!-- end row -->
</div> <!-- end container-fluid -->
</footer>
<!-- ============================= -->
<!-- All your JavaScript comes now -->
<!-- ============================= -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!-- Bootstrap core JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- jQuery Parallax Effect -->
<script src="js/jquery.stellar.js"></script> <!-- Can place script tags with JavaScript files here -->
<script src="js/work.js"></script>
<script src="js/scripts.js"></script>
<!-- Google Maps API key -->
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyABuc0p7pOYWvdMngNpJgyreKh5mQyjpnc&callback=initMap">
</script>
</body>
</html>
/*!
* Stellar.js v0.6.2
* http://markdalgleish.com/projects/stellar.js
*
* Copyright 2014, Mark Dalgleish
* This content is released under the MIT license
* http://markdalgleish.mit-license.org
*/
;(function($, window, document, undefined) {
var pluginName = 'stellar',
defaults = {
scrollProperty: 'scroll',
positionProperty: 'position',
horizontalScrolling: true,
verticalScrolling: true,
horizontalOffset: 0,
verticalOffset: 0,
responsive: false,
parallaxBackgrounds: true,
parallaxElements: true,
hideDistantElements: true,
hideElement: function($elem) { $elem.hide(); },
showElement: function($elem) { $elem.show(); }
},
scrollProperty = {
scroll: {
getLeft: function($elem) { return $elem.scrollLeft(); },
setLeft: function($elem, val) { $elem.scrollLeft(val); },
getTop: function($elem) { return $elem.scrollTop(); },
setTop: function($elem, val) { $elem.scrollTop(val); }
},
position: {
getLeft: function($elem) { return parseInt($elem.css('left'), 10) * -1; },
getTop: function($elem) { return parseInt($elem.css('top'), 10) * -1; }
},
margin: {
getLeft: function($elem) { return parseInt($elem.css('margin-left'), 10) * -1; },
getTop: function($elem) { return parseInt($elem.css('margin-top'), 10) * -1; }
},
transform: {
getLeft: function($elem) {
var computedTransform = getComputedStyle($elem[0])[prefixedTransform];
return (computedTransform !== 'none' ? parseInt(computedTransform.match(/(-?[0-9]+)/g)[4], 10) * -1 : 0);
},
getTop: function($elem) {
var computedTransform = getComputedStyle($elem[0])[prefixedTransform];
return (computedTransform !== 'none' ? parseInt(computedTransform.match(/(-?[0-9]+)/g)[5], 10) * -1 : 0);
}
}
},
positionProperty = {
position: {
setLeft: function($elem, left) { $elem.css('left', left); },
setTop: function($elem, top) { $elem.css('top', top); }
},
transform: {
setPosition: function($elem, left, startingLeft, top, startingTop) {
$elem[0].style[prefixedTransform] = 'translate3d(' + (left - startingLeft) + 'px, ' + (top - startingTop) + 'px, 0)';
}
}
},
// Returns a function which adds a vendor prefix to any CSS property name
vendorPrefix = (function() {
var prefixes = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,
style = $('script')[0].style,
prefix = '',
prop;
for (prop in style) {
if (prefixes.test(prop)) {
prefix = prop.match(prefixes)[0];
break;
}
}
if ('WebkitOpacity' in style) { prefix = 'Webkit'; }
if ('KhtmlOpacity' in style) { prefix = 'Khtml'; }
return function(property) {
return prefix + (prefix.length > 0 ? property.charAt(0).toUpperCase() + property.slice(1) : property);
};
}()),
prefixedTransform = vendorPrefix('transform'),
supportsBackgroundPositionXY = $('<div />', { style: 'background:#fff' }).css('background-position-x') !== undefined,
setBackgroundPosition = (supportsBackgroundPositionXY ?
function($elem, x, y) {
$elem.css({
'background-position-x': x,
'background-position-y': y
});
} :
function($elem, x, y) {
$elem.css('background-position', x + ' ' + y);
}
),
getBackgroundPosition = (supportsBackgroundPositionXY ?
function($elem) {
return [
$elem.css('background-position-x'),
$elem.css('background-position-y')
];
} :
function($elem) {
return $elem.css('background-position').split(' ');
}
),
requestAnimFrame = (
window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function(callback) {
setTimeout(callback, 1000 / 60);
}
);
function Plugin(element, options) {
this.element = element;
this.options = $.extend({}, defaults, options);
this._defaults = defaults;
this._name = pluginName;
this.init();
}
Plugin.prototype = {
init: function() {
this.options.name = pluginName + '_' + Math.floor(Math.random() * 1e9);
this._defineElements();
this._defineGetters();
this._defineSetters();
this._handleWindowLoadAndResize();
this._detectViewport();
this.refresh({ firstLoad: true });
if (this.options.scrollProperty === 'scroll') {
this._handleScrollEvent();
} else {
this._startAnimationLoop();
}
},
_defineElements: function() {
if (this.element === document.body) this.element = window;
this.$scrollElement = $(this.element);
this.$element = (this.element === window ? $('body') : this.$scrollElement);
this.$viewportElement = (this.options.viewportElement !== undefined ? $(this.options.viewportElement) : (this.$scrollElement[0] === window || this.options.scrollProperty === 'scroll' ? this.$scrollElement : this.$scrollElement.parent()) );
},
_defineGetters: function() {
var self = this,
scrollPropertyAdapter = scrollProperty[self.options.scrollProperty];
this._getScrollLeft = function() {
return scrollPropertyAdapter.getLeft(self.$scrollElement);
};
this._getScrollTop = function() {
return scrollPropertyAdapter.getTop(self.$scrollElement);
};
},
_defineSetters: function() {
var self = this,
scrollPropertyAdapter = scrollProperty[self.options.scrollProperty],
positionPropertyAdapter = positionProperty[self.options.positionProperty],
setScrollLeft = scrollPropertyAdapter.setLeft,
setScrollTop = scrollPropertyAdapter.setTop;
this._setScrollLeft = (typeof setScrollLeft === 'function' ? function(val) {
setScrollLeft(self.$scrollElement, val);
} : $.noop);
this._setScrollTop = (typeof setScrollTop === 'function' ? function(val) {
setScrollTop(self.$scrollElement, val);
} : $.noop);
this._setPosition = positionPropertyAdapter.setPosition ||
function($elem, left, startingLeft, top, startingTop) {
if (self.options.horizontalScrolling) {
positionPropertyAdapter.setLeft($elem, left, startingLeft);
}
if (self.options.verticalScrolling) {
positionPropertyAdapter.setTop($elem, top, startingTop);
}
};
},
_handleWindowLoadAndResize: function() {
var self = this,
$window = $(window);
if (self.options.responsive) {
$window.bind('load.' + this.name, function() {
self.refresh();
});
}
$window.bind('resize.' + this.name, function() {
self._detectViewport();
if (self.options.responsive) {
self.refresh();
}
});
},
refresh: function(options) {
var self = this,
oldLeft = self._getScrollLeft(),
oldTop = self._getScrollTop();
if (!options || !options.firstLoad) {
this._reset();
}
this._setScrollLeft(0);
this._setScrollTop(0);
this._setOffsets();
this._findParticles();
this._findBackgrounds();
// Fix for WebKit background rendering bug
if (options && options.firstLoad && /WebKit/.test(navigator.userAgent)) {
$(window).load(function() {
var oldLeft = self._getScrollLeft(),
oldTop = self._getScrollTop();
self._setScrollLeft(oldLeft + 1);
self._setScrollTop(oldTop + 1);
self._setScrollLeft(oldLeft);
self._setScrollTop(oldTop);
});
}
this._setScrollLeft(oldLeft);
this._setScrollTop(oldTop);
},
_detectViewport: function() {
var viewportOffsets = this.$viewportElement.offset(),
hasOffsets = viewportOffsets !== null && viewportOffsets !== undefined;
this.viewportWidth = this.$viewportElement.width();
this.viewportHeight = this.$viewportElement.height();
this.viewportOffsetTop = (hasOffsets ? viewportOffsets.top : 0);
this.viewportOffsetLeft = (hasOffsets ? viewportOffsets.left : 0);
},
_findParticles: function() {
var self = this,
scrollLeft = this._getScrollLeft(),
scrollTop = this._getScrollTop();
if (this.particles !== undefined) {
for (var i = this.particles.length - 1; i >= 0; i--) {
this.particles[i].$element.data('stellar-elementIsActive', undefined);
}
}
this.particles = [];
if (!this.options.parallaxElements) return;
this.$element.find('[data-stellar-ratio]').each(function(i) {
var $this = $(this),
horizontalOffset,
verticalOffset,
positionLeft,
positionTop,
marginLeft,
marginTop,
$offsetParent,
offsetLeft,
offsetTop,
parentOffsetLeft = 0,
parentOffsetTop = 0,
tempParentOffsetLeft = 0,
tempParentOffsetTop = 0;
// Ensure this element isn't already part of another scrolling element
if (!$this.data('stellar-elementIsActive')) {
$this.data('stellar-elementIsActive', this);
} else if ($this.data('stellar-elementIsActive') !== this) {
return;
}
self.options.showElement($this);
// Save/restore the original top and left CSS values in case we refresh the particles or destroy the instance
if (!$this.data('stellar-startingLeft')) {
$this.data('stellar-startingLeft', $this.css('left'));
$this.data('stellar-startingTop', $this.css('top'));
} else {
$this.css('left', $this.data('stellar-startingLeft'));
$this.css('top', $this.data('stellar-startingTop'));
}
positionLeft = $this.position().left;
positionTop = $this.position().top;
// Catch-all for margin top/left properties (these evaluate to 'auto' in IE7 and IE8)
marginLeft = ($this.css('margin-left') === 'auto') ? 0 : parseInt($this.css('margin-left'), 10);
marginTop = ($this.css('margin-top') === 'auto') ? 0 : parseInt($this.css('margin-top'), 10);
offsetLeft = $this.offset().left - marginLeft;
offsetTop = $this.offset().top - marginTop;
// Calculate the offset parent
$this.parents().each(function() {
var $this = $(this);
if ($this.data('stellar-offset-parent') === true) {
parentOffsetLeft = tempParentOffsetLeft;
parentOffsetTop = tempParentOffsetTop;
$offsetParent = $this;
return false;
} else {
tempParentOffsetLeft += $this.position().left;
tempParentOffsetTop += $this.position().top;
}
});
// Detect the offsets
horizontalOffset = ($this.data('stellar-horizontal-offset') !== undefined ? $this.data('stellar-horizontal-offset') : ($offsetParent !== undefined && $offsetParent.data('stellar-horizontal-offset') !== undefined ? $offsetParent.data('stellar-horizontal-offset') : self.horizontalOffset));
verticalOffset = ($this.data('stellar-vertical-offset') !== undefined ? $this.data('stellar-vertical-offset') : ($offsetParent !== undefined && $offsetParent.data('stellar-vertical-offset') !== undefined ? $offsetParent.data('stellar-vertical-offset') : self.verticalOffset));
// Add our object to the particles collection
self.particles.push({
$element: $this,
$offsetParent: $offsetParent,
isFixed: $this.css('position') === 'fixed',
horizontalOffset: horizontalOffset,
verticalOffset: verticalOffset,
startingPositionLeft: positionLeft,
startingPositionTop: positionTop,
startingOffsetLeft: offsetLeft,
startingOffsetTop: offsetTop,
parentOffsetLeft: parentOffsetLeft,
parentOffsetTop: parentOffsetTop,
stellarRatio: ($this.data('stellar-ratio') !== undefined ? $this.data('stellar-ratio') : 1),
width: $this.outerWidth(true),
height: $this.outerHeight(true),
isHidden: false
});
});
},
_findBackgrounds: function() {
var self = this,
scrollLeft = this._getScrollLeft(),
scrollTop = this._getScrollTop(),
$backgroundElements;
this.backgrounds = [];
if (!this.options.parallaxBackgrounds) return;
$backgroundElements = this.$element.find('[data-stellar-background-ratio]');
if (this.$element.data('stellar-background-ratio')) {
$backgroundElements = $backgroundElements.add(this.$element);
}
$backgroundElements.each(function() {
var $this = $(this),
backgroundPosition = getBackgroundPosition($this),
horizontalOffset,
verticalOffset,
positionLeft,
positionTop,
marginLeft,
marginTop,
offsetLeft,
offsetTop,
$offsetParent,
parentOffsetLeft = 0,
parentOffsetTop = 0,
tempParentOffsetLeft = 0,
tempParentOffsetTop = 0;
// Ensure this element isn't already part of another scrolling element
if (!$this.data('stellar-backgroundIsActive')) {
$this.data('stellar-backgroundIsActive', this);
} else if ($this.data('stellar-backgroundIsActive') !== this) {
return;
}
// Save/restore the original top and left CSS values in case we destroy the instance
if (!$this.data('stellar-backgroundStartingLeft')) {
$this.data('stellar-backgroundStartingLeft', backgroundPosition[0]);
$this.data('stellar-backgroundStartingTop', backgroundPosition[1]);
} else {
setBackgroundPosition($this, $this.data('stellar-backgroundStartingLeft'), $this.data('stellar-backgroundStartingTop'));
}
// Catch-all for margin top/left properties (these evaluate to 'auto' in IE7 and IE8)
marginLeft = ($this.css('margin-left') === 'auto') ? 0 : parseInt($this.css('margin-left'), 10);
marginTop = ($this.css('margin-top') === 'auto') ? 0 : parseInt($this.css('margin-top'), 10);
offsetLeft = $this.offset().left - marginLeft - scrollLeft;
offsetTop = $this.offset().top - marginTop - scrollTop;
// Calculate the offset parent
$this.parents().each(function() {
var $this = $(this);
if ($this.data('stellar-offset-parent') === true) {
parentOffsetLeft = tempParentOffsetLeft;
parentOffsetTop = tempParentOffsetTop;
$offsetParent = $this;
return false;
} else {
tempParentOffsetLeft += $this.position().left;
tempParentOffsetTop += $this.position().top;
}
});
// Detect the offsets
horizontalOffset = ($this.data('stellar-horizontal-offset') !== undefined ? $this.data('stellar-horizontal-offset') : ($offsetParent !== undefined && $offsetParent.data('stellar-horizontal-offset') !== undefined ? $offsetParent.data('stellar-horizontal-offset') : self.horizontalOffset));
verticalOffset = ($this.data('stellar-vertical-offset') !== undefined ? $this.data('stellar-vertical-offset') : ($offsetParent !== undefined && $offsetParent.data('stellar-vertical-offset') !== undefined ? $offsetParent.data('stellar-vertical-offset') : self.verticalOffset));
self.backgrounds.push({
$element: $this,
$offsetParent: $offsetParent,
isFixed: $this.css('background-attachment') === 'fixed',
horizontalOffset: horizontalOffset,
verticalOffset: verticalOffset,
startingValueLeft: backgroundPosition[0],
startingValueTop: backgroundPosition[1],
startingBackgroundPositionLeft: (isNaN(parseInt(backgroundPosition[0], 10)) ? 0 : parseInt(backgroundPosition[0], 10)),
startingBackgroundPositionTop: (isNaN(parseInt(backgroundPosition[1], 10)) ? 0 : parseInt(backgroundPosition[1], 10)),
startingPositionLeft: $this.position().left,
startingPositionTop: $this.position().top,
startingOffsetLeft: offsetLeft,
startingOffsetTop: offsetTop,
parentOffsetLeft: parentOffsetLeft,
parentOffsetTop: parentOffsetTop,
stellarRatio: ($this.data('stellar-background-ratio') === undefined ? 1 : $this.data('stellar-background-ratio'))
});
});
},
_reset: function() {
var particle,
startingPositionLeft,
startingPositionTop,
background,
i;
for (i = this.particles.length - 1; i >= 0; i--) {
particle = this.particles[i];
startingPositionLeft = particle.$element.data('stellar-startingLeft');
startingPositionTop = particle.$element.data('stellar-startingTop');
this._setPosition(particle.$element, startingPositionLeft, startingPositionLeft, startingPositionTop, startingPositionTop);
this.options.showElement(particle.$element);
particle.$element.data('stellar-startingLeft', null).data('stellar-elementIsActive', null).data('stellar-backgroundIsActive', null);
}
for (i = this.backgrounds.length - 1; i >= 0; i--) {
background = this.backgrounds[i];
background.$element.data('stellar-backgroundStartingLeft', null).data('stellar-backgroundStartingTop', null);
setBackgroundPosition(background.$element, background.startingValueLeft, background.startingValueTop);
}
},
destroy: function() {
this._reset();
this.$scrollElement.unbind('resize.' + this.name).unbind('scroll.' + this.name);
this._animationLoop = $.noop;
$(window).unbind('load.' + this.name).unbind('resize.' + this.name);
},
_setOffsets: function() {
var self = this,
$window = $(window);
$window.unbind('resize.horizontal-' + this.name).unbind('resize.vertical-' + this.name);
if (typeof this.options.horizontalOffset === 'function') {
this.horizontalOffset = this.options.horizontalOffset();
$window.bind('resize.horizontal-' + this.name, function() {
self.horizontalOffset = self.options.horizontalOffset();
});
} else {
this.horizontalOffset = this.options.horizontalOffset;
}
if (typeof this.options.verticalOffset === 'function') {
this.verticalOffset = this.options.verticalOffset();
$window.bind('resize.vertical-' + this.name, function() {
self.verticalOffset = self.options.verticalOffset();
});
} else {
this.verticalOffset = this.options.verticalOffset;
}
},
_repositionElements: function() {
var scrollLeft = this._getScrollLeft(),
scrollTop = this._getScrollTop(),
horizontalOffset,
verticalOffset,
particle,
fixedRatioOffset,
background,
bgLeft,
bgTop,
isVisibleVertical = true,
isVisibleHorizontal = true,
newPositionLeft,
newPositionTop,
newOffsetLeft,
newOffsetTop,
i;
// First check that the scroll position or container size has changed
if (this.currentScrollLeft === scrollLeft && this.currentScrollTop === scrollTop && this.currentWidth === this.viewportWidth && this.currentHeight === this.viewportHeight) {
return;
} else {
this.currentScrollLeft = scrollLeft;
this.currentScrollTop = scrollTop;
this.currentWidth = this.viewportWidth;
this.currentHeight = this.viewportHeight;
}
// Reposition elements
for (i = this.particles.length - 1; i >= 0; i--) {
particle = this.particles[i];
fixedRatioOffset = (particle.isFixed ? 1 : 0);
// Calculate position, then calculate what the particle's new offset will be (for visibility check)
if (this.options.horizontalScrolling) {
newPositionLeft = (scrollLeft + particle.horizontalOffset + this.viewportOffsetLeft + particle.startingPositionLeft - particle.startingOffsetLeft + particle.parentOffsetLeft) * -(particle.stellarRatio + fixedRatioOffset - 1) + particle.startingPositionLeft;
newOffsetLeft = newPositionLeft - particle.startingPositionLeft + particle.startingOffsetLeft;
} else {
newPositionLeft = particle.startingPositionLeft;
newOffsetLeft = particle.startingOffsetLeft;
}
if (this.options.verticalScrolling) {
newPositionTop = (scrollTop + particle.verticalOffset + this.viewportOffsetTop + particle.startingPositionTop - particle.startingOffsetTop + particle.parentOffsetTop) * -(particle.stellarRatio + fixedRatioOffset - 1) + particle.startingPositionTop;
newOffsetTop = newPositionTop - particle.startingPositionTop + particle.startingOffsetTop;
} else {
newPositionTop = particle.startingPositionTop;
newOffsetTop = particle.startingOffsetTop;
}
// Check visibility
if (this.options.hideDistantElements) {
isVisibleHorizontal = !this.options.horizontalScrolling || newOffsetLeft + particle.width > (particle.isFixed ? 0 : scrollLeft) && newOffsetLeft < (particle.isFixed ? 0 : scrollLeft) + this.viewportWidth + this.viewportOffsetLeft;
isVisibleVertical = !this.options.verticalScrolling || newOffsetTop + particle.height > (particle.isFixed ? 0 : scrollTop) && newOffsetTop < (particle.isFixed ? 0 : scrollTop) + this.viewportHeight + this.viewportOffsetTop;
}
if (isVisibleHorizontal && isVisibleVertical) {
if (particle.isHidden) {
this.options.showElement(particle.$element);
particle.isHidden = false;
}
this._setPosition(particle.$element, newPositionLeft, particle.startingPositionLeft, newPositionTop, particle.startingPositionTop);
} else {
if (!particle.isHidden) {
this.options.hideElement(particle.$element);
particle.isHidden = true;
}
}
}
// Reposition backgrounds
for (i = this.backgrounds.length - 1; i >= 0; i--) {
background = this.backgrounds[i];
fixedRatioOffset = (background.isFixed ? 0 : 1);
bgLeft = (this.options.horizontalScrolling ? (scrollLeft + background.horizontalOffset - this.viewportOffsetLeft - background.startingOffsetLeft + background.parentOffsetLeft - background.startingBackgroundPositionLeft) * (fixedRatioOffset - background.stellarRatio) + 'px' : background.startingValueLeft);
bgTop = (this.options.verticalScrolling ? (scrollTop + background.verticalOffset - this.viewportOffsetTop - background.startingOffsetTop + background.parentOffsetTop - background.startingBackgroundPositionTop) * (fixedRatioOffset - background.stellarRatio) + 'px' : background.startingValueTop);
setBackgroundPosition(background.$element, bgLeft, bgTop);
}
},
_handleScrollEvent: function() {
var self = this,
ticking = false;
var update = function() {
self._repositionElements();
ticking = false;
};
var requestTick = function() {
if (!ticking) {
requestAnimFrame(update);
ticking = true;
}
};
this.$scrollElement.bind('scroll.' + this.name, requestTick);
requestTick();
},
_startAnimationLoop: function() {
var self = this;
this._animationLoop = function() {
requestAnimFrame(self._animationLoop);
self._repositionElements();
};
this._animationLoop();
}
};
$.fn[pluginName] = function (options) {
var args = arguments;
if (options === undefined || typeof options === 'object') {
return this.each(function () {
if (!$.data(this, 'plugin_' + pluginName)) {
$.data(this, 'plugin_' + pluginName, new Plugin(this, options));
}
});
} else if (typeof options === 'string' && options[0] !== '_' && options !== 'init') {
return this.each(function () {
var instance = $.data(this, 'plugin_' + pluginName);
if (instance instanceof Plugin && typeof instance[options] === 'function') {
instance[options].apply(instance, Array.prototype.slice.call(args, 1));
}
if (options === 'destroy') {
$.data(this, 'plugin_' + pluginName, null);
}
});
}
};
$[pluginName] = function(options) {
var $window = $(window);
return $window.stellar.apply($window, Array.prototype.slice.call(arguments, 0));
};
// Expose the scroll and position property function hashes so they can be extended
$[pluginName].scrollProperty = scrollProperty;
$[pluginName].positionProperty = positionProperty;
// Expose the plugin class so it can be modified
window.Stellar = Plugin;
}(jQuery, this, document));
$(document).ready(function(){
// For smooth scrolling of the single-page
var $root = $('html, body');
$('.navbar-nav a, .navbar-left').click(function() {
var href = $.attr(this, 'href');
if (href != undefined && href != '#') {
$root.animate({
scrollTop: $(href).offset().top
}, 500, function () {
window.location.hash = href;
});
}
return false;
});
// For showing the dropdown-menu in nav bar
$('.dropdown-toggle').dropdown()
// For tooltips
$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
// Change Background colour of form when focusing
$(".container-contact input, .container-contact textarea").focus(function(){
$(this).css("background-color", "#cccccc");
});
$(".container-contact input, .container-contact textarea").blur(function(){
$(this).css("background-color", "#ffffff");
});
// Counting down input characthers in message-box
$(".message-box").on("keyup", function(){
var charCount = $(".message-box").val().length
console.log(charCount);
$("#char-count").html("You have typed " + charCount + " characters!");
if (charCount > 50) {
$("#char-count").css("color", "red");
} else {
$("#char-count").css("color", "#f0f4f3")
};
});
// Clicking submit button of contact form
// check required fields: name, e-mail and text message and turn to red border if not filled
// if all required fields are filled, hide all contact-form element after submiting and return thank you msg
$("#form-submit-button").on("click", function(){
var nameEntry, emailEntry, textMessageEntry;
var bNameEntry = true, bEmailEntry = true, bTextMessageEntry = true;
// Check if name has a valid entry
nameEntry = $("#form-name").val();
if (nameEntry.length== 0) {
$("#form-name").css("border", "2px solid red");
$("#form-name-label").html("Please fill in your name").css("color", "red");
bNameEntry = false;
console.log("No name is filled");
} else{
$("#form-name").css("border", "1px solid #ccc");
$("#form-name-label").html("Your Name *").css("color", "#f0f4f3");
};
// Check if email has a valid entry
emailEntry = $("#form-email").val();
if (emailEntry.length == 0) {
$("#form-email").css("border", "2px solid red");
$("#form-email-label").html("Please fill in your e-mail").css("color", "red");
bEmailEntry = false;
console.log("No email is filled");
} else{
$("#form-email").css("border", "1px solid #ccc");
$("#form-email-label").html("Your e-mail address *").css("color", "#f0f4f3");
};
// Check if text message has a valid entry
textMessageEntry = $(".message-box").val();
if (textMessageEntry.length == 0) {
$(".message-box").css("border", "2px solid red");
$("#message-box-label").html("Please type a message").css("color", "red");
bTextMessageEntry = false;
console.log("No text message is filled");
} else{
$(".message-box").css("border", "1px solid #ccc");
$("#message-box-label").html("Your message to me *").css("color", "#f0f4f3");
};
// If all required fields are filled then submit the form and show thanks message
if (bNameEntry == true && bEmailEntry == true && bTextMessageEntry == true) {
console.log("all required fields are filled, message submitted")
$("#visible-comment").html("Thank you! Your message has been sent successfully. <br> I will get back to you as soon as possible.")
.css("font-size", "20px");
$(".hidden-after-submit").hide();
};
return false;
});
// For toogling the glyphicons in the faq panel
function toggleIcon(e) {
$(e.target)
.prev('.panel-heading')
.find(".more-less")
.toggleClass('glyphicon-plus glyphicon-minus');
}
$('.panel-group').on('hidden.bs.collapse', toggleIcon);
$('.panel-group').on('shown.bs.collapse', toggleIcon);
// work section
// creating the images, the link and the title for the projects in work section
for (var i = 0; i < works.length; ++i) {
$("#work-row1").append("\
<div class='col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-3 project-image' id='" + works[i].id + "'>\
<a href='" + works[i].href + "'>\
<img src='" + works[i].pic + "' alt='projects' class='img-responsive'>\
<span class='project-image-title' style='display:none' >" + works[i].title + "</span>\
</a>\
</div>\
");
};
// adding hover effect on project images
$(".project-image").hover(function(){
$("img", this).css("border-radius", "10%");
$(".project-image-title", this).fadeIn();
},
function(){
$("img", this).css("border-radius", "50%");
$(".project-image-title", this).fadeOut();
});
// Parallax effect
$("#contact-section").stellar();
});
// API Google Map
var marker;
function initMap() {
var pos = {lat: 35.331818, lng: 25.139076};
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 13,
center: pos
});
marker = new google.maps.Marker({
position: pos,
icon: "http://maps.google.com/mapfiles/kml/pal3/icon48.png",
map: map,
});
marker.addListener('click', toggleBounce);
marker.setAnimation(null);
};
function toggleBounce() {
if (marker.getAnimation() !== null) {
marker.setAnimation(null);
} else {
marker.setAnimation(google.maps.Animation.BOUNCE);
setTimeout(function(){ marker.setAnimation(null); }, 2500);
};
};
/**** All pages ****/
* { box-sizing: border-box; }
/** Class for centering the text **/
.text-center {
text-align: center;
}
/** Bootstrap buttons **/
/* no border is shown when focus or active */
.btn:focus,
.btn:focus:active{
outline: 0;
border: none;
}
/** Bootstrap tooltips **/
/* Color and border styling */
.tooltip-inner {
background:rgb(239, 238, 231) ; /* The Fallback */
background:rgba(239, 238, 231, 0.7);
border: 1px solid #3f4651;
color: #3f4651;
}
/* using right tooltip */
.tooltip.right .tooltip-arrow {
border-right: 5px solid #3f4651;
}
/* using top tooltip */
.tooltip.top .tooltip-arrow {
border-top: 5px solid #3f4651;
}
/**** Typography ****/
/* main font for the web page */
body {
font-family: Lato, Raleway, Georgia, serif;
font-weight: light;
}
/* font for the headers */
h1,
h2,
h3 {
font-family: Kalam, Futura, Helvetica, Arial, sans-serif;
}
/**** Bootstrap Navigation bar ****/
body {
position: relative;
}
.navbar-inverse {
background-color: #cac9b1; /* main background */
-webkit-box-shadow: none;
box-shadow: none;
border-color: #a1a08d; /* border line of the nav bar */
}
.navbar.navbar-inverse .navbar-collapse {
border-color: #a1a08d; /* border line inbetween main nav and navbar-collape */
}
.navbar-nav>li>.dropdown-menu {
background-color: #cac9b1; /* background color of dropdown-menu */
}
.navbar-inverse .navbar-nav>li>a,
.dropdown-menu>li>a,
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
color: #435666; /* letter color of links */
}
/* Bg colour and text colour when hovering the links in the dropdown-menu */
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
background-color: #cac9b1;
color: #f0f4f3 !important;
}
/* Bg colour and text colour when active, hovering and focus for the whole navigation bar */
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover {
color: #f0f4f3;
background-color: #435666;
}
.navbar-inverse .navbar-toggle {
border-color: #b5b49f; /* border line of collapse box */
}
.navbar-inverse .navbar-toggle .icon-bar {
background-color: #435666; /* background-color of 3 horizontal lines in collapse box */
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
background-color: #b5b49f; /* background-color of collapse box when hover and focus */
}
#logo {
height: 50px;
}
.anchor {
padding-top: 50px;
}
/*Typography*/
.nav a {
font-family: Raleway, Georgia, serif;
}
/**** Index page ****/
.carousel {
margin-left: -15px;
margin-right: -15px;
}
.carousel-caption {
bottom: 7vh;
}
/* Background and Colors*/
.container-index {
color: #3f4651;
}
.carousel-caption {
font-size: 1.56em;
font-size: 2em;
}
/**** About Section ****/
#about-img-me {
border-radius: 50%;
filter:grayscale(60%);
}
.about-intro {
margin-bottom: 30px;
}
.about-skills h3 {
text-align: center;
text-transform: uppercase;
}
.about-skills {
border-radius: 25px;
}
.about-main-text-header {
padding-top: 30px;
}
@-moz-keyframes rotate {
0% {transform: rotate(0deg);}
100% {transform: rotate(-360deg);}
}
@-webkit-keyframes rotate {
0% {transform: rotate(0deg);}
100% {transform: rotate(-360deg);}
}
@-o-keyframes rotate {
0% {transform: rotate(0deg);}
100% {transform: rotate(-360deg);}
}
@keyframes rotate {
0% {transform: rotate(0deg);}
100% {transform: rotate(-360deg);}
}
.buttonCV {
text-align: center; /* to center the button in its own div, not the text in the button */
margin: 0;
}
.buttonCV-btn {
width: 110px;
height: 110px;
padding-top: 10px;
font-family: Kalam, Futura, Helvetica, Arial, sans-serif;
font-size: 32px;
border-radius: 50%;
border-width: 4px;
border-style: solid;
-webkit-box-shadow: 2px 2px 7px rgba(0,0,0,.2);
-moz-box-shadow: 2px 2px 7px rgba(0,0,0,.2);
-o-box-shadow: 2px 2px 7px rgba(0,0,0,.2);
box-shadow: 2px 2px 7px rgba(0,0,0,.2);
z-index: 1;
background-color: #435666;
border-color: #435666;
color: #f0f4f3;
-webkit-transition: all .25s ease-in-out;
-o-transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
transition: all .25s ease-in-out;
}
.buttonCV-btn:hover {
padding: 0;
font-size: 30px;
-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
-moz-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
-o-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
box-shadow: 5px 5px 10px rgba(0,0,0,.3);
z-index: 2;
background-color: #435666;
border-color: #435666;
color: #f0f4f3;
-webkit-transform: rotate(-360deg);
-moz-transform: rotate(-360deg);
-o-transform: rotate(-360deg);
transform: rotate(-360deg);
}
.buttonCV--hoverText {
display:none;
font-size: 16px;
border: none;
-webkit-transition: all .5s ease-in-out;
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
.buttonCV-btn:hover .buttonCV--mainText,
.buttonCV-btn:active .buttonCV--mainText {
display: none;
}
.buttonCV-btn:hover .buttonCV--hoverText,
.buttonCV-btn:active .buttonCV--hoverText {
display: block;
}
.buttonCV-btn:focus,
.buttonCV-btn:focus:active{
/* outline: 0;
border: none; */
background-color: #435666;
}
#cv-embed {
height: 500px;
width: 100%;
padding: 10px;
}
/*Typography*/
.about-skills * {
font-family: 'Amatic SC', sans-serif;
}
.about-skills h3 {
font-weight:700;
}
#about-skill-list li {
font-size: 1.2em;
}
/*Background and Colors*/
.about-skills {
background-color: #cac9b1;
color: #3f4651;
}
.modal-footer button {
color: #435666;
}
/**** Work Section ****/
.project-image {
margin-bottom: 30px;
}
.work img {
border-radius: 50%;
width: 90%;
margin: auto;
-webkit-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
.project-image-title{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); /* IE 9 */
-webkit-transform: translate(-50%, -50%); /* Safari */
color: white;
font-size: 2em;
}
/**** FAQ page ****/
.container-faq {
margin:0 auto;
}
.panel-heading {
cursor: pointer;
}
.panel-default>.panel-heading:hover {
background-color: #f0f4f3;
}
.panel-title a:hover,
.panel-title a:focus,
#collapse5-contact-href {
text-decoration: none;
}
#faq-explanation {
margin-top: -15px;
}
.panel-title {
width: 100%;
}
.panel-title .glyphicon {
float:right;
}
/*Typography*/
#faq-explanation {
font-family: Kalam, Futura, Helvetica, Arial, sans-serif;
font-size: 0.85em;
}
.panel-body {
line-height: 1.6;
}
/*Background and Colors*/
.panel-default>.panel-heading {
background-color: #cac9b1;
color: #3f4651;
}
.panel-body {
background-color: #f0f4f3;
color: #3f4651;
}
/**** Contact Section ****/
.container-contact {
margin:0 auto;
width:100%;
background-color: black;
}
#contact-section {
/* background: url("../img/contact-background1.jpg") no-repeat center center fixed; */
background-image: url("../img/contact-background1.jpg");
/* No repeat of background img */
/* background-repeat: no-repeat; */
/*Add a background image*/
background-attachment: fixed;
/*Give the background a fixed position does it not scroll when you scroll*/
background-size: cover;
/*Have the background cover the entire div section*/
color: white;
/*Change the color of the text on top so it is readable and adjust the padding as needed.*/
padding: 10%;
padding-top: 50px;
max-height:100%;
overflow: auto;
}
.info-contact {
margin-bottom: 30px;
}
.form-control {
color: #435666;
}
#form-submit-button {
border-radius: 30px;
/* background-color: transparent; */
/* opacity: 0.1; */
border-color: #435666;
color: #435666;
}
#map {
height: 400px;
width: 100%;
}
/*Typography*/
/*Background and Colors*/
.info-contact {
color: #f0f4f3;
}
/**** Footer ****/
footer {
height: 3em;
background-color: #435666;
color: #f0f4f3;
}
.copyright {
height: 3em;
}
.copyright span{
position: absolute;
bottom: 0;
/* font-size: 16px; */
}
.social-media {
margin-top: 0.5em;
text-align: right;
}
footer a:not(#pinterest){
padding-right: 1em;
}
/* -----
SVG Icons - svgicons.sparkk.fr
----- */
.svg-icon {
width: 2em;
height: 2em;
}
.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
fill: #f0f4f3;
}
.svg-icon circle {
stroke: #4691f6;
stroke-width: 1;
}
a:link .svg-icon path{
fill: #f0f4f3;
}
a:visited .svg-icon path{
fill: #8e99a3;
}
a:hover .svg-icon path{
fill: #cac9b1;
}
/**** Media Queries ****/
@media (max-width: 480px) {
.carousel-caption{
font-family: Lato, Raleway, Georgia, serif;
font-size: 1.2em;
}
.buttonCV-btn {
width: 80px;
height: 80px;
font-size: 25px;
}
.buttonCV-btn:hover {
width: 80px;
height: 80px;
font-size: 20px;
padding:0;
}
.buttonCV--hoverText {
font-size: 14px;
}
}
var works = [
{
title: "Calculator",
pic: "img/calculator.jpg",
href: "calculator.html",
id: "calculator"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project2"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project3"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project4"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project5"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project6"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project7"
},
{
title: "in progress...",
pic: "img/projects.jpg",
href: "#",
id: "project8"
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment