This file contains hidden or 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
| <?php //Opening PHP tag | |
| //Page Slug Body Class | |
| function add_slug_body_class( $classes ) { | |
| global $post; | |
| if ( isset( $post ) ) { | |
| $classes[] = $post->post_type . '-' . $post->post_name; | |
| } | |
| return $classes; | |
| } |
This file contains hidden or 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
| <?php | |
| /* | |
| Template Name: My Custom Page | |
| */ | |
| get_header(); ?> | |
| <div id="primary" class="site-content"> | |
| <div id="content" role="main"> |
This file contains hidden or 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
| .maincontainer table.zebra tr:hover, | |
| .maincontainer table.zebra tr:nth-child(2n+2):hover, | |
| .maincontainer table.zebra tr:nth-child(3n+3):hover, | |
| .maincontainer table.zebra tr:nth-of-type(1):hover:not(.labels) { | |
| background-color: #333333; | |
| color: #FFFFFF; | |
| } |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Apollo 1 Tragedy - Week 6, Part 2</title> | |
| <link href="styles.css" rel="stylesheet" type="text/css"> | |
| <style type="text/css"> | |
| </style> |
This file contains hidden or 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
| <link href="styles.css" rel="stylesheet" type="text/css"> |
This file contains hidden or 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
| /* | |
| Theme Name: TwentyTwelve Child | |
| Description: Child theme for the TwentyTwelve theme | |
| Author: [Your name here] | |
| Template: twentytwelve | |
| */ | |
| @import url("../twentytwelve/style.css"); | |
| /* Begin your custom CSS below */ |
This file contains hidden or 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
| /* CHANGE FIRST OF TYPE */ | |
| .maincontainer table.zebra tr:nth-of-type(1) { | |
| background-color:#ff7373; | |
| } |
This file contains hidden or 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
| /* CHANGE FIRST OF TYPE BUT NOT INSIDE THEAD ROW */ | |
| .maincontainer table.zebra tr:nth-of-type(1):not(.labels) { | |
| background-color:#ff7373; | |
| } |
This file contains hidden or 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
| /* CHANGE BACKGROUND COLOR OF EVERY THIRD ROW */ | |
| .maincontainer table.zebra tr:nth-child(3n+3) { | |
| background-color: #c5c678; | |
| } |
This file contains hidden or 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
| /* CHANGE BACKGROUND COLOR OF ONLY THIRD ROW */ | |
| .maincontainer table.zebra tr:nth-child(3) { | |
| background-color: #b00b00; | |
| } |