Created
January 30, 2012 03:29
-
-
Save maman/1702306 to your computer and use it in GitHub Desktop.
Source of http://mwo.nanomites.us and http://kon.tl/mwo - both synced
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> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ma Chung Web Olympiad 2012</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" src="nagging-menu.js"></script> | |
<script type="text/javascript"> | |
//Disqus Setup | |
var disqus_shortname = 'mwo-machung'; | |
(function() { | |
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | |
})(); | |
//Floating Menu Setup | |
$(function(){ | |
var menu = $('#menu'), | |
pos = menu.offset(); | |
$(window).scroll(function(){ | |
if($(this).scrollTop() > pos.top+menu.height() && menu.hasClass('default')){ | |
menu.fadeOut('fast', function(){ | |
$(this).removeClass('default').addClass('fixed').fadeIn('fast'); | |
}); | |
} else if($(this).scrollTop() <= pos.top && menu.hasClass('fixed')){ | |
menu.fadeOut('fast', function(){ | |
$(this).removeClass('fixed').addClass('default').fadeIn('fast'); | |
}); | |
} | |
}); | |
}); | |
//Animate GoTo Page Anchor on page load | |
$(document).ready(function() { | |
function filterPath(string) { | |
return string | |
.replace(/^\//,'') | |
.replace(/(index|default).[a-zA-Z]{3,4}$/,'') | |
.replace(/\/$/,''); | |
} | |
var locationPath = filterPath(location.pathname); | |
var scrollElem = scrollableElement('html', 'body'); | |
$('a[href*=#]').each(function() { | |
var thisPath = filterPath(this.pathname) || locationPath; | |
if ( locationPath == thisPath | |
&& (location.hostname == this.hostname || !this.hostname) | |
&& this.hash.replace(/#/,'') ) { | |
var $target = $(this.hash), target = this.hash; | |
if (target) { | |
var targetOffset = $target.offset().top; | |
$(this).click(function(event) { | |
event.preventDefault(); | |
$(scrollElem).animate({scrollTop: targetOffset}, 400, function() { | |
location.hash = target; | |
}); | |
}); | |
} | |
} | |
}); | |
// use the first element that is "scrollable" | |
function scrollableElement(els) { | |
for (var i = 0, argLength = arguments.length; i <argLength; i++) { | |
var el = arguments[i], | |
$scrollElement = $(el); | |
if ($scrollElement.scrollTop()> 0) { | |
return el; | |
} else { | |
$scrollElement.scrollTop(1); | |
var isScrollable = $scrollElement.scrollTop()> 0; | |
$scrollElement.scrollTop(0); | |
if (isScrollable) { | |
return el; | |
} | |
} | |
} | |
return []; | |
} | |
$('.top').click(function () { | |
$('body,html').animate({ | |
scrollTop: 0 | |
}, 800); | |
return false; | |
}); | |
// Dropdown Menu for mobile browsers | |
// Create the dropdown base | |
$("<select />").appendTo("#menu"); | |
// Create default option "Go to..." | |
$("<option />", { | |
"selected": "selected", | |
"value" : "", | |
"text" : "Go to..." | |
}).appendTo("#menu select"); | |
// Populate dropdown with menu items | |
$("#menu ul li a").each(function() { | |
var el = $(this); | |
$("<option />", { | |
"value" : el.attr("href"), | |
"text" : el.text() | |
}).appendTo("#menu select"); | |
}); | |
$("#menu select").change(function() { | |
window.location = $(this).find("option:selected").val(); | |
}); | |
}); | |
</script> | |
<!--[if lt IE 9]> | |
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> | |
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> | |
<![endif]--> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
</head> | |
<body> | |
<div id="header"> | |
<div class="container"> | |
<h1>Ma Chung</h1> | |
<h1>Web Olympiad</h1> | |
<h1>2012</h1> | |
<div id="menu" class="default"> | |
<ul> | |
<li><a href="#challenge">Tantangan</a></li> | |
<li><a href="#penantang">Peserta</a></li> | |
<li><a href="#hadiah">Hadiah</a></li> | |
<li><a href="#mekanisme">Tertarik?</a></li> | |
<li><a href="#teknis">Lebih Lanjut</a></li> | |
<li><a href="#CP">Kontak</a></li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<div id="content"> | |
<div class="container"> | |
<div id="challenge" class="customarrow"> | |
<h2>Tantangan</h2> | |
<ul> | |
<li>Buat website <span class="red">statis</span> dengan tema Visit Indonesia</li> | |
<li>Percantik web yang kamu buat dengan HTML5 + CSS3 !</li> | |
<li>Pernah tau teknik <a href="http://msdn.microsoft.com/en-us/magazine/hh653584.aspx">Responsive</a> <a href="http://www.smashingmagazine.com/2011/07/22/responsive-web-design-techniques-tools-and-design-strategies/">Web</a> <a href="http://mediaqueri.es">Design</a> ? kalo kamu bisa mengaplikasikan teknik ini, kita kasih poin plus <span class="unyu">:D</span></li> | |
<li>Jangan lupakan Fallback point!. <span class="red">layout dan design kamu gak boleh ancur</span> saat kita uji di <a href="http://www.ihateie.com/">browser-non-modern</a> <span class="unyu">:p</span> </li> | |
</ul> | |
</div> | |
<div id="penantang" class="customarrow"> | |
<h2>Daftar Peserta</h2> | |
<iframe width='100%' height='600px' frameborder='0' src='https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AvTQBeX28gKkdE1URWE3RG83NE1UaF9ZM3hhdVFtUFE&single=true&gid=0&output=html&widget=true'></iframe> | |
</div> | |
<div id="hadiah" class="customarrow"> | |
<h2>Hadiah</h2> | |
<ol> | |
<li>Rp 2.000.000,- + Trophy + Sertifikat + Beasiswa</li> | |
<li>Rp 1.500.000,- + Trophy + Sertifikat + Beasiswa</li> | |
<li>Rp 1.000.000,- + Trophy + Sertifikat + Beasiswa</li> | |
</ol> | |
</div> | |
<div id="mekanisme" class="customarrow"> | |
<h2>Tertarik?</h2> | |
<ul> | |
<li>Lomba <span class="red">hanya untuk kaum pelajar SMA/SMK Sederajat.</span></li> | |
<li>Buat satu kelompok beranggotakan <span class="red">3 orang, dari sekolah yang sama</span></li> | |
<li>Konfirmasi ke salah satu Contact Person dibawah</li> | |
<li>Unduh formulir pendaftarannya di <a href="http://dl.dropbox.com/u/2890482/mwo/Form%20MWO.docx">sini</a>, lalu kirim ke <a href="mailto:[email protected]">[email protected]</a> dengan melampirkan surat pengantar dari sekolah, Pasfoto 4x6 dan fotokopi kartu pelajar masing masing sebanyak dua lembar.</li> | |
<li>Transfer <span class="red">biaya pendaftaran sebesar Rp. 75.000 ke rekening 035.01.07.010.000 a/n Universitas Ma Chung</span></li> | |
<li>Kamu akan dapat email dari panitia berisi <span class="red">ID & password hosting, serta logo sponsor</span> yang wajib dipasang di web kamu</li> | |
<li>Batas akhir pendaftaran dan pengumpulan web adalah tanggal 1 Februari 2012</li> | |
</ul> | |
</div> | |
<div id="teknis" class="customarrow"> | |
<h2>Lebih lanjut</h2> | |
<ul> | |
<li>Konsep sesuai tema "Visit Indonesia"</li> | |
<li>Web hasil <span class="red">karya asli.</span></li> | |
<li>Web <span class="red">belum pernah dipublikasikan</span> atau di ikutkan dalam lomba serupa.</li> | |
<li><span class="red">Tidak boleh menggunakan CMS</span> (Joomla, Aura, Wordpress, dll), jika ditemukan panitia berhak mendiskualifikasi peserta.</li> | |
<li><span class="red">Boleh menggunakan library javascript</span> contohnya Jquery, scriptaculous, dll.</li> | |
<li>Bebas menggunakan animasi apapun asalkan tetap berorientasi HTML (<span class="red">no full flash</span>) dan memperhatikan efisiensi web.</li> | |
<li><span class="red">Tidak boleh menggunakan PHP</span>/Bahasa pemrograman lain.</li> | |
<li><span class="red">Tidak boleh menggunakan Database</span></li> | |
<li>Website dihosting pada hosting yang sama yaitu "Devhostia", ID dan Password dari Account hosting beserta logo sponsor akan dikirim melalui email panitia (menyusul) ke email tim masing-masing.</li> | |
<li>Web <span class="red">minimal memiliki 3 konten</span> yaitu Home, Gallery, History.</li> | |
<li><span class="red">Melampirkan site map</span> dari web.</li> | |
<li><span class="red">Wajib menampilkan logo sponsor</span> yang disediakan, tempat terserah dengan ukuran minimal 80pixel(Panjang) x 30pixel(lebar)</li> | |
</ul> | |
</div> | |
<div id="film" class="customarrow"> | |
<h2>Cara Upload</h2> | |
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" | |
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" | |
WIDTH="100%" HEIGHT="400px" id="example"> | |
<PARAM NAME=movie VALUE="example.swf?build=1"> | |
<PARAM NAME=quality VALUE=best> | |
<PARAM NAME=bgcolor VALUE=#000000> | |
<PARAM NAME=scale VALUE="exactfit"> | |
<EMBED src="example.swf?build=1" quality=best bgcolor=#000000 scale="exactfit" WIDTH="100%" HEIGHT="400px" | |
NAME="example" ALIGN="" TYPE="application/x-shockwave-flash" | |
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> | |
</OBJECT> | |
</div> | |
<div id="CP" class="customarrow"> | |
<h2>Kurang jelas?</h2> | |
<p>kalo masih kurang jelas, tanya aja langsung ke mas mas dan mbak mbak ini <span class="unyu">:3</span></p> | |
<ul> | |
<li>Chintia : 082141171222</li> | |
<li>Arian : 085755148477</li> | |
<li>Ainur : 08983342828</li> | |
<li>Maman : 085791261632</li> | |
</ul> | |
</div> | |
<div id="disqus_thread"> | |
</div> | |
</div> | |
</div> | |
<div id="footer"> | |
<div class="container"> | |
<span class="top">Back to Top</span> | |
<p>This page is using "<a href="http://ethanschoonover.com/solarized">Solarized</a>" color scheme by <a href="http://ethanschoonover.com">Ethan Schnoover</a></p> | |
<p>All rights reserved by <a href="http://mahardi.heroku.com/about">maman</a> <span class="unyu">:p</span> . made with love</p> | |
</div> | |
</div> | |
<div id="fixed"> | |
<a href="http://www.w3.org/html/logo/"><img src="http://www.w3.org/html/logo/badge/html5-badge-v-css3.png" width="38" height="106" alt="HTML5 Powered with CSS3 / Styling" title="HTML5 Powered with CSS3 / Styling"></a> | |
</div> | |
</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
/*RESET FIRST*/ | |
/** | |
* html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) | |
* v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark | |
* html5doctor.com/html-5-reset-stylesheet/ | |
*/ | |
html, body, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, | |
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, figcaption, figure, | |
footer, header, hgroup, menu, nav, section, summary, | |
time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font-size: 100%; | |
font: inherit; | |
vertical-align: baseline; | |
} | |
article, aside, details, figcaption, figure, | |
footer, header, hgroup, menu, nav, section { | |
display: block; | |
} | |
blockquote, q { quotes: none; } | |
blockquote:before, blockquote:after, | |
q:before, q:after { content: ''; content: none; } | |
ins { background-color: #ff9; color: #000; text-decoration: none; } | |
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } | |
del { text-decoration: line-through; } | |
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } | |
table { border-collapse: collapse; border-spacing: 0; } | |
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } | |
input, select { vertical-align: middle; } | |
/** | |
* Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ | |
*/ | |
body { font:16px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ | |
select, input, textarea, button { font:99% sans-serif; } | |
/* Normalize monospace sizing: | |
en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ | |
pre, code, kbd, samp { font-family: monospace, sans-serif; } | |
/** | |
* Minimal base styles. | |
*/ | |
/* Always force a scrollbar in non-IE */ | |
html { overflow-y: scroll; } | |
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */ | |
a:hover, a:active { outline: none; } | |
ul, ol { margin-left: 2em; } | |
ol { list-style-type: decimal; } | |
/* Remove margins for navigation lists */ | |
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; } | |
small { font-size: 85%; } | |
strong, th { font-weight: bold; } | |
td { vertical-align: top; } | |
/* Set sub, sup without affecting line-height: gist.github.com/413930 */ | |
sub, sup { font-size: 75%; line-height: 0; position: relative; } | |
sup { top: -0.5em; } | |
sub { bottom: -0.25em; } | |
pre { | |
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */ | |
white-space: pre; white-space: pre-wrap; word-wrap: break-word; | |
padding: 15px; | |
} | |
textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */ | |
.ie6 legend, .ie7 legend { margin-left: -7px; } | |
/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */ | |
input[type="radio"] { vertical-align: text-bottom; } | |
input[type="checkbox"] { vertical-align: bottom; } | |
.ie7 input[type="checkbox"] { vertical-align: baseline; } | |
.ie6 input { vertical-align: text-bottom; } | |
/* Hand cursor on clickable input elements */ | |
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; } | |
/* Webkit browsers add a 2px margin outside the chrome of form elements */ | |
button, input, select, textarea { margin: 0; } | |
/* Colors for form validity */ | |
input:valid, textarea:valid { } | |
input:invalid, textarea:invalid { | |
border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; | |
} | |
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; } | |
/* These selection declarations have to be separate | |
No text-shadow: twitter.com/miketaylr/status/12228805301 | |
Also: hot pink! */ | |
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; } | |
::selection { background:#FF5E99; color:#fff; text-shadow: none; } | |
/* j.mp/webkit-tap-highlight-color */ | |
a:link { -webkit-tap-highlight-color: #FF5E99; } | |
/* Make buttons play nice in IE: | |
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */ | |
button { width: auto; overflow: visible; } | |
/* Bicubic resizing for non-native sized IMG: | |
code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */ | |
.ie7 img { -ms-interpolation-mode: bicubic; } | |
/* Self Define */ | |
body, select, input, textarea { | |
/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ | |
color: #444; | |
/* Set base font here, to apply evenly */ | |
font-family: Cambria, 'Times New Roman', serif; | |
} | |
/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */ | |
h1, h2, h3, h4, h5, h6 { font-weight: bold; } | |
a, a:active, a:visited { color: #B58900; } | |
a:hover { color: #036; } | |
/*END RESET*/ | |
/*a Little Web Fonts action*/ | |
@font-face { | |
font-family: 'BebasNeueRegular'; | |
src: url('fonts/BebasNeue-webfont.eot'); | |
src: url('fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), | |
url('fonts/BebasNeue-webfont.woff') format('woff'), | |
url('fonts/BebasNeue-webfont.ttf') format('truetype'), | |
url('fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
/**/ | |
* { | |
-webkit-transition:all .2s ease-in-out; | |
-moz-transition:all .2s ease-in-out; | |
-o-transition:all .2s ease-in-out; | |
transition:all .2s ease-in-out; | |
} | |
body { | |
background: #FDF6E3; | |
font-size: 15pt; | |
} | |
.container { | |
width: 60%; | |
min-height: 100%; | |
margin: 0 auto; | |
position: relative; | |
} | |
#header { | |
font-size: 30pt; | |
text-align: center; | |
line-height: 40px; | |
margin-top: 20%; | |
} | |
#header h1:nth-of-type(1) { | |
font-size: 35pt; | |
text-transform: uppercase; | |
font-weight: normal; | |
letter-spacing: 10px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(2) { | |
font-family: BebasNeueRegular, 'Arial Narrow', Arial, Helvetica, sans-serif; | |
font-size: 94pt; | |
line-height: 115px; | |
color: #DC322F; | |
text-shadow: 0 4px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(3) { | |
font-size: 35pt; | |
font-style: italic; | |
line-height: 5px; | |
letter-spacing: 5px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
#menu { | |
font-size: 10pt; | |
text-transform: uppercase; | |
letter-spacing: 5px; | |
display: block; | |
width: 100%; | |
margin-top: 15px; | |
} | |
#menu ul { | |
margin: 0; | |
} | |
#menu ul li { | |
display: inline; | |
border-right: 1px solid #073642; | |
padding: 0; | |
margin: 0; | |
height: 20px; | |
} | |
#menu ul li a { | |
text-decoration: none; | |
text-align: left; | |
padding: 0 3px; | |
} | |
#menu ul li:last-child { | |
border: none; | |
} | |
#menu select { | |
display: none; | |
} | |
.default { | |
width: 100%; | |
height: 20px; | |
} | |
.fixed { | |
position: fixed; | |
top: -15px; | |
left: 0; | |
width: 100%; | |
background: #FDF6E3; | |
box-shadow: 0 5px 25px #FDF6E3; | |
z-index: 99; | |
} | |
.fixed ul li a { | |
color: #002B36; | |
} | |
.fixed ul li a:hover { | |
color: #268BD2; | |
} | |
#content { | |
margin-top: 25%; | |
line-height: 28px; | |
} | |
#content .container div { | |
margin-bottom: 25px; | |
padding: 15px; | |
} | |
#content .container .customarrow h2, .btt { | |
font-size: 20pt; | |
text-align: center; | |
font-weight: normal; | |
color: #586E75; | |
margin-bottom: 25px; | |
} | |
#content .container .customarrow h2:before { | |
content: ""; | |
border-bottom: 1px solid #EEE8D5; | |
position: absolute; | |
width: 30%; | |
left: 40px; | |
margin-top: 18px; | |
} | |
#content .container .customarrow h2:after { | |
content: ""; | |
border-bottom: 1px solid #EEE8D5; | |
position: absolute; | |
width: 30%; | |
right: 40px; | |
margin-top: 18px; | |
} | |
#content .container .customarrow ul li, .container .customarrow ol li { | |
margin: 10px 0; | |
} | |
#content .container .customarrow ul li { | |
list-style-image: url('images/arrow.png'); | |
} | |
#content .container .customarrow p { | |
padding: 0 20px; | |
} | |
#footer { | |
background: #222; | |
height: 100px; | |
text-align: center; | |
} | |
#footer p { | |
font-size: 8pt; | |
margin: 10px 0; | |
} | |
.red { | |
color: #FFF; | |
background: #FD0F31; | |
} | |
.unyu { | |
background: #2AA198; | |
color: #FFF; | |
padding: 1px; | |
margin-left: 5px; | |
-webkit-transform:rotate(90deg); | |
-moz-transform:rotate(90deg); | |
-o-transform:rotate(90deg); | |
-ms-transform:rotate(90deg); | |
} | |
.top { | |
display: block; | |
text-align: center; | |
background: #FDF6E3; | |
padding: 10px; | |
border-bottom-left-radius: 10px; | |
border-bottom-right-radius: 10px; | |
cursor: n-resize; | |
} | |
#fixed a img { | |
position: fixed; | |
top: 5px; | |
right: 5px; | |
opacity: 0.5; | |
-moz-opacity: 0.5; | |
filter:alpha(opacity=5); | |
z-index: 100; | |
} | |
/*Disqus Custom Styles*/ | |
#disqus-thread, #disqus-thread * { | |
font-size: 12pt; | |
} | |
/*Begin CSS Media Queries for the sake of responsive web design*/ | |
/* Not-so-smart Phones ----------- */ | |
@media only screen and (max-width : 240px) { | |
.container { | |
width: 220px; | |
} | |
#header h1:nth-of-type(1) { | |
font-size: 12pt; | |
text-transform: uppercase; | |
font-weight: normal; | |
letter-spacing: 0px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(2) { | |
font-family: BebasNeueRegular, 'Arial Narrow', Arial, Helvetica, sans-serif; | |
font-size: 54pt; | |
line-height: 65px; | |
color: #DC322F; | |
text-shadow: 0 4px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(3) { | |
font-size: 12pt; | |
font-style: italic; | |
line-height: 15px; | |
letter-spacing: 5px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
} | |
/* Smartphones ----------- */ | |
@media only screen and (max-width : 600px) { | |
body * { | |
font-size: 12pt; | |
} | |
.container { | |
width: 300px; | |
} | |
#header h1:nth-of-type(1) { | |
font-size: 15pt; | |
text-transform: uppercase; | |
font-weight: normal; | |
letter-spacing: 0px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(2) { | |
font-family: BebasNeueRegular, 'Arial Narrow', Arial, Helvetica, sans-serif; | |
font-size: 64pt; | |
line-height: 65px; | |
color: #DC322F; | |
text-shadow: 0 4px 0 #EEE8D5; | |
} | |
#header h1:nth-of-type(3) { | |
font-size: 25pt; | |
font-style: italic; | |
line-height: 15px; | |
letter-spacing: 5px; | |
color: #CB4B16; | |
text-shadow: 0 2px 0 #EEE8D5; | |
} | |
#fixed, .fixed, #menu ul { | |
display: none; | |
} | |
#menu select { | |
display: inline-block; | |
} | |
#content .container .customarrow h2:before { | |
display: none; | |
} | |
#content .container .customarrow h2:after { | |
display: none; | |
} | |
} | |
/* iPads ----------- */ | |
@media only screen and (min-width : 601px )and (max-width : 1024px) { | |
#fixed, .fixed, #menu ul { | |
display: none; | |
} | |
#menu select { | |
display: inline-block; | |
} | |
} | |
/* iPhone 4 ----------- */ | |
@media only screen and (-webkit-min-device-pixel-ratio : 1.5),only screen and (min-device-pixel-ratio : 1.5) { | |
#fixed, .fixed, #menu ul { | |
display: none; | |
} | |
#menu select { | |
display: inline-block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment