Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaML committed May 12, 2017
1 parent be46152 commit 1ff03cd
Show file tree
Hide file tree
Showing 104 changed files with 4,664 additions and 0 deletions.
Empty file.
4 changes: 4 additions & 0 deletions css/font-awesome.min.css

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions css/ie/PIE.htc

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions css/ie/backgroundsize.min.htc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<component lightWeight="true">
<attach event="onpropertychange" onevent="handlePropertychange()" />
<attach event="ondetach" onevent="restore()" />
<attach event="onresize" for="window" onevent="handleResize()" />
<script type="text/javascript">
var rsrc=/url\(["']?(.*?)["']?\)/,positions={top:0,left:0,bottom:1,right:1,center:0.5},doc=element.document;init(); function init(){var b=doc.createElement("div"),a=doc.createElement("img"),c,d;b.style.position="absolute";b.style.zIndex=-1;b.style.top=0;b.style.right=0;b.style.left=0;b.style.bottom=0;b.style.overflow="hidden";a.style.position="absolute";a.style.width=a.style.width="auto";b.appendChild(a);element.insertBefore(b,element.firstChild);d=[element.currentStyle.backgroundPositionX,element.currentStyle.backgroundPositionY];element.bgsExpando=c={wrapper:b,img:a,backgroundSize:element.currentStyle["background-size"], backgroundPositionX:positions[d[0]]||parseFloat(d[0])/100,backgroundPositionY:positions[d[1]]||parseFloat(d[1])/100};"auto"==element.currentStyle.zIndex&&(element.style.zIndex=0);"static"==element.currentStyle.position&&(element.style.position="relative");refreshDisplay(element,c)&&(refreshDimensions(element,c),refreshBackgroundImage(element,c,function(){updateBackground(element,c)}))} function refreshDisplay(b,a){var c=b.currentStyle.display;c!=a.display&&(a.display=c,a.somethingChanged=!0);return"none"!=c}function refreshDimensions(b,a){var c=b.offsetWidth-(parseFloat(b.currentStyle.borderLeftWidth)||0)-(parseFloat(b.currentStyle.borderRightWidth)||0),d=b.offsetHeight-(parseFloat(b.currentStyle.borderTopWidth)||0)-(parseFloat(b.currentStyle.borderBottomWidth)||0);if(c!=a.innerWidth||d!=a.innerHeight)a.innerWidth=c,a.innerHeight=d,a.somethingChanged=!0} function refreshBackgroundImage(b,a,c){var d=a.img,e=(rsrc.exec(b.currentStyle.backgroundImage)||[])[1];if(e&&e!=a.backgroundSrc){a.backgroundSrc=e;a.somethingChanged=!0;d.onload=function(){var b=d.width,e=d.height;1==b&&1==e||(a.imgWidth=b,a.imgHeight=e,a.constrain=!1,c(),d.style.visibility="visible",d.onload=null)};d.style.visibility="hidden";d.src=a.backgroundSrc;if(d.readyState||d.complete)d.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",d.src=a.backgroundSrc;a.ignoreNextPropertyChange= !0;b.style.backgroundImage="none"}else c()} function updateBackground(b,a){if(a.somethingChanged){var c=a.img,d=a.innerWidth/a.innerHeight,e=a.imgWidth/a.imgHeight,f=a.constrain;"contain"==a.backgroundSize?e>d?(a.constrain=d="width",e=Math.floor((a.innerHeight-a.innerWidth/e)*a.backgroundPositionY),c.style.top=e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)):(a.constrain=d="height",e=Math.floor((a.innerWidth-a.innerHeight*e)*a.backgroundPositionX),c.style.left=e+"px",d!=f&&(c.style.width="auto",c.style.height="100%", c.style.top=0)):"cover"==a.backgroundSize&&(e>d?(a.constrain=d="height",e=Math.floor((a.innerHeight*e-a.innerWidth)*a.backgroundPositionX),c.style.left=-e+"px",d!=f&&(c.style.width="auto",c.style.height="100%",c.style.top=0)):(a.constrain=d="width",e=Math.floor((a.innerWidth/e-a.innerHeight)*a.backgroundPositionY),c.style.top=-e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)));a.somethingChanged=!1}} function handlePropertychange(){var b=element.bgsExpando;b.ignoreNextPropertyChange?b.ignoreNextPropertyChange=!1:refreshDisplay(element,b)&&(refreshDimensions(element,b),refreshBackgroundImage(element,b,function(){updateBackground(element,b)}))}function handleResize(){var b=element.bgsExpando;"none"!=b.display&&(refreshDimensions(element,b),updateBackground(element,b))} function restore(){var b=element.bgsExpando;try{element.style.backgroundImage="url('"+b.backgroundSrc+"')",element.removeChild(b.wrapper),element.bgsExpando=null}catch(a){}};
</script>
8 changes: 8 additions & 0 deletions css/ie/html5shiv.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

131 changes: 131 additions & 0 deletions css/ie/v8.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
/*
Big Picture by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*********************************************************************************/
/* Basic */
/*********************************************************************************/

/* Section/Article */

section,
article
{
}

section > .last-child,
article > .last-child
{
margin-bottom: 0;
}

section.last-child,
article.last-child
{
margin-bottom: 0;
}

/* Form */

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
position: relative;
-ms-behavior: url('css/ie/PIE.htc');
border: solid 1px #ccc;
}

/* Button */

input[type="button"],
input[type="submit"],
input[type="reset"],
.button {
position: relative;
-ms-behavior: url('css/ie/PIE.htc');
}

.button.down {
text-indent: 0;
}

/*********************************************************************************/
/* Intro */
/*********************************************************************************/

#intro {
-ms-behavior: url('css/ie/backgroundsize.min.htc');
background: url('../../images/intro.jpg');
background-size: cover;
}

#intro .content {
position: relative;
z-index: 1;
}

#intro:after {
content: '';
background: url('../images/overlay.png');
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}

/*********************************************************************************/
/* One */
/*********************************************************************************/

#one {
-ms-behavior: url('css/ie/backgroundsize.min.htc');
background: url('../../images/one.jpg');
background-size: cover;
}

#one .content {
position: relative;
z-index: 1;
}

#one.left:before,
#one.right:after {
content: '';
background: url('../images/overlay.png');
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}

/*********************************************************************************/
/* Two */
/*********************************************************************************/

#two {
-ms-behavior: url('css/ie/backgroundsize.min.htc');
background: url('../../images/two.jpg');
background-size: cover;
}

#two .content {
position: relative;
z-index: 1;
}

#two.left:before,
#two.right:after {
content: '';
background: url('../images/overlay.png');
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
25 changes: 25 additions & 0 deletions css/ie/v9.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Big Picture by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*********************************************************************************/
/* Loader */
/*********************************************************************************/

body:before,
body:after {
display: none !important;
}

/*********************************************************************************/
/* Poptrox */
/*********************************************************************************/

.poptrox-popup {
}

.poptrox-popup .loader {
display: none !important;
}
6 changes: 6 additions & 0 deletions css/images/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions css/images/dark-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions css/images/poptrox-closer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions css/images/poptrox-nav.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1ff03cd

Please sign in to comment.