Add files via upload

This commit is contained in:
AlexisNP
2019-05-16 19:00:29 +02:00
committed by GitHub
parent 9b74aed95f
commit 08cec75426
8 changed files with 693 additions and 0 deletions

473
css/style.css Normal file
View File

@@ -0,0 +1,473 @@
/* === CSS HEADER === */
*{margin:0;padding:0;box-sizing:border-box}
a{text-decoration:none;color:inherit}
*:focus{outline:none}
ul{list-style-type: none;}
body{
font-family: 'PT Sans', sans-serif;
}
h1,h2{
font-family: 'EB Garamond', serif;
}
/* === MAIN CODE === */
/* =============== GLOBAL HEADER CODE =============== */
header.global{
position: sticky;
top: 0;
padding: 0.75rem 5rem;
color: #FFF;
background: #ba2e1f;
box-shadow: 0 0px 5px 5px rgba(0,0,0,0.2);
z-index: 9999;
}
header.global nav{
display: flex;
justify-content: space-between;
align-items: center;
}
header.global ul{
display: flex;
}
header.global a{
margin: 0 8px;
padding: 0 5px 5px;
}
header.global a:hover{
border-bottom: 1px solid #FFF;
}
header.global li:nth-child(n+2):before{
content: "|";
}
header.global form{
display: flex;
align-items: center;
padding: 5px 10px;
background: #FFF;
border-radius: 5rem;
}
header.global input,header.global button{
display: block;
border: none;
}
header.global input{
background: none;
}
header.global button{
color: #ba2e1f;
background: #FFF;
cursor: pointer;
}
/* =============== MAIN SECTION AND ARTICLE CODE =============== */
section.main{
padding: 1rem 2rem 2rem;
}
section.main header{
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: flex-end;
}
section.main h1{
position: relative;
font-size: 5em;
z-index: 0;
}
section.main h1:before{
position: absolute;
top: 60%;
transform: translateY(-50%);
width: 100%;
height: 5px;
display: block;
content: "";
background: rgba(255,0,0,0.2);
z-index: -1;
}
section.main h2{
font-size: 1.5em;
font-weight: 400;
}
section.main .social-links a{color: #333;}
section.main .social-links a:hover{color: #ee802f;}
section.main nav{
margin-top: 1rem;
width: 100%;
font-weight: 700;
}
section.main nav ul{
display: flex;
justify-content: space-around;
color: #FFF;
background: #333333;
background: -moz-linear-gradient(top, #333333 0%, #333333 50%, #2b2b2b 51%, #2b2b2b 51%, #2b2b2b 100%);
background: -webkit-linear-gradient(top, #333333 0%,#333333 50%,#2b2b2b 51%,#2b2b2b 51%,#2b2b2b 100%);
background: linear-gradient(to bottom, #333333 0%,#333333 50%,#2b2b2b 51%,#2b2b2b 51%,#2b2b2b 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#2b2b2b',GradientType=0 );
border-radius: 5px;
}
section.main nav li{
padding: 10px;
}
section.main nav li a{
padding: 10px;
}
section.main nav li a:hover{
color: #ba2e1f;
}
main.article-view{
padding: 1rem 0;
display: flex;
justify-content: space-between;
align-items: center;
}
main.article-view article{
padding: 2rem 5rem 1rem;
}
main.article-view h2{
font-size: 4em;
}
main.article-view article a{
float: right;
color: #ba2e1f;
border-bottom: 1px solid transparent;
text-transform: uppercase;
}
main.article-view article a:hover{
border-bottom: 1px solid #ba2e1f;
}
main.article-view figure{
width: 35rem;
height: 25rem;
background: url(../img/main-article.jpg) no-repeat center center;
background-size: cover;
}
/* =============== GLOBAL SECTION MEMES =============== */
section.secondary > .col > * + *,
section.tertiary > .col > * + *{
margin-bottom: 1.5rem;
}
section.secondary,
section.tertiary{
width: 100%;
display: flex;
flex-flow: row wrap;
color: #666;
}
/* =============== SECONDARY SECTION CODE =============== */
section.secondary{background: #F2F2F2;}
section.secondary > .col{
width: calc(100% / 3);
padding: 0 2rem 2rem;
}
section.secondary > .col a,
section.secondary .col-3 blockquote a{
float: right;
color: #ba2e1f;
border-bottom: 1px solid transparent;
}
section.secondary > .col a:hover,
section.secondary .col-3 blockquote a:hover{
border-bottom: 1px solid #ba2e1f;
}
section.secondary > .col h2{
margin: 2rem 0;
font-size: 2.5em;
font-weight: normal;
color: #333;
}
section.secondary .col-1 figure img{
width: 100%;
height: auto;
padding: 5px;
border: 1px solid rgba(0,0,0,0.2);
}
section.secondary .col-2 .service{
padding: 0.3rem 0;
}
section.secondary .col-2 figure{
float: left;
width: 64px;
height: 64px;
margin: 0 25px 0 0;
background: url(../img/services-item-1.jpg) no-repeat center center;
background-size: cover;
}
section.secondary .col-3 blockquote h3{
display: flex;
align-items: center;
font-weight: normal;
}
section.secondary .col-3 blockquote h3:before{
display: inline-block;
content: "“";
font-size: 3em;
}
/* =============== TERTIARY SECTION CODE =============== */
section.tertiary > .col{
width: calc(100% / 4);
padding: 2rem;
}
section.tertiary > .col h2{
padding: 1rem 0 2rem;
border-top: 2px solid #666;
}
section.tertiary .col-1 a{
font-weight: 700;
color: #DB6457;
}
section.tertiary .col-1 a:hover{
color: #ba2e1f;
}
section.tertiary .col-1 time{
font-style: italic;
}
section.tertiary .col-2 a{
padding: 0.25rem 0;
}
section.tertiary .col-2 a:after{
width: 0%;
margin: 0.25rem 0 0.5rem 0;
display: block;
border-bottom: 1px solid #555;
content: "";
transition: 0.9s all ease-out;
}
section.tertiary .col-2 a:hover{
color: #000;
transition: 0.9s all ease-out;
}
section.tertiary .col-2 a:hover:after{
width: 50%;
transition: 0.9s all ease-out;
}
section.tertiary .col-2 a:before{
margin: 0 0.5rem 0 0;
display: inline-block;
content: "»";
}
section.tertiary .col-3 h3{
font-size: 1.1em;
}
section.tertiary .col-3 .details{
font-size: 0.8em;
}
section.tertiary .col-3 a{color: #DB6457;}
section.tertiary .col-3 section > a{
float: right;
}
section.tertiary .col-3 a:hover{color: #ba2e1f;}
section.tertiary .col-3 article{
padding: 0.75rem 0;
}
section.tertiary .col-4 input,
section.tertiary .col-4 textarea{
padding: 0.5rem;
font-family: 'PT Sans', sans-serif;
background: #F2F2F2;
border: none;
border-radius: 5px;
}
section.tertiary .col-4 input[type=text]{
width: 100%;
margin-bottom: 1.5rem;
display: block;
}
section.tertiary .col-4 textarea{
min-height: 8rem;
max-height: 8rem;
min-width: 100%;
max-width: 100%;
margin-bottom: 0.5rem;
}
section.tertiary .col-4 input[type=submit]{
color: #ba2e1f;
background: #EAEAEA;
}
section.tertiary .col-4 input[type=submit]:hover{
cursor: pointer;
background: #CCC;
}
/* =============== GLOBAL FOOTER CODE =============== */
footer{
padding: 2rem;
display: flex;
justify-content: space-between;
color: #555;
background: #F2F2F2;
}
/* =============== UTILITY CLASSES =============== */
.clear{clear: both;}
.burger-container{display: none;}
/* =============== UTILITY CLASSES =============== */
@media
only screen
and (max-width:1070px){
/* Global Header */
header.global{
padding: 0.5rem 1rem;
}
header.global a{
margin: 0;
padding: 0px 5px 5px;
}
header.global nav{
display: block;
}
header.global nav ul{
justify-content: center;
}
header.global form{
margin: 1rem auto 0;
justify-content: center;
width: 70%;
}
/* Main Header */
section.main{
padding: 0;
}
.burger-container{
display: flex;
justify-content: flex-end;
}
#toggle-menu{
align-self: center;
width: 40px;
margin: 8px;
cursor: pointer;
}
section.main h1{
font-size: 3.7em;
}
section.main h1:before{
width: 90%;
}
section.main header{
padding: 0.5rem;
}
section.main nav > div{
border-radius: 5px 5px 0 0;
background: #333;
}
section.main nav ul{
display: block;
justify-content: space-around;
text-align: center;
border-radius: 0 0 5px 5px;
}
section.main nav ul a{
display: block;
padding: 0 10px;
}
.burgerOn{
max-height: 500px;
overflow: hidden;
transition: 1s all ease-out;
}
.burgerOff{
max-height: 0;
overflow: hidden;
transition: 0.4s all ease-out;
}
/* Main Section */
main.article-view {
padding: 1rem 0;
display: block;
}
main.article-view figure{
width: 100vw;
height: 10rem;
}
main.article-view article{
padding: 0.5rem 0.8rem 2rem;
}
main.article-view article h2{
font-size: 2em;
text-align: center;
}
main.article-view article p{
font-size: 0.8em;
}
main.article-view article a{
margin-top: 0.5rem;
font-size: 1em;
}
/* Secondary + Tertiary Section */
section.secondary > .col > * + *,
section.tertiary > .col > * + *{
margin-bottom: 0.2rem;
}
section.secondary > .col,
section.tertiary > .col{
width: 100% !important;
padding: 0 1rem 1rem;
}
/* Secondary Section */
section.secondary > .col h2{
margin: 1rem 0;
font-size: 1.4em;
}
section.secondary > .col h3{
font-size: 1em;
}
section.secondary > .col p{
font-size: 0.85em;
}
section.secondary .col-1 figure img{
width: 60%;
margin: auto;
}
section.secondary .col-2 .service{
margin-bottom: 0;
}
/* Tertiary Section */
section.tertiary{
padding-top: 1rem;
}
section.tertiary > .col h2{
border-top: 1px solid #666;
}
}

BIN
img/about-us.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
img/burger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

BIN
img/main-article.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
img/quotepath.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
img/services-item-1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

193
index.php Normal file
View File

@@ -0,0 +1,193 @@
<!DOCTYPE html>
<html>
<head>
<title>Systematic</title>
<meta charset="utf-8" lang="en" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Alexis Pelé">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<meta name="description" content="PLACEHOLDER">
<link href="https://fonts.googleapis.com/css?family=EB+Garamond:600,700,800|PT+Sans:400,400i,700,700i" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/apps.js"></script>
</head>
<body>
<header class="global">
<nav>
<ul>
<li><a href="#">Sign Up</a></li>
<li><a href="#">Login</a></li>
<li><a href="#">RSS Feeds</a></li>
<li><a href="#">Archived News</a></li>
</ul>
<form>
<input type="search" name="searchField">
<button type="button">
<i class="fas fa-search" data-fa-transform="grow-1 up-.5" data-fa-mask="fas fa-circle fa-2x"></i>
</button>
</form>
</nav>
</header>
<section class="main">
<header>
<div>
<h1>Systematic</h1>
<h2>Expanding News Worldwide</h2>
</div>
<div class="social-links fa-2x">
<a href="#"><i class="fab fa-linkedin-in" data-fa-transform="shrink-8 up-.5" data-fa-mask="fas fa-circle"></i></a>
<a href="#"><i class="fab fa-twitter" data-fa-transform="shrink-8 up-.5" data-fa-mask="fas fa-circle"></i></a>
<a href="#"><i class="fab fa-pinterest" data-fa-transform="shrink-8 up-.5" data-fa-mask="fas fa-circle"></i></a>
<a href="#"><i class="fab fa-google-plus-g" data-fa-transform="shrink-8 up-.5" data-fa-mask="fas fa-circle"></i></a>
<a href="#"><i class="fas fa-rss" data-fa-transform="shrink-8 up-.5" data-fa-mask="fas fa-circle"></i></a>
</div>
<nav id="navbar">
<div class="burger-container"><img id="toggle-menu" src="img/burger.png"></div>
<ul id="menu" class="burgerOff">
<li><a href="#">HOMEPAGE</a></li>
<li><a href="#">STYLE DEMO</a></li>
<li><a href="#">FULL WIDTH</a></li>
<li><a href="#">DROPDOWN</a></li>
<li><a href="#">GALLERY</a></li>
<li><a href="#">PORTFOLIO</a></li>
<li><a href="#">LINK TEXT</a></li>
<li><a href="#">LONG LINK TEXT</a></li>
</ul>
</nav>
</header>
<main class="article-view">
<aside>
<figure></figure>
</aside>
<article>
<h2>A HUGE TITLE HERE</h2>
<summary>
<p>Cursuspenatisaccum ut curabitur nulla tellus tor ames a in curabitur pede. Idet mollisi eros dis orci congue elis et curabitur consequam intesque. Curabiturpisametur in ante...</p>
<a href="#">Read More »</a>
</summary>
</article>
</main>
</section>
<section class="secondary">
<div class="col col-1">
<h2>A Little About Us</h2>
<figure><img src="img/about-us.jpg"></figure>
<p>Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt. Nequatdui laorem justo a non tellus laoreet tincidunt ut vel velit nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt.</p>
<p>Idenim semper pellente velis felit ac. Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt.</p>
<a href="#">Read More About Us »</a>
</div>
<div class="col col-2">
<h2>Some of Our Services</h2>
<section class="service">
<figure></figure>
<h3>Service Name</h3>
<p>Inteligula congue id elis donec sce sag ittis intes id laoreet aenean.</p>
<div class="clear"></div>
</section>
<section class="service">
<figure></figure>
<h3>Service Name</h3>
<p>Inteligula congue id elis donec sce sag ittis intes id laoreet aenean.</p>
<div class="clear"></div>
</section>
<section class="service">
<figure></figure>
<h3>Service Name</h3>
<p>Inteligula congue id elis donec sce sag ittis intes id laoreet aenean.</p>
<div class="clear"></div>
</section>
<section class="service">
<figure></figure>
<h3>Service Name</h3>
<p>Inteligula congue id elis donec sce sag ittis intes id laoreet aenean.</p>
<div class="clear"></div>
</section>
<div class="clear"></div>
<a href="#">View All Of Our Services »</a>
</div>
<div class="col col-3">
<h2>What Our Clients Say</h2>
<blockquote>
<h3><b>Tommy Tanker</b> - CEO</h3>
<p>Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt. Nequatdui laorem justo a non tellus laoreet tincidunt ut vel velit. Idenim semper pellente velis felit ac nullam pretium morbi lacus.</p>
<a href="#">View This Project »</a>
<div class="clear"></div>
</blockquote>
<blockquote>
<h3><b>Tommy Tanker</b> - CEO</h3>
<p>Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt. Nequatdui laorem justo a non tellus laoreet tincidunt ut vel velit. Idenim semper pellente velis felit ac nullam pretium morbi lacus.</p>
<a href="#">View This Project »</a>
<div class="clear"></div>
</blockquote>
</div>
</section>
<section class="tertiary">
<div class="col col-1">
<h2>LATEST TWEETS</h2>
<section>
<p><a href="#">@namehere</a> Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt. Nequatdui laorem justo a non tellus.</p>
<time>5 hours ago</time>
</section>
<section>
<p><a href="#">@namehere</a> Justoid nonummy laoreet phasellent penatoque in antesque pellus elis eget tincidunt. Nequatdui laorem justo a non tellus.</p>
<time>1 day ago</time>
</section>
</div>
<div class="col col-2">
<h2>QUICK LINKS</h2>
<ul>
<li><a href="#">Lorem ipsum dolor sit</a></li>
<li><a href="#">Amet consectetur</a></li>
<li><a href="#">Praesent vel sem id</a></li>
<li><a href="#">Curabitur hendrerit est</a></li>
<li><a href="#">Aliquam eget erat nec sapien</a></li>
<li><a href="#">Cras id augue nunc</a></li>
<li><a href="#">In nec justo non</a></li>
<li><a href="#">Vivamus mollis enim ut</a></li>
<li><a href="#">Curabity hendrerit est</a></li>
<li><a href="#">Sed a nulla urna</a></li>
</ul>
</div>
<div class="col col-3">
<h2>LATEST BLOG POSTS</h2>
<section>
<h3>Post Title</h3>
<div class="details">
<p><a href="#">Admin</a>, domainname.com</p>
<time>Friday, 6th April 2000</time>
</div>
<article>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet.</article>
<a href="#">Read More »</a>
<div class="clear"></div>
</section>
<section>
<h3>Post Title</h3>
<div class="details">
<p><a href="#">Admin</a>, domainname.com</p>
<time>Friday, 6th April 2000</time>
</div>
<article>Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet.</article>
<a href="#">Read More »</a>
<div class="clear"></div>
</section>
</div>
<div class="col col-4">
<h2>CONTACT US</h2>
<form>
<input type="text" name="nameContactForm" placeholder="Name">
<input type="text" name="emailContactForm" placeholder="Email">
<input type="text" name="subjectContactForm" placeholder="Subject">
<textarea placeholder="Message"></textarea>
<input type="submit" name="submitContactForm" value="SUBMIT">
</form>
</div>
</section>
<footer>
<small>Copyright © 2013 Domain Name - All Rights Reserved</small>
<small>Template by OS Templates</small>
</footer>
</body>
</html>

27
js/apps.js Normal file
View File

@@ -0,0 +1,27 @@
$(document).ready(function(){
// SMOOTH SCROOL
$('a[href^="#"]').on('click', function(evt){
evt.preventDefault();
var target = $(this).attr('href');
$('html, body').stop().animate({scrollTop: $(target).offset().top}, 1000 );
})
// BURGER MENU
$('#toggle-menu').on('click', function(){
if($('#menu').hasClass('burgerOff')){
$('#menu').addClass('burgerOn');
$('#menu').removeClass('burgerOff');
} else {
$('#menu').addClass('burgerOff');
$('#menu').removeClass('burgerOn');
}
})
$(document).click(function(e){
var subjectElement = $('#navbar');
if(e.target.id != subjectElement.attr('id') && !subjectElement.has(e.target).length){
$('#menu').addClass('burgerOff');
$('#menu').removeClass('burgerOn');
}
})
});