Skip to content

Commit

Permalink
Streamlined the repo
Browse files Browse the repository at this point in the history
Removed unwanted theme folders, moved theme folders out of wp-content
folder, deleted wp-content folder. Added read me contents, added
thumbnail image, updated style file for correct attributions.
  • Loading branch information
portableant committed Jun 3, 2014
1 parent dc39ba0 commit c0ec8fa
Show file tree
Hide file tree
Showing 380 changed files with 8,509 additions and 104,111 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.un~
*.swp
templates/custom_footer.html
templates/home/_other_projects.html
templates/home/custom_text.html
templates/custom/*
_ga.html
_gcs.html
_gcs_form.html
.settings*
.project
.buildpath
Thumbs.db
30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
<h1>MicroPasts-Website</h1><br>
MicroPasts Wordpress themes
===========================

This repository contains the theme files for the MicroPasts website, which
is run on Wordpress. It is a child theme of the wpbootstrap and has been developed
by Adi Keinan-Schoonbert.

Relevant folders are:

* themes/wpbootstrap - parent theme; files for the test site (adi.micropasts.org)
* micropasts - child theme; files for the micropasts.org site

Upload the theme folder required to wp-content/themes.


Funded by
=========
![AHRC funded](http://oac.lib.bris.ac.uk/Dserve/images/AHRC%20Logo%20Gray%20LScape2.JPG)

Funded Partners
===============
![British Museum](http://finds.org.uk/images/logos/bm_logo.png)
![UCL](http://crowdsourced.micropasts.org/static/img/black.jpg)
![Portable Antiquities Scheme](http://www.dayofarchaeology.com/wp-content/uploads/2011/05/pasrgbsize4.jpg)

WordPress files for the main MicroPasts website and its test site, for the AHRC funded MicroPasts project.<br>
Relevant folders are:<br>
<i>themes/wpbootstrap</i> - parent theme; files for the test site (adi.micropasts.org)<br>
<i>themes/wpbootstrap-child</i> - child theme; files for the micropasts.org site<br>

10 changes: 10 additions & 0 deletions micropasts/bg.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
$bg = array(
'http://micropasts.org/wp-content/uploads/2014/05/coins.jpg',
'http://micropasts.org/wp-content/uploads/2014/05/terracotta5.jpeg',
'http://micropasts.org/wp-content/uploads/2014/05/hoard.jpg',
'http://micropasts.org/wp-content/uploads/2014/05/easter.jpeg',
'http://micropasts.org/wp-content/uploads/2014/05/testaccio.jpg'
);
$i = rand(0, count($bg)-1);
$selectedBg = $bg[$i];
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added micropasts/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
Theme Name: WP Bootstrap Child
Theme URI: http://teamtreehouse.com/how-to-build-a-simple-responsive-wordpress-site-with-twitter-bootstrap
Description: A simple responsive theme built with Bootstrap
Author: Zac Gordon
Author URI: http://zacgordon.com/
Theme Name: MicroPasts
Theme URI: http://micropasts.org
Description: A child theme built from the wpbootstrap theme for the MicroPasts project
Author: Adi Keinan
Author URI: http://micropasts.org
Template: wpbootstrap
Version: 1.0
Tags: responsive, white, bootstrap
Text Domain: wpbootstrap-child
Text Domain: micropasts
License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/
This is an example theme to go along with the Treehouse blog post on <a href="http://teamtreehouse.com/how-to-build-a-responsive-wordpress-site-with-twitter-bootstrap">How to Build a Simple Responsive WordPress Site Using Twitter Bootstrap</a>.
*/

@import url("../wpbootstrap/style.css");
Expand All @@ -35,7 +34,7 @@ body {
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-position: center;
}
.wrap {
min-height: 100%;
Expand Down Expand Up @@ -87,7 +86,7 @@ body {
width: 100%;
margin-right: auto;
margin-left: auto;
}
}
.menu-container { /* new */
width: 100%;
margin-right: auto;
Expand Down Expand Up @@ -119,7 +118,7 @@ body {
background-color: #000;
padding-bottom: 0px;
margin-bottom: 0px;
margin-top: -145px;
margin-top: -145px;
padding-left: 25px;
padding-right: 25px;
width: 100%;
Expand Down Expand Up @@ -183,14 +182,14 @@ body {
.jumbotron-page p {
padding: 3px;
text-align: left;
font-size: 14px;
font-size: 14px;
}
.jumbotron-page h3, h4 {
text-align:left;
padding-top: 15px;
padding-top: 15px;
}
.jumbotron-page ul {
text-align:left;
text-align:left;
}
.jumbotron-small p {
text-align: left;
Expand All @@ -199,19 +198,19 @@ body {
.jumbotron-small h3 {
text-align: left;
font-size: 18px;
font-weight: bold;
font-weight: bold;
}


/* RESPONSIVENESS */

@media screen and (min-width: 768px) {
.jumbotron-page {
.jumbotron-page {
width: 600px;
margin-right: auto;
margin-left: auto;
}
.container .jumbotron-page {
.container .jumbotron-page {
width: 600px;
margin-right: auto;
margin-left: auto;
Expand All @@ -224,7 +223,7 @@ body {
}

@media (min-width: 992px) {
.container .jumbotron {
.container .jumbotron {
width: 800px;
margin-right: auto;
margin-left: auto;
Expand All @@ -234,39 +233,39 @@ body {
margin-right: auto;
margin-left: auto;
}
.jumbotron-transparent {
.jumbotron-transparent {
width: 850px;
margin-right: auto;
margin-left: auto;
}
.jumbotron-page {
.jumbotron-page {
width: 700px;
margin-right: auto;
margin-left: auto;
}
.jumbotron-small {
.jumbotron-small {
width: 253px;
height: 200px;
}
.navbar-fixed-top {
.navbar-fixed-top {
width: 100%;
margin-right: auto;
margin-left: auto;
}
.container .jumbotron-page {
.container .jumbotron-page {
width: 700px;
margin-right: auto;
margin-left: auto;
}
.btn-primary {
position: absolute;
position: absolute;
bottom: 0;
margin-bottom: 15px;
}
}

@media (min-width: 1200px) {
.container .jumbotron {
.container .jumbotron {
width: 900px;
margin-right: auto;
margin-left: auto;
Expand All @@ -276,26 +275,26 @@ body {
margin-right: auto;
margin-left: auto;
}
.jumbotron-transparent {
.jumbotron-transparent {
width: 950px;
margin-right: auto;
margin-left: auto;
}
.jumbotron-page {
.jumbotron-page {
width: 800px;
margin-right: auto;
margin-left: auto;
}
.jumbotron-small {
.jumbotron-small {
width: 286px;
height: 200px;
}
.btn-primary {
position: absolute;
position: absolute;
bottom: 0;
margin-bottom: 15px;
}
.navbar-fixed-top {
.navbar-fixed-top {
width: 100%;
margin-right: auto;
margin-left: auto;
Expand All @@ -308,12 +307,12 @@ body {
@media (max-width: 992px) {
.home-push {
height: 100px;
}
}
.push {
height: 200px;
}
}
.footer {
height: 230px;
margin-top: -230px;
margin-top: -230px;
}
}
3 changes: 0 additions & 3 deletions wp-content/themes/index.php

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Loading

0 comments on commit c0ec8fa

Please sign in to comment.