├── 404.php ├── README.md ├── archive.php ├── comments.php ├── content-aside.php ├── content-gallery.php ├── content-image.php ├── content-link.php ├── content-page.php ├── content-quote.php ├── content-status.php ├── content.php ├── fonts ├── COPYING.txt ├── LICENSE.txt ├── genericons-regular-webfont.eot ├── genericons-regular-webfont.svg ├── genericons-regular-webfont.ttf └── genericons-regular-webfont.woff ├── footer.php ├── functions.php ├── header.php ├── image.php ├── inc ├── custom-header.php └── template-tags.php ├── index.php ├── js ├── html5.js ├── keyboard-image-navigation.js └── small-menu.js ├── license.txt ├── page-templates └── search-page.php ├── page.php ├── searchform.php ├── sidebar.php ├── single.php ├── style.css ├── styles └── grid.css └── taxonomy-post_format.php /404.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 |
13 | 14 |
15 |
16 |

17 |
18 | 19 |
20 |

21 | 22 | 23 | 24 | '
', 'after_widget' => '
' ) ); ?> 25 | 26 |
27 |

28 |
    29 | 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> 30 |
31 |
32 | 33 |
34 |

35 |
    36 | 37 |
38 |
39 | 40 |
41 | 42 |
43 | 44 |
45 |
46 | 47 |
48 |
49 | 50 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About 2 | ------- 3 | * Theme Name: Minimal Stream 4 | * Theme URI: http://andrewspittle.net/projects/minimal-stream 5 | * Author: Andrew Spittle 6 | * Author URI: http://andrewspittle.net 7 | * Description: A simple, responsive theme with a clean grid. 8 | * Version: 1.0 9 | * License: GNU General Public License 10 | * License URI: license.txt 11 | 12 | * This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. 13 | 14 | * A simple, responsive WordPress theme that includes: 15 | 16 | - A helpful 404 template. 17 | - Keyboard navigation for image attachment templates. The script can be found in js/keyboard-navigation.js. It’s enqueued in functions.php. 18 | - A script at js/small-menu.js that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It’s enqueued in functions.php. -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 17 | 18 |
19 |

20 | ' . single_cat_title( '', false ) . '' ); 23 | 24 | } elseif ( is_tag() ) { 25 | printf( __( 'Tag Archives: %s', 'minimal_stream' ), '' . single_tag_title( '', false ) . '' ); 26 | 27 | } elseif ( is_author() ) { 28 | /* Queue the first post, that way we know 29 | * what author we're dealing with (if that is the case). 30 | */ 31 | the_post(); 32 | printf( __( 'Author Archives: %s', 'minimal_stream' ), '' . get_the_author() . '' ); 33 | /* Since we called the_post() above, we need to 34 | * rewind the loop back to the beginning that way 35 | * we can run the loop properly, in full. 36 | */ 37 | rewind_posts(); 38 | 39 | } elseif ( is_day() ) { 40 | printf( __( 'Daily Archives: %s', 'minimal_stream' ), '' . get_the_date() . '' ); 41 | 42 | } elseif ( is_month() ) { 43 | printf( __( 'Monthly Archives: %s', 'minimal_stream' ), '' . get_the_date( 'F Y' ) . '' ); 44 | 45 | } elseif ( is_year() ) { 46 | printf( __( 'Yearly Archives: %s', 'minimal_stream' ), '' . get_the_date( 'Y' ) . '' ); 47 | 48 | } else { 49 | _e( 'Archives', 'minimal_stream' ); 50 | 51 | } 52 | ?> 53 |

54 | ' . $category_description . '
' ); 60 | 61 | } elseif ( is_tag() ) { 62 | // show an optional tag description 63 | $tag_description = tag_description(); 64 | if ( ! empty( $tag_description ) ) 65 | echo apply_filters( 'tag_archive_meta', '
' . $tag_description . '
' ); 66 | } 67 | ?> 68 | 69 | 70 | 71 | 72 | 73 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 |
93 | 94 | -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 14 | 15 | 24 | 25 |
26 | 27 | 28 | 29 | 30 |

31 | ' . get_the_title() . '' ); 34 | ?> 35 |

36 | 37 |
    38 | 'minimal_stream_comment', 'type' => 'comment' ) ); 46 | ?> 47 |
48 |
    49 | 'minimal_stream_comment', 'type' => 'pingback' ) ); 57 | ?> 58 |
59 | 60 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 61 | 66 | 67 | 68 | 69 | 70 | 74 |

75 | 76 | 77 | 78 | 79 |
80 | -------------------------------------------------------------------------------- /content-aside.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 | →', 'minimal_stream' ) ); ?> 13 | '' ) ); ?> 14 |
15 | 16 | 25 |
26 | -------------------------------------------------------------------------------- /content-gallery.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 | 16 |
17 | 18 |

19 | 20 |

21 | 22 |
23 | 24 |
25 | 26 | →', 'minimalstream' ) ); ?> 27 | 28 | 29 | 30 | get_the_ID(), 34 | 'post_status' => 'inherit', 35 | 'post_type' => 'attachment', 36 | 'post_mime_type' => 'image', 37 | 'order' => 'ASC', 38 | 'orderby' => 'menu_order ID', 39 | 'numberposts' => 1) 40 | ); 41 | foreach ( $attachments as $thumb_id => $attachment ) 42 | echo wp_get_attachment_image( $thumb_id, 'featured-thumbnail' ); // whatever size you want 43 | } 44 | the_excerpt(); 45 | ?> 46 | 47 | 48 | 49 | 50 | '' ) ); ?> 51 |
52 | 53 | 54 | 63 |
64 | -------------------------------------------------------------------------------- /content-image.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 | 13 |

14 | 15 |

16 | 17 |
18 | 19 |
20 | →', 'minimal_stream' ) ); ?> 21 | '' ) ); ?> 22 |
23 | 24 | 33 |
34 | -------------------------------------------------------------------------------- /content-link.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 | →', 'minimal_stream' ) ); ?> 13 | '' ) ); ?> 14 |
15 | 16 | 25 |
26 | -------------------------------------------------------------------------------- /content-page.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 |

13 |
14 | 15 |
16 | 17 | '' ) ); ?> 18 |
19 | 20 | 23 |
24 | -------------------------------------------------------------------------------- /content-quote.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 | →', 'minimal_stream' ) ); ?> 13 | '' ) ); ?> 14 |
15 | 16 | 25 |
26 | -------------------------------------------------------------------------------- /content-status.php: -------------------------------------------------------------------------------- 1 | 9 | 10 |
> 11 |
12 | 13 | %1$s', 'minimal_stream' ), 14 | get_avatar( get_the_author_meta( 'email' ), '55' ) 15 | ); ?> 16 | 17 |
18 | 19 |
20 | →', 'minimal_stream' ) ); ?> 21 | '' ) ); ?> 22 |
23 | 24 | 33 |
34 | -------------------------------------------------------------------------------- /content.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 |
> 10 | 11 |
> 12 | 13 | 24 |
25 | 26 |

27 | 28 |

29 | 30 |
31 | 32 | 33 |
34 | 35 |
36 | 37 |
38 | 39 |
40 | 41 |
42 | →', 'minimal_stream' ) ); ?> 43 | '' ) ); ?> 44 |
45 | 46 | 47 |
48 | 53 | 54 | ', '' ); ?> 55 |
56 |
57 | -------------------------------------------------------------------------------- /fonts/COPYING.txt: -------------------------------------------------------------------------------- 1 | Genericons is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 2 | 3 | The fonts are distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 4 | 5 | You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 6 | 7 | As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. 8 | 9 | This license does not convey any intellectual property rights to third party trademarks that may be included in the icon font; such marks remain subject to all rights and guidelines of use of their owner. -------------------------------------------------------------------------------- /fonts/LICENSE.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /fonts/genericons-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewspittle/Minimal-Stream/2f9583cbe559b7a4a66e0b595c4dcadaf3c6d3c4/fonts/genericons-regular-webfont.eot -------------------------------------------------------------------------------- /fonts/genericons-regular-webfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /fonts/genericons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewspittle/Minimal-Stream/2f9583cbe559b7a4a66e0b595c4dcadaf3c6d3c4/fonts/genericons-regular-webfont.ttf -------------------------------------------------------------------------------- /fonts/genericons-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewspittle/Minimal-Stream/2f9583cbe559b7a4a66e0b595c4dcadaf3c6d3c4/fonts/genericons-regular-webfont.woff -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 |
19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | __( 'Primary Menu', 'minimal_stream' ), 63 | ) ); 64 | 65 | /** 66 | * Add support for the Aside Post Formats 67 | */ 68 | add_theme_support( 'post-formats', array( 'aside', 'gallery', 'link', 'status', 'image', 'quote' ) ); 69 | } 70 | endif; // minimal_stream_setup 71 | add_action( 'after_setup_theme', 'minimal_stream_setup' ); 72 | 73 | /** 74 | * Register widgetized area and update sidebar with default widgets 75 | * 76 | * @since Minimal Stream 1.0 77 | */ 78 | function minimal_stream_widgets_init() { 79 | register_sidebar( array( 80 | 'name' => __( 'Search page widgets', 'minimal_stream' ), 81 | 'id' => 'sidebar-1', 82 | 'description' => 'Appears in the search page template. Recommended use is for links or custom menu widgets that list your favorite posts.', 83 | 'before_widget' => '', 85 | 'before_title' => '

', 86 | 'after_title' => '

', 87 | ) ); 88 | } 89 | add_action( 'widgets_init', 'minimal_stream_widgets_init' ); 90 | 91 | /** 92 | * Enqueue scripts and styles 93 | */ 94 | function minimal_stream_scripts() { 95 | wp_enqueue_style( 'style', get_stylesheet_uri(), '', '20130516-1' ); 96 | 97 | wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true ); 98 | 99 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 100 | wp_enqueue_script( 'comment-reply' ); 101 | } 102 | 103 | if ( is_singular() && wp_attachment_is_image() ) { 104 | wp_enqueue_script( 'keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20120202' ); 105 | } 106 | } 107 | add_action( 'wp_enqueue_scripts', 'minimal_stream_scripts' ); 108 | 109 | /** 110 | * Implement custom excerpt link 111 | */ 112 | function minimal_stream_excerpt_more( $more ) { 113 | global $post; 114 | return '... Continue reading →'; 115 | } 116 | add_filter('excerpt_more', 'minimal_stream_excerpt_more'); 117 | 118 | /** 119 | * Implement custom excerpt length 120 | */ 121 | function minimal_stream_excerpt_length( $length ) { 122 | return 45; 123 | } 124 | add_filter( 'excerpt_length', 'minimal_stream_excerpt_length', 999 ); 125 | 126 | /** 127 | * Implement the Custom Header feature 128 | */ 129 | require( get_template_directory() . '/inc/custom-header.php' ); 130 | 131 | /** 132 | * Remove URL field from the comment form 133 | */ 134 | add_filter( 'comment_form_default_fields', 'minimal_stream_remove_url' ); 135 | 136 | function minimal_stream_remove_url( $arg ) { 137 | $arg['url'] = ''; 138 | return $arg; 139 | } 140 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | section and everything up till
6 | * 7 | * @package Minimal Stream 8 | * @since Minimal Stream 1.0 9 | */ 10 | ?> 11 | > 12 | 13 | 14 | 15 | <?php 16 | /* 17 | * Print the <title> tag based on what is being viewed. 18 | */ 19 | global $page, $paged; 20 | 21 | wp_title( '|', true, 'right' ); 22 | 23 | // Add the blog name. 24 | bloginfo( 'name' ); 25 | 26 | // Add the blog description for the home/front page. 27 | $site_description = get_bloginfo( 'description', 'display' ); 28 | if ( $site_description && ( is_home() || is_front_page() ) ) 29 | echo " | $site_description"; 30 | 31 | // Add a page number if necessary: 32 | if ( $paged >= 2 || $page >= 2 ) 33 | echo ' | ' . sprintf( __( 'Page %s', 'minimal_stream' ), max( $paged, $page ) ); 34 | 35 | ?> 36 | 37 | 38 | 39 | 40 | 41 | 42 | > 43 |
44 |
45 | 46 | 47 | 68 | 69 |
-------------------------------------------------------------------------------- /image.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |
> 18 |
19 |

20 | 21 | 36 |
37 | 38 |
39 | 40 |
41 |
42 | $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); 48 | foreach ( $attachments as $k => $attachment ) { 49 | if ( $attachment->ID == $post->ID ) 50 | break; 51 | } 52 | $k++; 53 | // If there is more than 1 attachment in a gallery 54 | if ( count( $attachments ) > 1 ) { 55 | if ( isset( $attachments[ $k ] ) ) 56 | // get the URL of the next image attachment 57 | $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); 58 | else 59 | // or get the URL of the first image attachment 60 | $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); 61 | } else { 62 | // or, if there's only 1 image, get the URL of the image 63 | $next_attachment_url = wp_get_attachment_url(); 64 | } 65 | ?> 66 | 67 | ID, $attachment_size ); 70 | ?> 71 |
72 | 73 | post_excerpt ) ) : ?> 74 |
75 | 76 |
77 | 78 |
79 | 80 | 81 | '' ) ); ?> 82 | 83 |
84 | 85 |
86 | 91 | 92 | 93 | Post a comment or leave a trackback: Trackback URL.', 'minimal_stream' ), get_trackback_url() ); ?> 94 | 95 | Trackback URL.', 'minimal_stream' ), get_trackback_url() ); ?> 96 | 97 | post a comment.', 'minimal_stream' ); ?> 98 | 99 | 100 | 101 | ', '' ); ?> 102 |
103 |
104 | 105 | 106 | 107 | 108 | 109 |
110 |
111 | 112 | -------------------------------------------------------------------------------- /inc/custom-header.php: -------------------------------------------------------------------------------- 1 | '', 25 | 'default-text-color' => '000', 26 | 'width' => 250, 27 | 'height' => 250, 28 | 'flex-height' => false, 29 | 'header-text' => false, 30 | 'admin-head-callback' => 'minimal_stream_admin_header_style', 31 | 'admin-preview-callback' => 'minimal_stream_admin_header_image', 32 | ); 33 | 34 | $args = apply_filters( 'minimal_stream_custom_header_args', $args ); 35 | 36 | if ( function_exists( 'wp_get_theme' ) ) { 37 | add_theme_support( 'custom-header', $args ); 38 | } else { 39 | // Compat: Versions of WordPress prior to 3.4. 40 | define( 'HEADER_TEXTCOLOR', $args['default-text-color'] ); 41 | define( 'HEADER_IMAGE', $args['default-image'] ); 42 | define( 'HEADER_IMAGE_WIDTH', $args['width'] ); 43 | define( 'HEADER_IMAGE_HEIGHT', $args['height'] ); 44 | add_custom_image_header( $args['wp-head-callback'], $args['admin-head-callback'], $args['admin-preview-callback'] ); 45 | } 46 | } 47 | add_action( 'after_setup_theme', 'minimal_stream_custom_header_setup' ); 48 | 49 | /** 50 | * Shiv for get_custom_header(). 51 | * 52 | * get_custom_header() was introduced to WordPress 53 | * in version 3.4. To provide backward compatibility 54 | * with previous versions, we will define our own version 55 | * of this function. 56 | * 57 | * @return stdClass All properties represent attributes of the curent header image. 58 | * 59 | * @package _s 60 | * @since Minimal Stream 1.1 61 | */ 62 | 63 | if ( ! function_exists( 'get_custom_header' ) ) { 64 | function get_custom_header() { 65 | return (object) array( 66 | 'url' => get_header_image(), 67 | 'thumbnail_url' => get_header_image(), 68 | 'width' => HEADER_IMAGE_WIDTH, 69 | 'height' => HEADER_IMAGE_HEIGHT, 70 | ); 71 | } 72 | } 73 | 74 | if ( ! function_exists( 'minimal_stream_admin_header_style' ) ) : 75 | /** 76 | * Styles the header image displayed on the Appearance > Header admin panel. 77 | * 78 | * @see minimal_stream_custom_header_setup(). 79 | * 80 | * @since Minimal Stream 1.0 81 | */ 82 | function minimal_stream_admin_header_style() { 83 | ?> 84 | 93 | Header admin panel. 100 | * 101 | * @see minimal_stream_custom_header_setup(). 102 | * 103 | * @since Minimal Stream 1.0 104 | */ 105 | function minimal_stream_admin_header_image() { ?> 106 |
107 | 109 | 110 | 111 |
112 | post_parent ) : get_adjacent_post( false, '', true ); 23 | $next = get_adjacent_post( false, '', false ); 24 | 25 | if ( ! $next && ! $previous ) 26 | return; 27 | } 28 | 29 | // Don't print empty markup in archives if there's only one page. 30 | if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) ) 31 | return; 32 | 33 | $nav_class = 'site-navigation paging-navigation'; 34 | if ( is_single() ) 35 | $nav_class = 'site-navigation post-navigation'; 36 | 37 | ?> 38 |
', '' . _x( '←', 'Previous post link', 'minimal_stream' ) . ' Prev' ); ?> 44 | // 45 | %link
', 'Next ' . _x( '→', 'Next post link', 'minimal_stream' ) . '' ); ?> 46 | 47 | max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?> 48 | 49 | 50 | 51 | 52 | // 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | comment_type ) : 75 | case 'pingback' : 76 | case 'trackback' : 77 | ?> 78 |
  • 79 |

    80 | 84 |
  • id="li-comment-"> 85 |
    86 |
    87 |
    88 | 89 | %s', get_comment_author_link() ) ); ?> 90 |
    91 | comment_approved == '0' ) : ?> 92 | 93 |
    94 | 95 | 96 | 105 |
    106 | 107 |
    108 | 109 |
    110 | $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 111 |
    112 |
    113 | 114 | ' ) ); 129 | printf( __( '', 'minimal_stream' ), 130 | esc_url( get_permalink() ), 131 | esc_attr( get_the_time() ), 132 | esc_attr( get_the_date( 'c' ) ), 133 | esc_html( get_the_date() ) 134 | ); 135 | printf( __( '' ) ); 136 | if ( has_tag() ) { 137 | printf( __( '' ) ); 140 | } 141 | } 142 | else { 143 | printf( __( '' ) ); 149 | if ( has_tag() ) { 150 | printf( __( '' ) ); 153 | } 154 | } 155 | } 156 | endif; 157 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
    18 |
    19 | 20 | 21 | 22 | 23 | 24 | 25 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
    44 |
    45 | 46 | -------------------------------------------------------------------------------- /js/html5.js: -------------------------------------------------------------------------------- 1 | /*! HTML5 Shiv v3.6 stable | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ 2 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 3 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 4 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); 5 | var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, 6 | b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 9 | 10 |
    11 |
    12 | 13 |
    14 | 15 |
    16 | 17 |
    18 | 19 |
    20 | 21 |

    Monthly archives

    22 |
      23 | 24 |
    25 | 26 |
    27 |
    28 | 29 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
    17 |
    18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
    28 |
    29 | 30 | -------------------------------------------------------------------------------- /searchform.php: -------------------------------------------------------------------------------- 1 | 9 | 14 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
    12 |
    13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 25 | 26 | 27 | 28 |
    29 |
    30 | 31 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Minimal Stream 3 | Theme URI: http://andrewspittle.net/projects/minimal-stream 4 | Author: Andrew Spittle 5 | Author URI: http://andrewspittle.net 6 | Description: A simple, responsive theme with a clean grid. 7 | Version: 1.0 8 | License: GNU General Public License 9 | License URI: license.txt 10 | Tags: 11 | 12 | This theme, like WordPress, is licensed under the GPL. 13 | Use it to make something cool, have fun, and share what you've learned with others. 14 | 15 | Resetting and rebuilding styles have been helped along thanks to the fine work of 16 | Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html 17 | along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ 18 | and Blueprint http://www.blueprintcss.org/ 19 | */ 20 | 21 | /* =Reset 22 | -------------------------------------------------------------- */ 23 | 24 | html, body, div, span, applet, object, iframe, 25 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 26 | a, abbr, acronym, address, big, cite, code, 27 | del, dfn, em, font, ins, kbd, q, s, samp, 28 | small, strike, strong, sub, sup, tt, var, 29 | dl, dt, dd, ol, ul, li, 30 | fieldset, form, label, legend, 31 | table, caption, tbody, tfoot, thead, tr, th, td { 32 | border: 0; 33 | font-family: inherit; 34 | font-size: 100%; 35 | font-style: inherit; 36 | font-weight: inherit; 37 | margin: 0; 38 | outline: 0; 39 | padding: 0; 40 | vertical-align: baseline; 41 | } 42 | html { 43 | font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ 44 | overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ 45 | -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ 46 | -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ 47 | } 48 | body { 49 | background: #fff; 50 | } 51 | article, 52 | aside, 53 | details, 54 | figcaption, 55 | figure, 56 | footer, 57 | header, 58 | hgroup, 59 | nav, 60 | section { 61 | display: block; 62 | } 63 | ol, ul { 64 | list-style: none; 65 | } 66 | table { /* tables still need 'cellspacing="0"' in the markup */ 67 | border-collapse: separate; 68 | border-spacing: 0; 69 | } 70 | caption, th, td { 71 | font-weight: normal; 72 | text-align: left; 73 | } 74 | blockquote:before, blockquote:after, 75 | q:before, q:after { 76 | content: ""; 77 | } 78 | blockquote, q { 79 | quotes: "" ""; 80 | } 81 | a:focus { 82 | outline: thin dotted; 83 | } 84 | a:hover, 85 | a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ 86 | outline: 0; 87 | } 88 | a img { 89 | border: 0; 90 | } 91 | 92 | /* =Global 93 | ----------------------------------------------- */ 94 | 95 | body, 96 | button, 97 | input, 98 | select, 99 | textarea { 100 | color: #101820; 101 | font-size: 16px; 102 | font: 1.6rem/1.5em Georgia, serif; 103 | margin: 0; 104 | } 105 | 106 | /* Headings */ 107 | h1,h2,h3,h4,h5,h6 { 108 | clear: both; 109 | } 110 | hr { 111 | background-color: #ccc; 112 | border: 0; 113 | height: 1px; 114 | margin-bottom: 1.5em; 115 | } 116 | 117 | /* Text elements */ 118 | @font-face { 119 | font-family: 'Genericons'; 120 | src: url('fonts/genericons-regular-webfont.eot'); 121 | src: url('fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), 122 | url('fonts/genericons-regular-webfont.woff') format('woff'), 123 | url('fonts/genericons-regular-webfont.ttf') format('truetype'), 124 | url('fonts/genericons-regular-webfont.svg#genericonsregular') format('svg'); 125 | font-weight: normal; 126 | font-style: normal; 127 | } 128 | p { 129 | margin-bottom: 1.618em; 130 | } 131 | ul, ol { 132 | margin: 0 0 1.5em 3em; 133 | } 134 | ul { 135 | list-style: disc; 136 | } 137 | ol { 138 | list-style: decimal; 139 | } 140 | ul ul, ol ol, ul ol, ol ul { 141 | margin-bottom: 0; 142 | margin-left: 1.5em; 143 | } 144 | dt { 145 | font-weight: bold; 146 | } 147 | dd { 148 | margin: 0 1.5em 1.5em; 149 | } 150 | b, strong { 151 | font-weight: bold; 152 | } 153 | dfn, cite, em, i { 154 | font-style: italic; 155 | } 156 | blockquote { 157 | margin: 0; 158 | } 159 | address { 160 | margin: 0 0 1.5em; 161 | } 162 | pre { 163 | background: #eee; 164 | font-family: "Courier 10 Pitch", Courier, monospace; 165 | font-size: 15px; 166 | font-size: 1.5rem; 167 | line-height: 1.6; 168 | margin-bottom: 1.6em; 169 | padding: 1.6em; 170 | overflow: auto; 171 | max-width: 100%; 172 | } 173 | code, kbd, tt, var { 174 | font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 175 | font-size: 1.5rem; 176 | } 177 | abbr, acronym { 178 | border-bottom: 1px dotted #666; 179 | cursor: help; 180 | } 181 | mark, ins { 182 | background: #fff9c0; 183 | text-decoration: none; 184 | } 185 | sup, 186 | sub { 187 | font-size: 75%; 188 | height: 0; 189 | line-height: 0; 190 | position: relative; 191 | vertical-align: baseline; 192 | } 193 | sup { 194 | bottom: 1ex; 195 | } 196 | sub { 197 | top: .5ex; 198 | } 199 | small { 200 | font-size: 75%; 201 | } 202 | big { 203 | font-size: 125%; 204 | } 205 | figure { 206 | margin: 0; 207 | } 208 | table { 209 | margin: 0 0 1.5em; 210 | width: 100%; 211 | } 212 | th { 213 | font-weight: bold; 214 | } 215 | button, 216 | input, 217 | select, 218 | textarea { 219 | font-size: 100%; /* Corrects font size not being inherited in all browsers */ 220 | margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ 221 | vertical-align: baseline; /* Improves appearance and consistency in all browsers */ 222 | *vertical-align: middle; /* Improves appearance and consistency in all browsers */ 223 | } 224 | button, 225 | input { 226 | line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ 227 | *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */ 228 | } 229 | input[type="text"]#s { 230 | border: 1px solid #CCC; 231 | border-radius: 3px; 232 | padding: 6px; 233 | } 234 | button, 235 | html input[type="button"], 236 | input[type="reset"], 237 | input[type="submit"] { 238 | border: 1px solid #ccc; 239 | border-color: #ccc #ccc #bbb #ccc; 240 | border-radius: 3px; 241 | background: #e6e6e6; 242 | -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); 243 | -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); 244 | box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); 245 | color: rgba(0,0,0,.8); 246 | cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ 247 | -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ 248 | font-size: 12px; 249 | font-size: 1.4rem; 250 | line-height: 1; 251 | padding: 0.5em 1em 0.5em; 252 | text-shadow: 0 1px 0 rgba(255,255,255,.8); 253 | } 254 | button:hover, 255 | html input[type="button"]:hover, 256 | input[type="reset"]:hover, 257 | input[type="submit"]:hover { 258 | border-color: #ccc #bbb #aaa #bbb; 259 | -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); 260 | -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); 261 | box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); 262 | } 263 | button:focus, 264 | html input[type="button"]:focus, 265 | input[type="reset"]:focus, 266 | input[type="submit"]:focus, 267 | button:active, 268 | html input[type="button"]:active, 269 | input[type="reset"]:active, 270 | input[type="submit"]:active { 271 | border-color: #aaa #bbb #bbb #bbb; 272 | -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); 273 | -moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); 274 | box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); 275 | } 276 | input[type="checkbox"], 277 | input[type="radio"] { 278 | box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ 279 | padding: 0; /* Addresses excess padding in IE8/9 */ 280 | } 281 | input[type="search"] { 282 | -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ 283 | -moz-box-sizing: content-box; 284 | -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ 285 | box-sizing: content-box; 286 | } 287 | input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ 288 | -webkit-appearance: none; 289 | } 290 | button::-moz-focus-inner, 291 | input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ 292 | border: 0; 293 | padding: 0; 294 | } 295 | input[type=text], 296 | input[type=email], 297 | textarea { 298 | color: #666; 299 | border: 1px solid #ccc; 300 | border-radius: 3px; 301 | } 302 | input[type=text]:focus, 303 | input[type=email]:focus, 304 | textarea:focus { 305 | color: #111; 306 | } 307 | input[type=text], 308 | input[type=email] { 309 | padding: 3px; 310 | } 311 | textarea { 312 | overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ 313 | padding-left: 3px; 314 | vertical-align: top; /* Improves readability and alignment in all browsers */ 315 | width: 98%; 316 | } 317 | 318 | /* Links */ 319 | a { 320 | color: #1982d1; 321 | } 322 | a:visited { 323 | color: purple; 324 | } 325 | a:hover, 326 | a:focus, 327 | a:active { 328 | color: #ba2000; 329 | } 330 | 331 | /* Alignment */ 332 | .alignleft { 333 | display: inline; 334 | float: left; 335 | margin-right: 1.5em; 336 | } 337 | .alignright { 338 | display: inline; 339 | float: right; 340 | margin-left: 1.5em; 341 | } 342 | .aligncenter { 343 | clear: both; 344 | display: block; 345 | margin: 0 auto; 346 | } 347 | 348 | /* Text meant only for screen readers */ 349 | .assistive-text { 350 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 351 | clip: rect(1px, 1px, 1px, 1px); 352 | position: absolute !important; 353 | } 354 | 355 | /* =Header 356 | ----------------------------------------------- */ 357 | 358 | header#masthead { 359 | padding: 0 0 21px; 360 | } 361 | 362 | /* =Menu 363 | ----------------------------------------------- */ 364 | 365 | .main-navigation { 366 | display: block; 367 | font: 14px/1.5 "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 368 | font-size: 1.4rem; 369 | margin: 0; 370 | vertical-align: top; 371 | } 372 | .main-navigation ul { 373 | list-style: none; 374 | margin: 0; 375 | padding-left: 0; 376 | } 377 | .main-navigation .menu .children { 378 | display: none; /* Remove if you want to add support for child menus */ 379 | } 380 | .main-navigation li { 381 | display: block; 382 | margin: 0.5em 7.6% 0.5em 0; 383 | } 384 | .main-navigation a { 385 | color: #989898; 386 | text-decoration: none; 387 | } 388 | .main-navigation a:hover, 389 | .main-navigation a:focus, 390 | .main-navigation a:active { 391 | color: #ba2000; 392 | } 393 | .main-navigation ul ul { 394 | } 395 | .main-navigation ul ul ul { 396 | left: 100%; 397 | top: 0; 398 | } 399 | .main-navigation ul ul a { 400 | width: 200px; 401 | } 402 | .main-navigation ul ul li { 403 | } 404 | .main-navigation li:hover > a { 405 | } 406 | .main-navigation ul ul :hover > a { 407 | } 408 | .main-navigation ul ul a:hover { 409 | } 410 | .main-navigation ul li:hover > ul { 411 | display: block; 412 | } 413 | .main-navigation li.current_page_item a, 414 | .main-navigation li.current-menu-item a { 415 | font-weight: bold; 416 | } 417 | 418 | /* Small menu */ 419 | .menu-toggle { 420 | cursor: pointer; 421 | } 422 | .main-small-navigation .menu { 423 | display: none; 424 | } 425 | 426 | /* =Content 427 | ----------------------------------------------- */ 428 | 429 | .sticky { 430 | } 431 | .hentry { 432 | border-bottom: double #f1f1f1; 433 | margin: 0 0 21px; 434 | padding: 21px 0 21px; 435 | } 436 | .hentry:first-of-type { 437 | padding-top: 0; 438 | } 439 | .hentry:last-of-type { 440 | border-bottom: none; 441 | } 442 | .page.hentry { 443 | border-bottom: none; 444 | } 445 | .entry-title { 446 | color: #333; 447 | font-weight: bold; 448 | margin: 0 0 1.5rem 0; 449 | } 450 | .page .entry-title { 451 | margin-bottom: 1.5rem; 452 | } 453 | .entry-title a { 454 | text-decoration: none; 455 | } 456 | .entry-meta { 457 | clear: both; 458 | color: #989898; 459 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 460 | font-size: 1.3rem; 461 | margin: 0.5rem 0 0 0; 462 | } 463 | .entry-meta a { 464 | color: #989898; 465 | text-decoration: none; 466 | } 467 | .entry-meta a:hover, 468 | .entry-meta a:focus, 469 | .entry-meta a:active { 470 | border-bottom: 1px solid #e1e1e1; 471 | color: #666; 472 | } 473 | footer.entry-meta .post-meta { 474 | text-align: left; 475 | } 476 | .entry-meta .entry-date:before { 477 | content: '\f303'; 478 | display: inline-block; 479 | -webkit-font-smoothing: antialiased; 480 | font: normal 16px/1 'Genericons'; 481 | font-size: 1.6rem; 482 | vertical-align: text-bottom; 483 | } 484 | .entry-meta .entry-tags:before { 485 | color: #cccccc; 486 | content: '\f302'; 487 | display: inline-block; 488 | -webkit-font-smoothing: antialiased; 489 | font: normal 16px/1 'Genericons'; 490 | font-size: 1.6rem; 491 | vertical-align: text-bottom; 492 | } 493 | .entry-meta .entry-tags { 494 | border-left: 1px solid #e1e1e1; 495 | margin-left: 10px; 496 | padding-left: 10px; 497 | } 498 | .entry-meta .entry-tags a { 499 | color: #cccccc; 500 | } 501 | footer.entry-meta { 502 | text-align: right; 503 | } 504 | .entry-content h1, 505 | .entry-content h2, 506 | .entry-content h3, 507 | .entry-content h4, 508 | .entry-content h5, 509 | .entry-content h6, 510 | .widget-title, 511 | .search-archive-header, 512 | .page-title { 513 | color: #666; 514 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 515 | font-weight: bold; 516 | line-height: 1.1em; 517 | margin: 0.5rem 0; 518 | } 519 | .entry-content blockquote, 520 | #comments blockquote { 521 | border-left: 3px solid #f1f1f1; 522 | color: #333; 523 | padding-left: 1.5em; 524 | } 525 | .page-links { 526 | clear: both; 527 | margin: 0 0 1.5em; 528 | } 529 | .edit-link a { 530 | color: #ba2000; 531 | font-weight: bold; 532 | text-decoration: none; 533 | } 534 | .edit-link a:hover, 535 | .edit-link a:focus, 536 | .edit-link a:active { 537 | color: #666; 538 | border-bottom: 1px solid #666; 539 | } 540 | 541 | /* Footnotes */ 542 | .simple-footnotes, 543 | .footnotes { 544 | color: #666; 545 | font: 13px/150% "Helvetica Neue", Helvetica, Arial, sans-serif; 546 | font-size: 1.3rem; 547 | padding: 10px 0 0 0; 548 | } 549 | .simple-footnotes p, 550 | .footnotes p { 551 | margin-bottom: 0; 552 | } 553 | 554 | /* Archives header */ 555 | .archive-header { 556 | border-bottom: double #f1f1f1; 557 | margin-bottom: 1.5em; 558 | } 559 | .archive-title { 560 | color: #666; 561 | font: bold 16px/150% "Helvetica Neue", Helvetica, Arial, sans-serif; 562 | margin-bottom: 1.5em; 563 | } 564 | .taxonomy-description { 565 | color: #333; 566 | font: 13px/150% "Helvetica Neue", Helvetica, Arial, sans-serif; 567 | font-size: 1.3rem; 568 | } 569 | 570 | /* =Galleries 571 | ----------------------------------------------- */ 572 | 573 | .format-gallery img.attachment-featured-thumbnail, 574 | .format-gallery .entry-content p { 575 | display: inline-block; 576 | vertical-align: top; 577 | } 578 | .format-gallery img.attachment-featured-thumbnail { 579 | margin-right: 3.8%; 580 | width: 30%; 581 | } 582 | .format-gallery .entry-content p { 583 | width: 66%; 584 | } 585 | .single .format-gallery .entry-content p, 586 | .format-gallery .entry-content.featured p { 587 | width: 100%; 588 | } 589 | .type-attachment .site-navigation .nav-sep { 590 | float: none; 591 | } 592 | 593 | /* =Statuses 594 | ----------------------------------------------- */ 595 | 596 | .format-status .avatar-wrap { 597 | float: left; 598 | vertical-align: top; 599 | } 600 | .format-status .avatar-wrap { 601 | margin-right: 3.8%; 602 | } 603 | .format-status div.entry-content { 604 | padding-left: 76px; 605 | } 606 | .format-status div.entry-meta p { 607 | margin-bottom: 0.5rem; 608 | } 609 | 610 | /* =Navigation 611 | ----------------------------------------------- */ 612 | 613 | .site-navigation { 614 | color: #989898; 615 | font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; 616 | font-size: 1.4rem; 617 | margin: 0 0 42px; 618 | overflow: hidden; 619 | } 620 | .site-navigation a { 621 | text-decoration: none; 622 | } 623 | .site-navigation .nav-previous, 624 | .site-navigation .nav-next { 625 | float: left; 626 | width: 47%; 627 | } 628 | .site-navigation .nav-previous { 629 | text-align: right; 630 | } 631 | .site-navigation .nav-sep { 632 | float: left; 633 | margin: 0 1%; 634 | width: 3%; 635 | } 636 | 637 | /* =Media 638 | ----------------------------------------------- */ 639 | 640 | .site-header img, 641 | .entry-content img, 642 | .comment-content img, 643 | .widget img { 644 | max-width: 100%; /* Fluid images for posts, comments, and widgets */ 645 | } 646 | .site-header img, 647 | .entry-content img, 648 | img[class*="align"], 649 | img[class*="wp-image-"] { 650 | height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 651 | } 652 | .site-header img, 653 | .entry-content img, 654 | img.size-full { 655 | max-width: 100%; 656 | width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ 657 | } 658 | .entry-content img.wp-smiley, 659 | .comment-content img.wp-smiley { 660 | border: none; 661 | margin-bottom: 0; 662 | margin-top: 0; 663 | padding: 0; 664 | } 665 | .wp-caption { 666 | max-width: 100%; 667 | } 668 | .wp-caption.aligncenter, 669 | .wp-caption.alignleft, 670 | .wp-caption.alignright { 671 | margin-bottom: 1.5em; 672 | } 673 | .wp-caption img { 674 | display: block; 675 | margin: 1.2% auto 0; 676 | max-width: 100%; 677 | } 678 | .wp-caption-text, 679 | .attachment .entry-caption { 680 | color: #333; 681 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 682 | font-size: 1.3rem; 683 | } 684 | .wp-caption .wp-caption-text { 685 | margin: 0.8075em 1% 0 0; 686 | } 687 | .site-content .gallery { 688 | margin-bottom: 1.5em; 689 | } 690 | .gallery-caption { 691 | } 692 | #primary .site-content .gallery a img { 693 | border: none; 694 | height: auto; 695 | max-width: 100%; 696 | } 697 | .site-content .gallery dd { 698 | margin: 0; 699 | } 700 | .site-content .gallery-columns-4 .gallery-item { 701 | } 702 | .site-content .gallery-columns-4 .gallery-item img { 703 | } 704 | img.attachment-featured-big { 705 | margin-bottom: 1rem; 706 | max-width: 100%; 707 | height: auto; 708 | } 709 | 710 | /* Align the WP.com stats smiley :) */ 711 | #wpstats { 712 | display: block; 713 | margin: 0 auto 10px auto; 714 | } 715 | 716 | /* Make sure embeds and iframes fit their containers */ 717 | embed, 718 | iframe, 719 | object { 720 | max-width: 100%; 721 | } 722 | 723 | /* =404 Page 724 | ----------------------------------------------- */ 725 | 726 | .error404 .entry-content p { 727 | color: #666; 728 | margin-top: 1.5em; 729 | } 730 | .error404 #searchform { 731 | display: block; 732 | margin: 0 0 1.5em 0; 733 | } 734 | .error404 .widget { 735 | margin-bottom: 1.5em; 736 | } 737 | .error404 .widget ul { 738 | margin: 0; 739 | } 740 | .error404 .widget li { 741 | color: #989898; 742 | list-style-type: none; 743 | } 744 | 745 | /* =Search Template 746 | ----------------------------------------------- */ 747 | 748 | .search-wrap { 749 | margin: 0 0 1.5em; 750 | } 751 | .search-sidebar aside.widget { 752 | display: inline-block; 753 | margin:0 1% 1.5em 0; 754 | vertical-align: top; 755 | width: 48.5%; 756 | } 757 | aside.widget ul { 758 | list-style-type: none; 759 | margin: 0; 760 | } 761 | ul.archive-list { 762 | margin: 0 0 1.5em; 763 | -moz-column-count: 2; 764 | -moz-column-gap: 40px; 765 | -webkit-column-count: 2; 766 | } 767 | 768 | /* =Comments 769 | ----------------------------------------------- */ 770 | 771 | .comments-title, 772 | #reply-title { 773 | border-top: double #f1f1f1; 774 | color: #666; 775 | font: normal bold 14px/1.25em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 776 | font-size: 1.4rem; 777 | padding: 21px 0; 778 | } 779 | .commentlist { 780 | list-style-type: none; 781 | margin: 21px 0 0; 782 | padding: 0; 783 | } 784 | .commentlist .children { 785 | list-style-type: none; 786 | margin: 42px 0 0; 787 | } 788 | .commentlist li { 789 | border-bottom: 1px solid #f1f1f1; 790 | margin: 42px 0 0 0; 791 | padding-bottom: 42px; 792 | } 793 | .commentlist li:last-of-type { 794 | border-bottom: none; 795 | } 796 | .commentlist .children li { 797 | border-bottom: 0; 798 | margin-left: 8.6125%; 799 | } 800 | .commentlist .children li:last-of-type { 801 | padding: 0; 802 | } 803 | .commentlist .children .ninecol { 804 | max-width: 100%; 805 | } 806 | .comment-author img.avatar { 807 | display: block; 808 | margin: 0 auto 0.5em auto; 809 | } 810 | .comment-author cite { 811 | display: block; 812 | font: normal bold 13px/1.25em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 813 | font-size: 1.3rem; 814 | text-align: center; 815 | width: 100%; 816 | } 817 | .comment-author cite a { 818 | text-decoration: none; 819 | } 820 | .comment-meta { 821 | font: 13px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 822 | font-size: 1.3rem; 823 | margin-bottom: 0.5rem; 824 | } 825 | .comment-meta a { 826 | border-bottom: 1px solid #e1e1e1; 827 | color: #989898; 828 | text-decoration: none; 829 | } 830 | .comment-meta a:hover, 831 | .comment-meta a:focus, 832 | .comment-meta a:active { 833 | border-bottom-color: #989898; 834 | color: #666; 835 | } 836 | .comment-content { 837 | font: 14px/1.65em Georgia, serif; 838 | font-size: 1.4rem; 839 | width: 100%; 840 | -ms-word-break: break-all; 841 | word-break: break-all; 842 | word-break: break-word; 843 | -webkit-hyphens: auto; 844 | -moz-hyphens: auto; 845 | hyphens: auto; 846 | } 847 | .comment .reply { 848 | font: 14px/1.5em Georgia, serif; 849 | font-size: 1.4rem; 850 | padding-left: 25.85%; 851 | 852 | } 853 | .comment .reply a { 854 | text-decoration: none; 855 | } 856 | 857 | /* Comment Form */ 858 | .comment-notes, 859 | .logged-in-as { 860 | color: #666; 861 | font-size: 14px; 862 | font-size: 1.4rem; 863 | } 864 | #commentform label { 865 | color: #989898; 866 | display: block; 867 | font: 12px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 868 | font-size: 1.2rem; 869 | margin-bottom: 0.5em; 870 | } 871 | #commentform .required { 872 | color: #ba2000; 873 | } 874 | #commentform input#author, 875 | #commentform input#email { 876 | border: none; 877 | border-bottom: 1px dashed #ccc; 878 | width: 95%; 879 | } 880 | #commentform textarea#comment { 881 | border-style: dashed; 882 | width: 97%; 883 | } 884 | .comment-form-author, 885 | .comment-form-email { 886 | display: inline-block; 887 | margin: 0 0.25% 1em 0.25%; 888 | width: 49%; 889 | } 890 | #commentform input, 891 | #commentform textarea { 892 | font: 14px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 893 | font-size: 1.4rem; 894 | } 895 | .form-allowed-tags { 896 | color: #666; 897 | font-size: 13px; 898 | font-size: 1.3rem; 899 | line-height: 1.65em; 900 | float: left; 901 | width: 70%; 902 | } 903 | .form-allowed-tags code { 904 | font-size: 12px; 905 | font-size: 1.2rem; 906 | } 907 | #commentform input#submit { 908 | float: right; 909 | margin: 0 2% 1em 0; 910 | } 911 | 912 | /* Pingbacks */ 913 | .commentlist li.pingback { 914 | border-bottom: none; 915 | color: #999; 916 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 917 | font-size: 1.3rem; 918 | margin: 0 0 21px; 919 | padding: 0; 920 | } 921 | .commentlist .pingback p { 922 | margin-bottom: 0; 923 | } 924 | 925 | /* =Footer 926 | ----------------------------------------------- */ 927 | 928 | #colophon { 929 | border-top: 1px solid #f1f1f1; 930 | clear: both; 931 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 932 | font-size: 1.3rem; 933 | margin-bottom: 21px; 934 | padding: 21px 0; 935 | } 936 | #colophon a { 937 | color: #989898; 938 | text-decoration: none; 939 | } 940 | #colophon a:hover, 941 | #colophon a:focus, 942 | #colophon a:active { 943 | color: #ba2000; 944 | } 945 | 946 | /* =Mobile layout 947 | ------------------------------------------------ */ 948 | @media screen and (max-width: 600px) { 949 | /* Layout */ 950 | #page { 951 | padding: 0 10px; 952 | } 953 | /* Header */ 954 | header#masthead { 955 | background: #FFF; 956 | border-bottom: double #f1f1f1; 957 | margin: 0 0 20px 0; 958 | padding: 0; 959 | width: 100%; 960 | } 961 | header#masthead hgroup { 962 | display: inline-block; 963 | width: 78%; 964 | } 965 | header#masthead hgroup a.home-link { 966 | text-decoration: none; 967 | } 968 | header#masthead hgroup img { 969 | display: inline-block; 970 | margin: 10px 5% 15px 0; 971 | max-width: 15%; 972 | height: auto; 973 | vertical-align: top; 974 | -webkit-border-radius: 5px; /* Saf3+, Chrome */ 975 | border-radius: 5px; /* Opera 10.5, IE 9 */ 976 | } 977 | header#masthead hgroup h1 { 978 | clear: none; 979 | display: inline-block; 980 | margin-top: 15px; 981 | width: 70%; 982 | } 983 | header#masthead hgroup h1 a { 984 | color: #333; 985 | display: block; 986 | font: 22px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 987 | font-size: 2.2rem; 988 | text-decoration: none; 989 | } 990 | header#masthead hgroup h1 a:hover, 991 | header#masthead hgroup h1 a:focus, 992 | header#masthead hgroup h1 a:active { 993 | color: #ba2000; 994 | } 995 | header#masthead hgroup #site-description { 996 | display: none; 997 | } 998 | nav.main-small-navigation { 999 | display: inline-block; 1000 | height: inherit; 1001 | margin: 0; 1002 | text-align: right; 1003 | vertical-align: top; 1004 | width: 20.75%; 1005 | } 1006 | nav.main-small-navigation .children { 1007 | display: none; 1008 | } 1009 | nav.main-small-navigation .menu-toggle { 1010 | font: 14px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1011 | font-size: 1.4rem; 1012 | margin: 20px 20px 0; 1013 | } 1014 | nav.main-small-navigation ul { 1015 | background-color: #fff; 1016 | margin: -5px 0 0 -30%; 1017 | padding: 10px 20px 10px 10px; 1018 | width: 100%; 1019 | } 1020 | nav.main-small-navigation li:last-of-type { 1021 | margin-bottom: 0; 1022 | } 1023 | nav.main-small-navigation li { 1024 | display: block; 1025 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1026 | font-size: 1.3rem; 1027 | margin: 1em 0; 1028 | } 1029 | nav.main-small-navigation li a:hover, 1030 | nav.main-small-navigation li a:focus, 1031 | nav.main-small-navigation li a:active { 1032 | color: #ba2000; 1033 | } 1034 | /* Content */ 1035 | .entry-title { 1036 | font: bold 18px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1037 | font-size: 1.8rem; 1038 | } 1039 | .entry-content, 1040 | .entry-summary { 1041 | font-size: 15px; 1042 | font-size: 1.5rem; 1043 | line-height: 1.65em; 1044 | } 1045 | /* Status format */ 1046 | .format-status .entry-meta { 1047 | margin-top: 0; 1048 | } 1049 | .format-status div.entry-meta { 1050 | width: 75%; 1051 | } 1052 | /* Search page */ 1053 | aside.widget { 1054 | display: block; 1055 | width: 100%; 1056 | } 1057 | /* Comments */ 1058 | .commentlist .children { 1059 | margin-top: 1.5em; 1060 | } 1061 | .commentlist .children li { 1062 | margin-bottom: 0; 1063 | } 1064 | .commentlist .children li:last-of-type { 1065 | padding-bottom: 0; 1066 | } 1067 | .commentlist li.pingback { 1068 | font-size: 13px; 1069 | font-size: 1.3rem; 1070 | margin: 0 0 1em; 1071 | } 1072 | .comment-author { 1073 | float: left; 1074 | margin-right: 3.8%; 1075 | padding: 0; 1076 | width: 22.05%; 1077 | } 1078 | .comment-meta, 1079 | .comment-content { 1080 | float: left; 1081 | padding: 0; 1082 | width: 74.05%; 1083 | } 1084 | .comment-content { 1085 | font-size: 13px; 1086 | } 1087 | .comment .reply { 1088 | margin-left: 25.85%; 1089 | padding: 0; 1090 | } 1091 | /* Comment Form */ 1092 | .comment-form-author, 1093 | .comment-form-email, 1094 | .form-allowed-tags { 1095 | width: 100%; 1096 | } 1097 | /* Navigation */ 1098 | .site-navigation .nav-previous, 1099 | .site-navigation .nav-next { 1100 | float: left; 1101 | width: 43%; 1102 | } 1103 | .site-navigation .nav-sep { 1104 | margin: 0 2%; 1105 | width: 6%; 1106 | } 1107 | /* Footer */ 1108 | #colophon { 1109 | clear: both; 1110 | } 1111 | } 1112 | 1113 | /* =Large window layout 1114 | ------------------------------------------------ */ 1115 | @media screen and (min-width: 601px) { 1116 | /* Layout */ 1117 | #page { 1118 | padding: 0; 1119 | min-width: 834px; 1120 | } 1121 | #wrapper { 1122 | width: 100%; 1123 | margin: 0 auto; 1124 | } 1125 | header#masthead, 1126 | #primary, 1127 | .comment-author, 1128 | .comment-content { 1129 | float: left; 1130 | margin-top: 1.3em; 1131 | margin-right: 3.8%; 1132 | min-height: 1px; 1133 | } 1134 | #primary { 1135 | display: block; 1136 | margin: 21px 0 0 30%; 1137 | width: 65%; 1138 | min-width: 542px; 1139 | } 1140 | #colophon .site-info { 1141 | clear: both; 1142 | float: left; 1143 | width: 100%; 1144 | } 1145 | /* Header */ 1146 | header#masthead { 1147 | background-color: #f1f1f1; 1148 | border-right: 5px solid #e1e1e1; 1149 | height: 100%; 1150 | margin-top: 0; 1151 | padding: 0; 1152 | position: fixed; 1153 | width: 25%; 1154 | min-width: 208px; 1155 | } 1156 | header#masthead hgroup { 1157 | position: absolute; 1158 | top: 40%; 1159 | width: 100%; 1160 | } 1161 | header#masthead hgroup a.home-link { 1162 | text-decoration: none; 1163 | } 1164 | header#masthead hgroup img { 1165 | display: block; 1166 | margin: 0 auto; 1167 | max-width: 50px; 1168 | height: auto; 1169 | vertical-align: top; 1170 | -webkit-border-radius: 5px; /* Saf3+, Chrome */ 1171 | border-radius: 5px; /* Opera 10.5, IE 9 */ 1172 | } 1173 | header#masthead hgroup h1 { 1174 | clear: none; 1175 | display: block; 1176 | margin-top: 10px; 1177 | text-align: center; 1178 | } 1179 | header#masthead hgroup h1 a { 1180 | color: #333; 1181 | display: block; 1182 | font: bold 18px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1183 | font-size: 1.8rem; 1184 | text-decoration: none; 1185 | } 1186 | header#masthead hgroup h1 a:hover, 1187 | header#masthead hgroup h1 a:focus, 1188 | header#masthead hgroup h1 a:active { 1189 | color: #ba2000; 1190 | } 1191 | header#masthead hgroup #site-description { 1192 | color: #666; 1193 | font: 13px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1194 | font-size: 1.3rem; 1195 | margin: 10px auto 0 auto; 1196 | text-align: center; 1197 | width: 75%; 1198 | } 1199 | header nav.main-navigation { 1200 | background-color: #e1e1e1; 1201 | padding: 5px 21px; 1202 | position: relative; 1203 | text-align: center; 1204 | } 1205 | .main-navigation li { 1206 | display: inline-block; 1207 | margin: 5px 0; 1208 | } 1209 | .main-navigation li a { 1210 | color: #333; 1211 | line-height: 1.5em; 1212 | margin: 0 10px; 1213 | padding: 0; 1214 | } 1215 | .main-navigation li a:hover, 1216 | .main-navigation li a:focus, 1217 | .main-navigation li a:active, 1218 | .main-navigation li.current_page_item a, 1219 | .main-navigation li.current-menu-item a { 1220 | } 1221 | /* Content */ 1222 | .entry-title { 1223 | font: bold 20px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1224 | font-size: 2.0rem; 1225 | } 1226 | #primary #nav-below { 1227 | width: 550px; 1228 | } 1229 | /* Image and Gallery posts */ 1230 | article.format-image, 1231 | article.format-gallery, 1232 | article.type-attachment, 1233 | .single-format-gallery #comments, 1234 | .single-format-image #comments, 1235 | .single-attachment #comments { 1236 | max-width: 1200px; 1237 | min-width: 550px; 1238 | width: 100%; 1239 | } 1240 | .archive.term-post-format-image article.format-image { 1241 | border: none; 1242 | display: inline-block; 1243 | margin: 0 2.5% 42px 2.5%; 1244 | max-width: 540px; 1245 | min-width: 250px; 1246 | padding: 0; 1247 | width: 44%; 1248 | vertical-align: top; 1249 | } 1250 | /* Text posts */ 1251 | article.page, 1252 | article.format-standard, 1253 | article.format-link, 1254 | article.format-aside, 1255 | article.format-status, 1256 | article.format-quote, 1257 | .single-format-standard #comments, 1258 | .single-format-link #comments, 1259 | .single-format-aside #comments, 1260 | .single-format-status #comments, 1261 | .single-format-quote #comments { 1262 | width: 550px; 1263 | } 1264 | /* Comments */ 1265 | article.comment { 1266 | width: 100%; 1267 | } 1268 | .comment-author { 1269 | width: 22.05%; 1270 | } 1271 | .comment-meta, 1272 | .comment-content { 1273 | margin-right: 0px; 1274 | width: 74.05%; 1275 | } 1276 | /* Footer */ 1277 | #colophon { 1278 | margin-left: 30%; 1279 | width: 550px; 1280 | } 1281 | } 1282 | 1283 | /* =Tablet (portrait) 1284 | ------------------------------------------------ */ 1285 | @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { 1286 | /* Layout */ 1287 | #wrapper, 1288 | #colophon { 1289 | width: 549px; 1290 | margin: 0 auto; 1291 | padding: 0; 1292 | } 1293 | header#masthead, 1294 | #primary { 1295 | float: none; 1296 | margin: 0; 1297 | position: relative; 1298 | width: 100%; 1299 | } 1300 | /* Header */ 1301 | header#masthead { 1302 | background: none; 1303 | border: none; 1304 | height: inherit; 1305 | padding-bottom: 21px; 1306 | } 1307 | header#masthead hgroup { 1308 | position: relative; 1309 | width: auto; 1310 | } 1311 | header#masthead hgroup a.home-link { 1312 | text-decoration: none; 1313 | } 1314 | header#masthead hgroup img { 1315 | display: inline-block; 1316 | margin: 10px 3% 15px 0; 1317 | max-width: 50px; 1318 | height: auto; 1319 | vertical-align: top; 1320 | } 1321 | header#masthead hgroup h1 { 1322 | clear: none; 1323 | display: inline-block; 1324 | margin-top: 2px; 1325 | width: inherit; 1326 | } 1327 | header#masthead hgroup h1 a { 1328 | color: #333; 1329 | display: block; 1330 | font: 22px/1.1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; 1331 | font-size: 2.2rem; 1332 | text-decoration: none; 1333 | } 1334 | header#masthead hgroup #site-description { 1335 | display: none; 1336 | } 1337 | header#masthead nav.main-navigation { 1338 | background: none; 1339 | border-top: double #f1f1f1; 1340 | border-bottom: double #f1f1f1; 1341 | margin-bottom: 0; 1342 | padding: 10px 21px; 1343 | text-align: left; 1344 | } 1345 | header#masthead .main-navigation li { 1346 | display: inline-block; 1347 | margin: 0 7.6% 0 0; 1348 | } 1349 | header#masthead .main-navigation li a { 1350 | padding: 0; 1351 | } 1352 | header#masthead .main-navigation li a:hover, 1353 | header#masthead .main-navigation li a:focus, 1354 | header#masthead .main-navigation li a:active, 1355 | header#masthead .main-navigation li.current_page_item a, 1356 | header#masthead .main-navigation li.current-menu-item a { 1357 | background: none; 1358 | } 1359 | /* Content */ 1360 | #primary { 1361 | margin-top: 0; 1362 | } 1363 | .entry-content, 1364 | .entry-summary { 1365 | font-size: 16px; 1366 | font-size: 1.6rem; 1367 | line-height: 1.65em; 1368 | } 1369 | /* Comments */ 1370 | .comment-author.threecol { 1371 | float: left; 1372 | margin-right: 3.8%; 1373 | padding: 0; 1374 | width: 22.05%; 1375 | } 1376 | .comment-meta.ninecol, 1377 | .comment-content.ninecol { 1378 | float: left; 1379 | padding: 0; 1380 | width: 74.05%; 1381 | } 1382 | /* Footer */ 1383 | #colophon { 1384 | margin-left: 0; 1385 | padding: 21px 0; 1386 | } 1387 | } 1388 | 1389 | /* =Typographical adjustments 1390 | ------------------------------------------------ */ 1391 | 1392 | @media only screen and (max-width: 440px) { 1393 | /* Content */ 1394 | .entry-content, 1395 | .entry-summary { 1396 | font-size: 14px; 1397 | font-size: 1.4rem; 1398 | line-height: 1.65em; 1399 | } 1400 | } -------------------------------------------------------------------------------- /styles/grid.css: -------------------------------------------------------------------------------- 1 | /* ==================================================================================================================== */ 2 | /* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com */ 3 | /* ==================================================================================================================== */ 4 | 5 | .container { 6 | padding-left: 20px; 7 | padding-right: 20px; 8 | } 9 | 10 | .row { 11 | width: 100%; 12 | max-width: 840px; 13 | min-width: 580px; 14 | margin: 0 auto; 15 | overflow: hidden; 16 | } 17 | 18 | .commentlist .row { 19 | width: 100%; 20 | min-width: inherit; 21 | } 22 | 23 | .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol { 24 | margin-right: 3.8%; 25 | float: left; 26 | min-height: 1px; 27 | } 28 | 29 | .row .onecol { 30 | width: 4.85%; 31 | } 32 | 33 | .row .twocol { 34 | width: 13.45%; 35 | } 36 | 37 | .row .threecol { 38 | width: 22.05%; 39 | } 40 | 41 | .row .fourcol { 42 | width: 30.75%; 43 | } 44 | 45 | .row .fivecol { 46 | width: 39.45%; 47 | } 48 | 49 | .row .sixcol { 50 | width: 48%; 51 | } 52 | 53 | .row .sevencol { 54 | width: 56.75%; 55 | } 56 | 57 | .row .eightcol { 58 | width: 65.4%; 59 | } 60 | 61 | .row .ninecol { 62 | width: 74.05%; 63 | } 64 | 65 | .row .tencol { 66 | width: 82.7%; 67 | } 68 | 69 | .row .elevencol { 70 | width: 91.35%; 71 | } 72 | 73 | .row .twelvecol { 74 | width: 100%; 75 | float: left; 76 | } 77 | 78 | .last { 79 | margin-right: 0px; 80 | } 81 | 82 | img, object, embed { 83 | max-width: 100%; 84 | } 85 | 86 | img { 87 | height: auto; 88 | } 89 | 90 | 91 | /* Mobile */ 92 | 93 | @media handheld, only screen and (max-width: 600px) { 94 | 95 | .row, body, .container { 96 | width: 100%; 97 | min-width: 0; 98 | margin-left: 0px; 99 | margin-right: 0px; 100 | padding-left: 0px; 101 | padding-right: 0px; 102 | } 103 | 104 | .row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol { 105 | width: auto; 106 | float: none; 107 | margin-left: 0px; 108 | margin-right: 0px; 109 | padding-left: 20px; 110 | padding-right: 20px; 111 | } 112 | 113 | } -------------------------------------------------------------------------------- /taxonomy-post_format.php: -------------------------------------------------------------------------------- 1 | 19 | 20 |
    21 |
    22 | 23 | 24 | 25 |
    26 |

    ' . get_post_format_string( get_post_format() ) . '' ); ?>

    27 |
    28 | 29 | 30 | 31 | 32 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 |
    52 | 53 | --------------------------------------------------------------------------------