This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f6491a4
Showing
49 changed files
with
5,158 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,368 @@ | ||
/* | ||
Photon by HTML5 UP | ||
html5up.net | @n33co | ||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) | ||
*/ | ||
|
||
/* Basic */ | ||
|
||
hr { | ||
border-bottom: solid 1px #ccc; | ||
} | ||
|
||
blockquote { | ||
border-left: solid 4px #ccc; | ||
} | ||
|
||
code { | ||
border: solid 1px #ccc; | ||
} | ||
|
||
/* Section/Article */ | ||
|
||
header.major:after { | ||
background: #ccc; | ||
} | ||
|
||
/* Form */ | ||
|
||
input[type="text"], | ||
input[type="password"], | ||
input[type="email"], | ||
select, | ||
textarea { | ||
-ms-behavior: url("css/ie/PIE.htc"); | ||
border: solid 1px #ccc; | ||
position: relative; | ||
} | ||
|
||
/* List */ | ||
|
||
ul.alt li { | ||
border-top: solid 1px #ccc; | ||
} | ||
|
||
ul.major-icons li .icon { | ||
-ms-behavior: url("css/ie/PIE.htc"); | ||
border: solid 1px #ccc; | ||
position: relative; | ||
} | ||
|
||
/* Table */ | ||
|
||
table thead { | ||
border-bottom: solid 1px #ccc; | ||
} | ||
|
||
table tfoot { | ||
border-top: solid 1px #ccc; | ||
} | ||
|
||
table.alt tbody tr td { | ||
border: solid 1px #ccc; | ||
border-left-width: 0; | ||
border-top-width: 0; | ||
} | ||
|
||
/* Button */ | ||
|
||
input[type="submit"], | ||
input[type="reset"], | ||
input[type="button"], | ||
button, | ||
.button { | ||
-ms-behavior: url("css/ie/PIE.htc"); | ||
border: solid 1px #ccc; | ||
position: relative; | ||
} | ||
|
||
/* Image */ | ||
|
||
.image { | ||
-ms-behavior: url("css/ie/PIE.htc"); | ||
} | ||
|
||
.image img { | ||
-ms-behavior: url("css/ie/PIE.htc"); | ||
position: relative; | ||
} | ||
|
||
/* Main */ | ||
|
||
.main.style2 { | ||
background-color: #333; | ||
color: #ffffff; | ||
-ms-behavior: url("css/ie/backgroundsize.min.htc"); | ||
background-image: url("../../images/header.jpg"); | ||
background-size: cover; | ||
position: relative; | ||
} | ||
|
||
.main.style2 a { | ||
border-bottom-color: #ffffff; | ||
} | ||
|
||
.main.style2 a:hover { | ||
color: #ffffff; | ||
} | ||
|
||
.main.style2 h1, .main.style2 h2, .main.style2 h3, .main.style2 h4, .main.style2 h5, .main.style2 h6, .main.style2 strong, .main.style2 b { | ||
color: #ffffff; | ||
} | ||
|
||
.main.style2 header p { | ||
color: #ffffff; | ||
} | ||
|
||
.main.style2 header.major:after { | ||
background: #ffffff; | ||
} | ||
|
||
.main.style2 input[type="submit"], | ||
.main.style2 input[type="reset"], | ||
.main.style2 input[type="button"], | ||
.main.style2 button, | ||
.main.style2 .button { | ||
border: solid 1px #ffffff !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
.main.style2 input[type="submit"]:hover, | ||
.main.style2 input[type="reset"]:hover, | ||
.main.style2 input[type="button"]:hover, | ||
.main.style2 button:hover, | ||
.main.style2 .button:hover { | ||
background-color: transparent; | ||
} | ||
|
||
.main.style2 input[type="submit"]:active, | ||
.main.style2 input[type="reset"]:active, | ||
.main.style2 input[type="button"]:active, | ||
.main.style2 button:active, | ||
.main.style2 .button:active { | ||
background-color: transparent; | ||
} | ||
|
||
.main.style2 input[type="submit"].special, | ||
.main.style2 input[type="reset"].special, | ||
.main.style2 input[type="button"].special, | ||
.main.style2 button.special, | ||
.main.style2 .button.special { | ||
background-color: #ffffff; | ||
border: solid 1px #ffffff !important; | ||
color: #333 !important; | ||
} | ||
|
||
.main.style2 input[type="submit"].special:hover, | ||
.main.style2 input[type="reset"].special:hover, | ||
.main.style2 input[type="button"].special:hover, | ||
.main.style2 button.special:hover, | ||
.main.style2 .button.special:hover { | ||
background-color: transparent !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
.main.style2 input[type="submit"].special:active, | ||
.main.style2 input[type="reset"].special:active, | ||
.main.style2 input[type="button"].special:active, | ||
.main.style2 button.special:active, | ||
.main.style2 .button.special:active { | ||
background-color: transparent !important; | ||
} | ||
|
||
.main.style2 ul.major-icons li .icon { | ||
border-color: #ffffff; | ||
} | ||
|
||
.main.style2 .icon.major { | ||
color: #ffffff; | ||
} | ||
|
||
.main.style2:before { | ||
background-image: url("../images/overlay1.png"); | ||
content: ''; | ||
height: 100%; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
.main.style2 > * { | ||
position: relative; | ||
z-index: 1; | ||
} | ||
|
||
/* Header */ | ||
|
||
#header { | ||
background-color: #4686a0; | ||
color: #ffffff; | ||
} | ||
|
||
#header a { | ||
border-bottom-color: #ffffff; | ||
} | ||
|
||
#header a:hover { | ||
color: #ffffff; | ||
} | ||
|
||
#header h1, #header h2, #header h3, #header h4, #header h5, #header h6, #header strong, #header b { | ||
color: #ffffff; | ||
} | ||
|
||
#header header p { | ||
color: #ffffff; | ||
} | ||
|
||
#header header.major:after { | ||
background: #ffffff; | ||
} | ||
|
||
#header input[type="submit"], | ||
#header input[type="reset"], | ||
#header input[type="button"], | ||
#header button, | ||
#header .button { | ||
border: solid 1px #ffffff !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
#header input[type="submit"]:hover, | ||
#header input[type="reset"]:hover, | ||
#header input[type="button"]:hover, | ||
#header button:hover, | ||
#header .button:hover { | ||
background-color: transparent; | ||
} | ||
|
||
#header input[type="submit"]:active, | ||
#header input[type="reset"]:active, | ||
#header input[type="button"]:active, | ||
#header button:active, | ||
#header .button:active { | ||
background-color: transparent; | ||
} | ||
|
||
#header input[type="submit"].special, | ||
#header input[type="reset"].special, | ||
#header input[type="button"].special, | ||
#header button.special, | ||
#header .button.special { | ||
background-color: #ffffff; | ||
border: solid 1px #ffffff !important; | ||
color: #4686a0 !important; | ||
} | ||
|
||
#header input[type="submit"].special:hover, | ||
#header input[type="reset"].special:hover, | ||
#header input[type="button"].special:hover, | ||
#header button.special:hover, | ||
#header .button.special:hover { | ||
background-color: transparent !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
#header input[type="submit"].special:active, | ||
#header input[type="reset"].special:active, | ||
#header input[type="button"].special:active, | ||
#header button.special:active, | ||
#header .button.special:active { | ||
background-color: transparent !important; | ||
} | ||
|
||
#header ul.major-icons li .icon { | ||
border-color: #ffffff; | ||
} | ||
|
||
#header .icon.major { | ||
color: #ffffff; | ||
} | ||
|
||
/* Footer */ | ||
|
||
#footer { | ||
background-color: #4686a0; | ||
color: #ffffff; | ||
} | ||
|
||
#footer a { | ||
border-bottom-color: #ffffff; | ||
} | ||
|
||
#footer a:hover { | ||
color: #ffffff; | ||
} | ||
|
||
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer strong, #footer b { | ||
color: #ffffff; | ||
} | ||
|
||
#footer header p { | ||
color: #ffffff; | ||
} | ||
|
||
#footer header.major:after { | ||
background: #ffffff; | ||
} | ||
|
||
#footer input[type="submit"], | ||
#footer input[type="reset"], | ||
#footer input[type="button"], | ||
#footer button, | ||
#footer .button { | ||
border: solid 1px #ffffff !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
#footer input[type="submit"]:hover, | ||
#footer input[type="reset"]:hover, | ||
#footer input[type="button"]:hover, | ||
#footer button:hover, | ||
#footer .button:hover { | ||
background-color: transparent; | ||
} | ||
|
||
#footer input[type="submit"]:active, | ||
#footer input[type="reset"]:active, | ||
#footer input[type="button"]:active, | ||
#footer button:active, | ||
#footer .button:active { | ||
background-color: transparent; | ||
} | ||
|
||
#footer input[type="submit"].special, | ||
#footer input[type="reset"].special, | ||
#footer input[type="button"].special, | ||
#footer button.special, | ||
#footer .button.special { | ||
background-color: #ffffff; | ||
border: solid 1px #ffffff !important; | ||
color: #4686a0 !important; | ||
} | ||
|
||
#footer input[type="submit"].special:hover, | ||
#footer input[type="reset"].special:hover, | ||
#footer input[type="button"].special:hover, | ||
#footer button.special:hover, | ||
#footer .button.special:hover { | ||
background-color: transparent !important; | ||
color: #ffffff !important; | ||
} | ||
|
||
#footer input[type="submit"].special:active, | ||
#footer input[type="reset"].special:active, | ||
#footer input[type="button"].special:active, | ||
#footer button.special:active, | ||
#footer .button.special:active { | ||
background-color: transparent !important; | ||
} | ||
|
||
#footer ul.major-icons li .icon { | ||
border-color: #ffffff; | ||
} | ||
|
||
#footer .icon.major { | ||
color: #ffffff; | ||
} |
Oops, something went wrong.