Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Sep 9, 2011
0 parents commit 99e6f64
Show file tree
Hide file tree
Showing 58 changed files with 1,941 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/rebase-min.css

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

74 changes: 74 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* -------------------------------------------------------------------------- */
/* -----| GENERAL |---------------------------------------------------------- */
/* -------------------------------------------------------------------------- */

html {
font-size: 100%;
}

body {
color: #333;
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 1em;
}

a {
color: #00F;
text-decoration: underline;
}

a:hover {
text-decoration: underline;
}

.pageWrap {
margin: 20px auto;
width: 740px;
}


/* -------------------------------------------------------------------------- */
/* -----| CONTENT |---------------------------------------------------------- */
/* -------------------------------------------------------------------------- */

h2 {
background-color: #555;
color: #FFF;
padding: 5px;
margin: 10px 0;
}


/* -------------------------------------------------------------------------- */
/* -----| MISCELLANEOUS |---------------------------------------------------- */
/* -------------------------------------------------------------------------- */

#cboxCurrent {
display: none !important;
}

/* --- FLOATS --- */

.floatLeft {
float: left;
width: auto;
}

.floatRight {
float: right;
width: auto;
}

/* --- TEXT ALIGNMENT --- */

.textLeft {
text-align: left;
}

.textCenter {
text-align: center;
}

.textRight {
text-align: right;
}
2 changes: 2 additions & 0 deletions galleries/cats/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions galleries/dogs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions galleries/misc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
Binary file added images/xhtml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>XHTML Transitional Template</title>

<link rel="shortcut icon" href="images/xhtml.png" />

<link rel="stylesheet" type="text/css" href="css/rebase-min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="resources/UberGallery.css" />
<link rel="stylesheet" type="text/css" href="resources/colorbox/1/colorbox.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script type="text/javascript" src="resources/colorbox/jquery.colorbox.js"></script>

<script type="text/javascript">
$(document).ready(function(){
$("a[rel='cats']").colorbox({maxWidth: "90%", maxHeight: "90%", opacity: ".5"});
$("a[rel='dogs']").colorbox({maxWidth: "90%", maxHeight: "90%", opacity: ".5"});
$("a[rel='misc']").colorbox({maxWidth: "90%", maxHeight: "90%", opacity: ".5"});
});
</script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>

<body>

<div class="pageWrap">

<?php include_once('resources/UberGallery.php'); ?>

<h2>Cats</h2>
<?php $gallery = UberGallery::init()->createGallery('galleries/cats', 'cats'); ?>

<h2>Dogs</h2>
<?php $gallery = UberGallery::init()->createGallery('galleries/dogs', 'dogs'); ?>

<h2>Miscellaneous</h2>
<?php $gallery = UberGallery::init()->createGallery('galleries/misc', 'misc'); ?>

</div>

</body>

<!-- Page template by, Chris Kankiewicz <http://www.chriskankiewicz.com> -->

</html>
128 changes: 128 additions & 0 deletions resources/UberGallery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
/* -------------------------------------------------------------------------- */
/* -----| GALLERY LIST |----------------------------------------------------- */
/* -------------------------------------------------------------------------- */

#galleryList {
margin: 0;
padding: 0 4px;
}

#galleryList li {
display: inline-block;
float: left;
list-style: none;
margin: 5px 6px;
padding: 0;
}

#galleryList li a {
background-color: #FFF;
border: 1px solid #CCC;
display: block;
padding: 4px;
}

#galleryList li a:hover {
border-color: #999;
}

#galleryList li a img {
border: none;
}

/* -------------------------------------------------------------------------- */
/* -----| GALLERY FOOTER |--------------------------------------------------- */
/* -------------------------------------------------------------------------- */

#galleryFooter {
border-top: 1px solid #CCC;
margin-top: 10px;
padding: 3px;
}

#credit {
float: right;
font-size: 0.9em;
margin: 4px 0;
}

#galleryFooter #credit a {
color: #369;
}


/* ---------------------------------------- */
/* ----| PAGINATION |-------------------- */
/* ---------------------------------------- */

#galleryPagination {
color: #369;
float: left;
font-size: .9em;
margin: 0 !important;
padding: 0 !important;
text-align: center;
}

#galleryPagination li {
border: 1px solid transparent;
border-radius: 3px;
display: block;
float: left;
list-style: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}

#galleryPagination li:hover {
background-color: #EFEFEF;
border: 1px solid #CCC;
}

#galleryPagination li.title {
background: transparent url(page_white_stack.png) no-repeat left center;
border: 1px solid transparent;
font-weight: normal;
padding: 3px 6px 3px 22px;
}

#galleryPagination li a, #galleryPagination li a:visited {
color: #369;
display: block;
padding: 3px 6px;
text-decoration: none;
}

#galleryPagination li.current {
background-color: transparent;
border: 1px solid transparent;
color: #333;
font-weight: bold;
padding: 3px 6px;
}

#galleryPagination li.inactive {
background-color: transparent;
color: #ACACAC;
border: 1px solid transparent;
display: block;
padding: 3px 6px;
}

/* ---------------------------------------- */
/* ----| MISCELLANEOUS |----------------- */
/* ---------------------------------------- */

#errorMessage {
background-color: #DDF;
display: block;
line-height: 1.4em;
margin: 20px;
padding: 20px;
text-align: center;
}

/**
* UberGallery.css created and implimented by,
* Chris Kankiewicz -- http://www.ChrisKankiewicz.com
*/
Loading

0 comments on commit 99e6f64

Please sign in to comment.