Browse files

a few updates to get church section working

  • Loading branch information...
1 parent 490ef86 commit d1643304cd86d5974a38e6c8abe87322a4ab4373 Justin Louie committed Dec 13, 2012
View
2 themes/_s/functions.php
@@ -18,7 +18,7 @@
define( 'WP_THEME_URL', get_template_directory_uri());
}
if(!defined('WP_THEME_DIR')) {
- define( 'WP_THEME_DIR', get_template_directory_uri());
+ define( 'WP_THEME_DIR', get_template_directory());
}
require_once ( TEMPLATEPATH . '/config.php' );
View
21 themes/scacseattle.org/footer.php
@@ -13,10 +13,25 @@
<footer id="colophon" class="site-footer clearfix" role="contentinfo">
- <div class="links-container">
+ <div class="links-container clearfix">
<ul>
- <li><a href="<?php echo home_url("/"); ?>" class="footer-main-link">Home</a></li>
- <li><a href="<?php echo home_url("/"); ?>/visit/" class="footer-main-link">Visit</a></li>
+ <li class="listing-headers">
+ <a href="<?php echo home_url("/"); ?>church/our-vision/" class="footer-main-link">Church</a>
+ <ul class="footer-listings">
+ <?php
+ $page = get_page_by_title('church');
+ wp_list_pages(array(
+ 'title_li' => '',
+ 'child_of' => $page->ID,
+ ));
+ ?>
+ </ul>
+ </li>
+ <li>
+ <a href="<?php echo home_url("/"); ?>visit/" class="footer-main-link">Visit</a>
+ </li>
+ </ul>
+
</div>
<p class="copyright">© 2012 Seattle Chinese Alliance Church.</p>
View
2 themes/scacseattle.org/header.php
@@ -68,7 +68,7 @@
</div>
<div class="csl-container">
- <a href="http://chinese.scacseattle.org/" class="chinese-service-link">中國服務</a>
+ <a href="http://chinese.scacseattle.org/" class="chinese-service-link">Chinese</a>
</div>
</div>
View
8 themes/scacseattle.org/page-homepage.php
@@ -20,15 +20,15 @@
<td class="info-box info-cell">
<table>
<tr>
- <td>8:30am</td>
+ <td class="service-time">8:30am</td>
<td>Cantonese Service 1</td>
</tr>
<tr>
- <td>10:00am</td>
+ <td class="service-time">10:00am</td>
<td>English Ministries Service</td>
</tr>
<tr>
- <td>11:30am</td>
+ <td class="service-time">11:30am</td>
<td>Cantonese Service 2</td>
</tr>
</table>
@@ -39,7 +39,7 @@
Seattle, WA 98108
</p>
- <a href="<?php echo home_url("/")?>/visit/">Directions</a>
+ <a href="<?php echo home_url("/")?>visit/">Directions</a>
</td>
<td class="info-box info-cell">
Coming Soon
View
2 themes/scacseattle.org/page-visit.php
@@ -19,7 +19,7 @@
<form action="http://maps.google.com/maps" method="get" target="_blank">
<label for="saddr"></label>
<input type="text" name="saddr" value="From" id="startAddr" />
- <input type="text" name="daddr" value="2803 S. Orcas St." id="destAddr" />
+ <input type="text" name="daddr" value="2803 S. Orcas St., 98108" id="destAddr" />
<input type="submit" value="Get directions" />
</form>
</div>
View
12 themes/scacseattle.org/sass/church.css.sass
@@ -15,6 +15,16 @@
width: 25%
float: left
+ .leadership-pic
+ padding-right: 10px
+ vertical-align: top
+
+ h1
+ font-size: 20px
+
+ h2
+ font-size: 16px
+ font-weight: normal
.sidebar
margin: 30px 0 0 0
@@ -45,5 +55,5 @@
display: block
position: absolute
left: -1.5em
- top: 0.5px
+ top: 2px
View
2 themes/scacseattle.org/sass/colors.css.sass
@@ -1,7 +1,9 @@
$text-color: #444
+$text-grey: #777
$light-grey: #ECEDED
+$medium-grey: #CCCCCC
$search-box-bg: #EFEFEF
$search-box-radius: 6px
View
12 themes/scacseattle.org/sass/footer.css.sass
@@ -18,8 +18,18 @@
list-style: none
margin: 0px
padding: 0px
+
+ .listing-headers
+ float: left
li
- margin: 0 0 25px 0
+ margin: 0 20px 0px 0
+
+ .footer-listings
+ li
+
+ a
+ color: $text-grey
+
.footer-main-link
text-transform: uppercase
color: #444
View
2 themes/scacseattle.org/sass/header.css.sass
@@ -15,6 +15,8 @@
top: 17px
right: 22px
+.chinese-service-link
+ text-transform: uppercase
.site-search
margin: 10px 0 0 0
View
3 themes/scacseattle.org/sass/homepage.css.sass
@@ -25,6 +25,9 @@
width: 20%
vertical-align: top
+ .service-time
+ padding-right: 5px
+
.info-header
text-transform: uppercase
font-size: 11px
View
21 themes/scacseattle.org/sass/posts-pages.css.sass
@@ -0,0 +1,21 @@
+.alignleft
+ float: left
+
+.post-divider
+ width: 100%
+ height: 1px
+ display: block
+ background: $medium-grey
+ margin-top: 15px
+
+.page, .post
+ blockquote
+ font-size: 20px
+ border: 0
+ margin: 0
+ padding: 0
+
+ table
+ h1,h2,h3,h4,h5
+ margin-top: 0
+ padding-top: 0
View
1 themes/scacseattle.org/sass/style.css.sass
@@ -19,6 +19,7 @@
@import "visit.css.sass"
@import "church.css.sass"
@import "sermons.css.sass"
+@import "posts-pages.css.sass"
body
View
574 themes/scacseattle.org/style.css
@@ -1,264 +1,310 @@
-/* Theme Name: SCAC Seattle's English Theme
- * Theme URI: http://english.scacseattle.org/
- * Description: I like turtles!
- * Author: Team Awesome
- * Template: _s
- * Version: v0.1
- *
- * Nom nom nom nom
- *
- */
-.site-header {
- margin: 15px 0 0 0; }
-
-.site-title {
- font-size: 20px;
- float: left;
- font-weight: bolder; }
- .site-title a {
- color: black; }
-
-.csl-container {
- float: right;
- position: relative;
- top: 17px;
- right: 22px; }
-
-.site-search {
- margin: 10px 0 0 0;
- float: right;
- background: #efefef;
- -webkit-border-radius: 6px 6px;
- -moz-border-radius: 1;
- -khtml-border-radius: 1;
- border-radius: 1; }
- .site-search div #s {
- color: #aaaaaa;
- background: #efefef;
- border: 0;
- padding: 7px 15px; }
- .site-search div #searchsubmit {
- border: 0px;
- background: url("images/search_mag.png") no-repeat;
- cursor: pointer;
- width: 29px;
- position: relative;
- top: 1px; }
-
-#primary-nav {
- display: table;
- width: 100%;
- margin: 10px 0 10px; }
- #primary-nav .navbar {
- padding: 0 0 20px 0px;
- display: table-row;
- width: 100%; }
- #primary-nav .navbar .nav-item {
- display: table-cell;
- width: 20%;
- position: relative;
- padding: 20px;
- text-align: center;
- border-top: 1px solid #222222; }
- #primary-nav .navbar .nav-item a {
- padding: 20px 0px;
- margin: 0 4%;
- text-transform: uppercase;
- color: black;
- font-size: 12px; }
- #primary-nav .navbar .nav-item a:hover {
- color: #aaaaaa; }
-
-.site-footer {
- position: relative;
- background: #eceded;
- width: 100%;
- padding: 0 0 80px 0;
- margin: 40px 0 0 0; }
- .site-footer .copyright {
- color: #777777;
- font-size: 11px;
- margin: 15px 0 0 30px;
- float: left; }
- .site-footer .links-container {
- display: block;
- margin: 30px 0 0 30px; }
- .site-footer .links-container ul {
- list-style: none;
- margin: 0px;
- padding: 0px; }
- .site-footer .links-container ul li {
- margin: 0 0 25px 0; }
- .site-footer .links-container .footer-main-link {
- text-transform: uppercase;
- color: #444444;
- font-weight: bold;
- font-size: 11px; }
- .site-footer .social-btns {
- position: absolute;
- right: 30px;
- top: 20px; }
- .site-footer .social-btns .fb-btn {
- position: relative;
- top: -7px; }
-
-.flexslider {
- border: 0px;
- overflow: hidden;
- margin: 30px 0 30px 0; }
- .flexslider .flex-control-nav {
- bottom: 10px; }
- .flexslider .flex-control-paging li a {
- background: #cccccc; }
- .flexslider .flex-control-paging li a.flex-active {
- background: #909090; }
-
-.info-area {
- display: table;
- width: 100%;
- margin: 35px 0 45px; }
- .info-area .info-row {
- display: table-row;
- width: 100%; }
- .info-area .info-row .info-cell {
- width: 20%;
- vertical-align: top; }
- .info-area .info-row .info-header {
- text-transform: uppercase;
- font-size: 11px;
- font-weight: bold; }
- .info-area .info-row .info-header .header {
- padding: 0 0 7px 0px;
- border-bottom: 3px solid #999999;
- width: 90%; }
- .info-area .info-row .info-header:last-child .header {
- width: 100%; }
- .info-area .info-row .info-box {
- padding: 15px 0 0px 0px;
- display: table-cell; }
-
-.announcement-img {
- width: 100%; }
-
-.announcement-item {
- width: 100%;
- padding: 10px 0;
- border-bottom: 1px solid #dddddd; }
- .announcement-item:last-child {
- border-bottom: none; }
-
-.col-two-thirds {
- width: 75%;
- float: left;
- padding-right: 40px; }
- .col-two-thirds small {
- display: none; }
-
-.map-directions h2 {
- margin-top: 20px; }
-.map-directions form {
- margin: 20px 0 40px 0; }
- .map-directions form input {
- padding: 7px;
- border: 1px solid #cccccc;
- background: #eeeeee; }
- .map-directions form input[type='text'] {
- width: 293px; }
- .map-directions form input[type='submit'] {
- border: 0;
- padding: 7px;
- margin: 0 0 0 7px;
- background-color: #6d8f23;
- color: #efefef; }
-
-.col-one-third {
- width: 20%;
- float: left;
- margin-top: -1em; }
-
-.page {
- padding: 0 10px; }
- .page h1 a {
- color: #444444; }
-
-.page-church {
- width: 100%; }
- .page-church .col-left {
- width: 75%;
- float: left; }
- .page-church .col-right {
- width: 25%;
- float: left; }
-
-.sidebar {
- margin: 30px 0 0 0; }
- .sidebar .sidebar-title {
- margin: 0 0 20px 40px;
- text-transform: uppercase;
- font-weight: normal;
- font-size: 12px; }
- .sidebar .sidebar-page-listing {
- list-style: none; }
- .sidebar .sidebar-page-listing li {
- margin-bottom: 0.5em; }
- .sidebar .sidebar-page-listing a {
- font-size: 11px;
- position: relative;
- color: #444444; }
- .sidebar .sidebar-page-listing .current_page_item a {
- color: #77991f;
- font-weight: bold; }
- .sidebar .sidebar-page-listing .current_page_item .active-box {
- height: 1em;
- width: 1em;
- background: #77991f;
- display: block;
- position: absolute;
- left: -1.5em;
- top: 0.5px; }
-
-body {
- font-family: "Open Sans", sans-serif, Arial;
- font-size: 12px;
- margin: 0px;
- color: #444444; }
-
-a {
- text-decoration: none;
- color: #77991f; }
-
-.container {
- width: 980px;
- margin: 0 auto; }
-
-.clearfix {
- overflow: hidden; }
-
-.black-bar {
- border-bottom: 1px solid #222222; }
-
-table, tr, td {
- border-spacing: 0;
- border-collapse: collapse; }
-
-.disabled a {
- color: #cccccc !important;
- pointer-events: none;
- cursor: default; }
-
-h1 {
- font-weight: normal;
- font-size: 18px; }
-
-*:focus {
- outline: none; }
-
-/* Sermons pages. */
-.ct_sermon {
- width: 70%;
- border-bottom: 2px solid #ccc; }
-.social.sermons ul {
- padding-left: 0px; }
-.social.sermons ul li {
- list-style-type: none; }
-
+/*
+ * Theme Name: SCAC Seattle's English Theme
+ *
+ * Theme URI: http://english.scacseattle.org/
+ *
+ * Description: I like turtles!
+ *
+ * Author: Team Awesome
+ *
+ * Template: _s
+ *
+ * Version: v0.1
+ *
+ *
+ *
+ * Nom nom nom nom
+ *
+ *
+ *
+ */
+.site-header {
+ margin: 15px 0 0 0; }
+
+.site-title {
+ font-size: 20px;
+ float: left;
+ font-weight: bolder; }
+ .site-title a {
+ color: black; }
+
+.csl-container {
+ float: right;
+ position: relative;
+ top: 17px;
+ right: 22px; }
+
+.chinese-service-link {
+ text-transform: uppercase; }
+
+.site-search {
+ margin: 10px 0 0 0;
+ float: right;
+ background: #efefef;
+ -webkit-border-radius: 6px 6px;
+ -moz-border-radius: 1;
+ -khtml-border-radius: 1;
+ border-radius: 1; }
+ .site-search div #s {
+ color: #aaaaaa;
+ background: #efefef;
+ border: 0;
+ padding: 7px 15px; }
+ .site-search div #searchsubmit {
+ border: 0px;
+ background: url("images/search_mag.png") no-repeat;
+ cursor: pointer;
+ width: 29px;
+ position: relative;
+ top: 1px; }
+
+#primary-nav {
+ display: table;
+ width: 100%;
+ margin: 10px 0 10px; }
+ #primary-nav .navbar {
+ padding: 0 0 20px 0px;
+ display: table-row;
+ width: 100%; }
+ #primary-nav .navbar .nav-item {
+ display: table-cell;
+ width: 20%;
+ position: relative;
+ padding: 20px;
+ text-align: center;
+ border-top: 1px solid #222222; }
+ #primary-nav .navbar .nav-item a {
+ padding: 20px 0px;
+ margin: 0 4%;
+ text-transform: uppercase;
+ color: black;
+ font-size: 12px; }
+ #primary-nav .navbar .nav-item a:hover {
+ color: #aaaaaa; }
+
+.site-footer {
+ position: relative;
+ background: #eceded;
+ width: 100%;
+ padding: 0 0 80px 0;
+ margin: 40px 0 0 0; }
+ .site-footer .copyright {
+ color: #777777;
+ font-size: 11px;
+ margin: 15px 0 0 30px;
+ float: left; }
+ .site-footer .links-container {
+ display: block;
+ margin: 30px 0 0 30px; }
+ .site-footer .links-container ul {
+ list-style: none;
+ margin: 0px;
+ padding: 0px; }
+ .site-footer .links-container ul .listing-headers {
+ float: left; }
+ .site-footer .links-container ul li {
+ margin: 0 20px 0px 0; }
+ .site-footer .links-container ul li .footer-listings li a {
+ color: #777777; }
+ .site-footer .links-container .footer-main-link {
+ text-transform: uppercase;
+ color: #444444;
+ font-weight: bold;
+ font-size: 11px; }
+ .site-footer .social-btns {
+ position: absolute;
+ right: 30px;
+ top: 20px; }
+ .site-footer .social-btns .fb-btn {
+ position: relative;
+ top: -7px; }
+
+.flexslider {
+ border: 0px;
+ overflow: hidden;
+ margin: 30px 0 30px 0; }
+ .flexslider .flex-control-nav {
+ bottom: 10px; }
+ .flexslider .flex-control-paging li a {
+ background: #cccccc; }
+ .flexslider .flex-control-paging li a.flex-active {
+ background: #909090; }
+
+.info-area {
+ display: table;
+ width: 100%;
+ margin: 35px 0 45px; }
+ .info-area .info-row {
+ display: table-row;
+ width: 100%; }
+ .info-area .info-row .info-cell {
+ width: 20%;
+ vertical-align: top; }
+ .info-area .info-row .info-cell .service-time {
+ padding-right: 5px; }
+ .info-area .info-row .info-header {
+ text-transform: uppercase;
+ font-size: 11px;
+ font-weight: bold; }
+ .info-area .info-row .info-header .header {
+ padding: 0 0 7px 0px;
+ border-bottom: 3px solid #999999;
+ width: 90%; }
+ .info-area .info-row .info-header:last-child .header {
+ width: 100%; }
+ .info-area .info-row .info-box {
+ padding: 15px 0 0px 0px;
+ display: table-cell; }
+
+.announcement-img {
+ width: 100%; }
+
+.announcement-item {
+ width: 100%;
+ padding: 10px 0;
+ border-bottom: 1px solid #dddddd; }
+ .announcement-item:last-child {
+ border-bottom: none; }
+
+.col-two-thirds {
+ width: 75%;
+ float: left;
+ padding-right: 40px; }
+ .col-two-thirds small {
+ display: none; }
+
+.map-directions h2 {
+ margin-top: 20px; }
+.map-directions form {
+ margin: 20px 0 40px 0; }
+ .map-directions form input {
+ padding: 7px;
+ border: 1px solid #cccccc;
+ background: #eeeeee; }
+ .map-directions form input[type='text'] {
+ width: 293px; }
+ .map-directions form input[type='submit'] {
+ border: 0;
+ padding: 7px;
+ margin: 0 0 0 7px;
+ background-color: #6d8f23;
+ color: #efefef; }
+
+.col-one-third {
+ width: 20%;
+ float: left;
+ margin-top: -1em; }
+
+.page {
+ padding: 0 10px; }
+ .page h1 a {
+ color: #444444; }
+
+.page-church {
+ width: 100%; }
+ .page-church .col-left {
+ width: 75%;
+ float: left; }
+ .page-church .col-right {
+ width: 25%;
+ float: left; }
+ .page-church .leadership-pic {
+ padding-right: 10px;
+ vertical-align: top; }
+ .page-church h1 {
+ font-size: 20px; }
+ .page-church h2 {
+ font-size: 16px;
+ font-weight: normal; }
+
+.sidebar {
+ margin: 30px 0 0 0; }
+ .sidebar .sidebar-title {
+ margin: 0 0 20px 40px;
+ text-transform: uppercase;
+ font-weight: normal;
+ font-size: 12px; }
+ .sidebar .sidebar-page-listing {
+ list-style: none; }
+ .sidebar .sidebar-page-listing li {
+ margin-bottom: 0.5em; }
+ .sidebar .sidebar-page-listing a {
+ font-size: 11px;
+ position: relative;
+ color: #444444; }
+ .sidebar .sidebar-page-listing .current_page_item a {
+ color: #77991f;
+ font-weight: bold; }
+ .sidebar .sidebar-page-listing .current_page_item .active-box {
+ height: 1em;
+ width: 1em;
+ background: #77991f;
+ display: block;
+ position: absolute;
+ left: -1.5em;
+ top: 2px; }
+
+.ct_sermon {
+ width: 70%;
+ border-bottom: 2px solid #cccccc; }
+
+.social.sermons ul {
+ padding-left: 0px; }
+
+.social.sermons ul li {
+ list-style-type: none; }
+
+.alignleft {
+ float: left; }
+
+.post-divider {
+ width: 100%;
+ height: 1px;
+ display: block;
+ background: #cccccc;
+ margin-top: 15px; }
+
+.page blockquote, .post blockquote {
+ font-size: 20px;
+ border: 0;
+ margin: 0;
+ padding: 0; }
+.page table h1, .page table h2, .page table h3, .page table h4, .page table h5, .post table h1, .post table h2, .post table h3, .post table h4, .post table h5 {
+ margin-top: 0;
+ padding-top: 0; }
+
+body {
+ font-family: "Open Sans", sans-serif, Arial;
+ font-size: 12px;
+ margin: 0px;
+ color: #444444; }
+
+a {
+ text-decoration: none;
+ color: #77991f; }
+
+.container {
+ width: 980px;
+ margin: 0 auto; }
+
+.clearfix {
+ overflow: hidden; }
+
+.black-bar {
+ border-bottom: 1px solid #222222; }
+
+table, tr, td {
+ border-spacing: 0;
+ border-collapse: collapse; }
+
+.disabled a {
+ color: #cccccc !important;
+ pointer-events: none;
+ cursor: default; }
+
+h1 {
+ font-weight: normal;
+ font-size: 18px; }
+
+*:focus {
+ outline: none; }

0 comments on commit d164330

Please sign in to comment.