Last active
February 19, 2017 04:43
-
-
Save inuvalogic/16e71ca061ce8c1cdb4320c77c2ef1f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="content" class="container"> | |
<article id="artikel"> | |
<h2 class="judul">My Great Article That Ever Posted Here</h2> | |
<figure> | |
<img src="images/jalanan.jpg" alt="Jalan Sepi London" width="390" height="244"> | |
<figcaption>Jalan Sepi, London</figcaption> | |
</figure> | |
<div class="isi-artikel"> | |
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p> | |
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> | |
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius.</p> | |
<p>Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.</p> | |
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p> | |
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> | |
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius.</p> | |
<p>Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.</p> | |
</div> | |
</article> | |
<aside id="sidebar"> | |
<div class="item"> | |
<h3 class="title">My Skill</h3> | |
<p class="description">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p> | |
<a class="readmore" href="detail.php">Read More</a> | |
</div> | |
<div class="item"> | |
<h3 class="title">Other Article</h3> | |
<p class="description">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p> | |
<a class="readmore" href="detail.php">Read More</a> | |
</div> | |
</aside> | |
</section> | |
<footer id="footer"> | |
<h3 class="title">Contact Me</h3> | |
<p> | |
+62 812 345 678 90<br /> | |
[email protected] | |
</p> | |
<div class="copyright">Copyright © Websaya.com. All Right Reserved</div> | |
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CONTENT */ | |
#artikel { | |
float: left; | |
width: 70%; | |
font-size: 17px; | |
} | |
#sidebar { | |
float: left; | |
width: 25%; | |
} | |
#artikel h2.judul { | |
font-family: 'Roboto', sans-serif; | |
font-size: 30px; | |
font-weight: 100; | |
} | |
#artikel figure { | |
float: left; | |
margin: 0 20px 30px 0; | |
} | |
#artikel .isi-artikel p { | |
line-height: 25px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* GLOBAL */ | |
body { | |
margin: 0; | |
padding: 0; | |
font-family: 'Roboto', sans-serif; | |
font-size: 18px; | |
color: #878787; | |
font-weight: 100; | |
} | |
header { | |
padding: 34px 50px 15px; | |
} | |
.container { | |
width: 90%; | |
margin: 0 auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* HERO TEXT */ | |
#herotext { | |
text-align: center; | |
padding: 22px; | |
} | |
#herotext h1 { | |
font-family: 'Roboto', sans-serif; | |
font-weight: 300; | |
font-size: 41px; | |
} | |
#herotext h3 { | |
color: #878787; | |
font-family: 'Roboto', sans-serif; | |
font-weight: 100; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Website saya</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | |
<link rel="stylesheet" type="text/css" href="tema.css"> | |
<link rel="stylesheet" type="text/css" href="mobile.css"> | |
</head> | |
<body> | |
<header> | |
<img class="logo" src="images/logo.png"> | |
</header> | |
<nav id="menu"> | |
<ul> | |
<li><a href="index.php">Home</a></li> | |
<li><a href="about.php">About</a></li> | |
<li><a href="contact.php">Contact</a></li> | |
</ul> | |
</nav> | |
<div id="slider"></div> | |
<section id="herotext"> | |
<h1>Welcome to My Website</h1> | |
<h3>Here's you will find more about me</h3> | |
</section> | |
<section id="content" class="container"> | |
<article id="artikel"> | |
<h2 class="judul">Artikel 1</h2> | |
<figure> | |
<img src="images/jalanan.jpg" alt="Jalan Sepi London" width="390" height="244"> | |
<figcaption>Jalan Sepi, London</figcaption> | |
</figure> | |
<div class="isi-artikel"> | |
<p><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p> | |
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> | |
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius.</p> | |
<p>Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.</p></p> | |
<a href="detail.php?id=1">Read More</a> | |
</div> | |
</article> | |
<aside id="sidebar"> | |
<div class="item"> | |
<h3 class="title">Artikel 2</h3> | |
<p class="description">Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> | |
<a class="readmore" href="detail.php?id=2">Read More</a> | |
</div> | |
<div class="item"> | |
<h3 class="title">Artikel 3</h3> | |
<p class="description">Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius.</p> | |
<a class="readmore" href="detail.php?id=3">Read More</a> | |
</div> | |
</aside> | |
</section> | |
<footer id="footer"> | |
<h3 class="title">Contact Me</h3> | |
<p> | |
+62 812 345 678 90<br /> | |
[email protected] | |
</p> | |
<div class="copyright">Copyright © Websaya.com. All Right Reserved</div> | |
</footer> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* RESPONSIVE */ | |
@media (min-width: 320px) and (max-width: 768px) { | |
header .logo { | |
width: 200px; | |
} | |
#menu ul li a { | |
font-size: 15px; | |
} | |
#slider { | |
height: 125px; | |
} | |
#herotext h1{ | |
font-size: 29px; | |
} | |
#artikel { | |
float: none; | |
width: 100%; | |
} | |
#artikel figure { | |
width: 100%; | |
} | |
#sidebar { | |
float: none; | |
width: 100%; | |
padding-left: 0; | |
} | |
} | |
@media (min-width: 320px) and (max-width: 425px) { | |
header .logo { | |
width: 150px; | |
margin: -15px auto 5px; | |
display: block; | |
} | |
#artikel figure img { | |
width: 100%; | |
height: inherit; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* RESPONSIVE */ | |
@media (min-width: 320px) and (max-width: 768px) { | |
header .logo { | |
width: 200px; | |
} | |
#menu ul li a { | |
font-size: 15px; | |
} | |
#slider { | |
height: 125px; | |
} | |
#herotext h1{ | |
font-size: 29px; | |
} | |
#artikel { | |
float: none; | |
width: 100%; | |
} | |
#artikel figure { | |
width: 100%; | |
} | |
#sidebar { | |
float: none; | |
width: 100%; | |
padding-left: 0; | |
} | |
} | |
@media (min-width: 320px) and (max-width: 425px) { | |
header .logo { | |
width: 150px; | |
margin: -15px auto 5px; | |
display: block; | |
} | |
#artikel figure img { | |
width: 100%; | |
height: inherit; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SLIDER */ | |
#slider { | |
background: url(images/slider.jpg); | |
background-size: cover; | |
width: 100%; | |
height: 454px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* GLOBAL */ | |
body { | |
margin: 0; | |
padding: 0; | |
font-family: 'Roboto', sans-serif; | |
font-size: 18px; | |
color: #878787; | |
font-weight: 100; | |
} | |
header { | |
padding: 34px 50px 15px; | |
} | |
.container { | |
width: 90%; | |
margin: 0 auto; | |
} | |
/* MENU */ | |
#menu ul { | |
list-style-type: none; | |
margin: 0; | |
padding: 0 0 0 35px; | |
overflow: hidden; | |
background-color: #3c4542; | |
} | |
#menu ul li { | |
float: left; | |
} | |
#menu ul li a { | |
padding: 15px; | |
font-size: 21px; | |
font-family: 'Roboto', sans-serif; | |
text-transform: uppercase; | |
color: #FFFFFF; | |
text-decoration: none; | |
display: block; | |
} | |
#menu ul li a:hover { | |
color: #00afab; | |
} | |
/* SLIDER */ | |
#slider { | |
background: url(images/slider.jpg); | |
background-size: cover; | |
width: 100%; | |
height: 454px; | |
} | |
/* HERO TEXT */ | |
#herotext { | |
text-align: center; | |
padding: 22px; | |
} | |
#herotext h1 { | |
font-family: 'Roboto', sans-serif; | |
font-weight: 300; | |
font-size: 41px; | |
} | |
#herotext h3 { | |
color: #878787; | |
font-family: 'Roboto', sans-serif; | |
font-weight: 100; | |
} | |
/* CONTENT */ | |
#artikel { | |
float: left; | |
width: 70%; | |
font-size: 17px; | |
} | |
#sidebar { | |
float: left; | |
width: 25%; | |
} | |
#artikel h2.judul { | |
font-family: 'Roboto', sans-serif; | |
font-size: 30px; | |
font-weight: 100; | |
} | |
#artikel figure { | |
float: left; | |
margin: 0 20px 30px 0; | |
} | |
#artikel .isi-artikel p { | |
line-height: 25px; | |
} | |
/* SIDEBAR */ | |
#sidebar { | |
padding-left: 50px; | |
margin-top: 10px; | |
} | |
#sidebar .item { | |
font-size: 17px; | |
line-height: 25px; | |
margin-bottom: 40px; | |
} | |
#sidebar .item h3 { | |
font-family: 'Roboto', sans-serif; | |
font-size: 25px; | |
font-weight: 100; | |
} | |
#sidebar .item p.description { | |
margin-bottom: 50px; | |
} | |
#sidebar .item a.readmore { | |
background: #00afab; | |
padding: 12px 40px; | |
text-decoration: none; | |
color: #FFFFFF; | |
} | |
#sidebar .item a.readmore:hover { | |
background: #036f6d; | |
} | |
/* FOOTER */ | |
#footer { | |
clear: both; | |
background: #181818; | |
text-align: center; | |
color: #878787; | |
font-size: 15px; | |
padding: 30px; | |
} | |
#footer .title { | |
font-size: 22px; | |
font-weight: 100; | |
margin-top: 0; | |
} | |
#footer .copyright { | |
font-size: 13px; | |
margin-top: 70px; | |
} | |
/* CONTACT */ | |
#form-contact { | |
margin-bottom: 30px; | |
} | |
#form-contact .form-row { | |
margin-bottom: 15px; | |
} | |
#form-contact label { | |
display: block; | |
} | |
#form-contact input, | |
#form-contact textarea { | |
padding: 10px 12px; | |
width: 30%; | |
} | |
#form-contact textarea { | |
height: 60px; | |
} | |
#form-contact button { | |
border: none; | |
background: #00afab; | |
padding: 12px 40px; | |
text-decoration: none; | |
color: #FFFFFF; | |
font-size: 17px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment