Making WordPress.org

Changeset 1637


Ignore:
Timestamp:
05/28/2015 04:40:26 PM (10 years ago)
Author:
samuelsidler
Message:

Make Home Theme: Update styles for the meeting calendar

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php

    r1633 r1637  
    11<?php get_header(); ?>
    22
    3 <table class="wrapper">
    4     <tr>
    5         <th>Team</th>
    6         <th>Name</th>
    7         <th>Next Meeting Date</th>
    8         <th>Time</th>
    9         <th>Location</th>
    10     </tr>
     3<div class="wrapper">
     4    <h2 class="title">Upcoming WordPress Meetings</h2>
     5<table class="schedule">
     6    <thead>
     7        <tr>
     8            <th>Team</th>
     9            <th>Name</th>
     10            <th>Next Meeting Date</th>
     11            <th>Time</th>
     12            <th>Location</th>
     13        </tr>
     14    </thead>
     15    <tbody>
    1116    <?php while( have_posts() ): the_post(); ?>
    1217        <tr id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     
    1722            <td><?php echo $post->location; ?></td>
    1823        </tr>
    19 
    2024    <?php endwhile; ?>
    21 </table><!-- /wrapper -->
     25    </tbody>
     26</table>
     27</div><!-- /wrapper -->
    2228
    2329<?php get_footer(); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/style.css

    r1362 r1637  
    296296}
    297297
     298/* schedule */
     299body.post-type-archive-meeting {
     300    background-color: white;
     301}
     302h2.title {
     303    margin: 30px 10px;
     304    font-size: 36px;
     305    font-weight: 300;
     306    line-height: 1.3;
     307}
     308table.schedule {
     309  width: 100%;
     310  margin: 30px 10px;
     311  font-size: 1.4em;
     312  border-collapse: collapse;
     313}
     314
     315.schedule thead th {
     316  border-bottom: 1px solid rgb(204, 204, 204);
     317  font-weight: bold;
     318  padding: 5px 0px;
     319}
     320
     321table.schedule tbody tr:nth-child(odd) {
     322  background: rgb(232, 232, 232);
     323}
     324
     325table.schedule tbody tr:nth-child(even) {
     326  background: rgb(252, 252, 252);
     327}
     328
     329table.schedule td,
     330table.schedule th {
     331  padding: 5px 3px;
     332}
Note: See TracChangeset for help on using the changeset viewer.