WordPress.org

Make WordPress Themes


Ignore:
Location:
modernize/1.7.5
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • modernize/1.7.5/archive.php

    r76705 r76705  
    2323      </header><!-- .page-header --> 
    2424 
     25      <div class="article-wrap"> 
     26 
    2527      <?php 
    2628      /* Start the Loop */ 
     
    3537 
    3638      endwhile; 
     39      ?> 
    3740 
     41      </div> 
     42 
     43      <?php 
    3844      the_posts_navigation(); 
    3945 
  • modernize/1.7.5/functions.php

    r76705 r76705  
    6969    'quote', 
    7070    'link', 
     71  ) ); 
     72 
     73  // Add theme support for Custom Logo. 
     74  add_theme_support( 'custom-logo', array( 
     75    'width'       => 250, 
     76    'height'      => 250, 
     77    'flex-width'  => true, 
    7178  ) ); 
    7279 
  • modernize/1.7.5/header.php

    r76705 r76705  
    2626 
    2727    <header id="header" class="header" role="banner"> 
     28    <?php the_custom_logo(); ?> 
    2829    <?php 
    2930        if ( is_front_page() && is_home() ) : ?> 
  • modernize/1.7.5/index.php

    r76705 r76705  
    2323      <?php 
    2424      endif; 
     25      ?> 
    2526 
     27      <div class="article-wrap"> 
     28 
     29      <?php 
    2630      /* Start the Loop */ 
    2731      while ( have_posts() ) : the_post(); 
     
    3539 
    3640      endwhile; 
     41      ?> 
    3742 
     43      </div> 
     44 
     45      <?php 
    3846      the_posts_navigation(); 
    3947 
  • modernize/1.7.5/readme.txt

    r76705 r76705  
    88 
    99== Description == 
    10 modernize is a modern, simple and beautiful WordPress theme. It is supposed to be used on a blog. Customizers and social menu icons, as well as several templates are available. 
     10modernize is a modern, simple and beautiful WordPress theme. I made it for blogging. Customizer, social menu icon, several templates, logo addition, switching function between one column and two columns, etc. are also available. 
    1111 
    1212== Copyright == 
  • modernize/1.7.5/search.php

    r76705 r76705  
    2020      </header><!-- .page-header --> 
    2121 
     22      <div class="article-wrap"> 
     23 
    2224      <?php 
    2325      /* Start the Loop */ 
     
    3234 
    3335      endwhile; 
     36 
     37      ?> 
     38 
     39      </div> 
     40 
     41      <?php 
    3442 
    3543      the_posts_navigation(); 
  • modernize/1.7.5/style.css

    r76705 r76705  
    11/*! 
    22Theme Name: modernize 
    3 Theme URI: http://blog.mismithportfolio.com/ 
     3Theme URI: http://blog.mismithportfolio.com/modernize 
    44Author: Takuma Misumi 
    55Author URI: https://profiles.wordpress.org/mismith227 
    6 Description: modernize is a modern, simple and beautiful WordPress theme. It is supposed to be used on a blog. Customizers and social menu icons, as well as several templates are available. 
    7 Version: 1.7.4 
     6Description: modernize is a modern, simple and beautiful WordPress theme. I made it for blogging. Customizer, social menu icon, several templates, logo addition, switching function between one column and two columns, etc. are also available. 
     7Version: 1.7.5 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    804804          align-items: center; 
    805805  width: 100%; 
    806   height: 50px; 
     806  height: 60px; 
    807807  border-bottom: 1px solid #eee; 
    808808  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.4); 
     
    828828    width: 96%; 
    829829    max-width: 700px; 
     830  } 
     831 
     832  .site-content.col-2 { 
     833    width: 96%; 
     834    max-width: 1000px; 
    830835  } 
    831836  } 
     
    877882  width: 96%; 
    878883  max-width: 700px; 
     884} 
     885 
     886.blog, .archive, .search { 
     887} 
     888 
     889.blog .col-2, .archive .col-2, .search .col-2 { 
     890} 
     891 
     892.blog .col-2 .article-wrap, .archive .col-2 .article-wrap, .search .col-2 .article-wrap { 
     893  display: -webkit-box; 
     894  display: -ms-flexbox; 
     895  display: flex; 
     896  -ms-flex-wrap: wrap; 
     897      flex-wrap: wrap; 
     898  -webkit-box-pack: justify; 
     899      -ms-flex-pack: justify; 
     900          justify-content: space-between; 
     901} 
     902 
     903.blog .col-2 .entry, .archive .col-2 .entry, .search .col-2 .entry { 
     904  width: 48%; 
    879905} 
    880906 
     
    10871113} 
    10881114 
     1115.custom-logo-link { 
     1116  display: inline-block; 
     1117  width: 40px; 
     1118  margin: 0 0 0 8px; 
     1119  padding: 0 
     1120} 
     1121 
     1122@media (min-width:640px) { 
     1123 
     1124  .custom-logo-link { 
     1125    width: 50px; 
     1126    margin: 0 0 0 24px; 
     1127  } 
     1128  } 
     1129 
     1130.custom-logo-link .custom-logo { 
     1131  width: 100%; 
     1132  vertical-align: middle; 
     1133} 
     1134 
     1135.custom-logo-link + .header__title { 
     1136  margin-left: 12px; 
     1137} 
     1138 
    10891139.main-visual { 
    10901140  position: relative; 
     
    12011251.gnav a { 
    12021252  display: block; 
    1203   padding: 10px 10px; 
     1253  padding: 14px 10px; 
    12041254  color: #333; 
    12051255} 
     
    12111261.primary-menu { 
    12121262  width: 100%; 
    1213   padding: 50px 0 10px 
     1263  padding: 60px 0 10px 
    12141264} 
    12151265 
     
    13361386  font-size: 2.2rem; 
    13371387  word-break: break-all; 
     1388  line-height: 1.4; 
     1389} 
     1390 
     1391@media (min-width:768px) { 
     1392 
     1393  .entry__title { 
     1394    line-height: 1.57; 
     1395  } 
    13381396} 
    13391397 
     
    13621420  background: #333; 
    13631421  color: #fff; 
     1422} 
     1423 
     1424.col-2 { 
     1425} 
     1426 
     1427.col-2 .entry:nth-child(2) { 
     1428  margin-top: 0; 
    13641429} 
    13651430 
Note: See TracChangeset for help on using the changeset viewer.